Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
e8ca558
version updates for 3.13
mehmet-yoti Apr 4, 2025
a9ee001
updatet wrapt
mehmet-yoti Apr 4, 2025
306ad9a
updatet wrapt
mehmet-yoti Apr 4, 2025
5930074
updated mocks
mehmet-yoti Apr 4, 2025
d01570a
updated github actions
mehmet-yoti Apr 4, 2025
7bb0acc
updated github actions
mehmet-yoti Apr 4, 2025
fe38304
updated github actions
mehmet-yoti Apr 4, 2025
b80f9a2
updated github actions
mehmet-yoti Apr 4, 2025
e88dcd4
updated github actions
mehmet-yoti Apr 4, 2025
c7d1d58
updated github actions
mehmet-yoti Apr 4, 2025
68aa7b4
updated github actions
mehmet-yoti Apr 4, 2025
a56b7df
updated github actions
mehmet-yoti Apr 4, 2025
6b6e151
updated github actions
mehmet-yoti Apr 4, 2025
c51251b
github actions test
mehmet-yoti Apr 4, 2025
48d4850
github actions test
mehmet-yoti Apr 4, 2025
cf9ec46
github actions test
mehmet-yoti Apr 4, 2025
9be0206
github actions test
mehmet-yoti Apr 4, 2025
55e4b8c
github actions test
mehmet-yoti Apr 4, 2025
593c296
github actions test
mehmet-yoti Apr 4, 2025
0e7d8e1
github actions test
mehmet-yoti Apr 4, 2025
632fe9a
github actions test
mehmet-yoti Apr 4, 2025
57d2ea2
github tests
mehmet-yoti Apr 4, 2025
c657359
gthub actions test
mehmet-yoti Apr 4, 2025
c7a9d68
gthub actions test
mehmet-yoti Apr 4, 2025
201eaaa
gthub actions test
mehmet-yoti Apr 4, 2025
f4e8b75
gthub actions test
mehmet-yoti Apr 4, 2025
4419338
gthub actions test
mehmet-yoti Apr 4, 2025
c63cda6
gthub actions test
mehmet-yoti Apr 4, 2025
56a2bd9
gthub actions test
mehmet-yoti Apr 4, 2025
cf0f6eb
gthub actions test
mehmet-yoti Apr 4, 2025
e3a8213
gthub actions test
mehmet-yoti Apr 4, 2025
b0daad3
gthub actions test
mehmet-yoti Apr 4, 2025
d47fb5c
gthub actions test
mehmet-yoti Apr 4, 2025
d9da5fe
github tests
mehmet-yoti Apr 4, 2025
4ae2dd4
github tests
mehmet-yoti Apr 4, 2025
2eb5b48
github tests
mehmet-yoti Apr 4, 2025
86a700a
github tests
mehmet-yoti Apr 4, 2025
6a8bcf7
github tests
mehmet-yoti Apr 4, 2025
67404a4
github tests
mehmet-yoti Apr 4, 2025
6a9cdeb
github tests
mehmet-yoti Apr 4, 2025
fe7e03e
github tests
mehmet-yoti Apr 4, 2025
0eecee9
3.13 setup.py updates
mehmet-yoti Apr 17, 2025
a0a2b3e
3.13 setup.py updates
mehmet-yoti Apr 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
# only run on pull_request_target event when pull request pulls from fork repository
if: >
github.event_name == 'push' ||
github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository
github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.9,"3.10","3.11","3.12","3.13"]

steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2.3.1
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -27,7 +27,8 @@ jobs:
- run: pip install -r requirements.txt

- run: pip install -e .[dev]

- run: python --version
- run: pip --version
- run: pytest -v

examples:
Expand Down
30 changes: 15 additions & 15 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
asn1==2.2.0 # asn1 2.3.0 introduces enum34 as a dependency, which causes problems on some envs
cryptography==2.8.0
cffi==1.15.0
future==0.18.2
itsdangerous==2.0.1
pbr==1.10.0
protobuf==3.19.4
pyopenssl==19.1.0
PyYAML==5.2 # PyYAML 5.3 does not support Python 3.4
pytz==2021.3
requests>=2.20.0
urllib3>=1.24.3
deprecated==1.2.13
wheel==0.37.1
iso8601==1.0.2
asn1==2.2.0
cryptography==44.0.2
cffi==1.17.1
future==0.18.3
itsdangerous>=2.2.0 # Updated to match Flask's requirement
pbr==6.0.0
protobuf==4.25.3
pyopenssl==25.0.0
PyYAML==6.0.1
pytz==2024.1
requests>=2.31.0
urllib3>=2.2.1
deprecated==1.2.10 # Updated to match Yoti's requirement
wheel==0.43.0
iso8601==0.1.14 # Updated to match Yoti's requirement
six>=1.16.0
43 changes: 20 additions & 23 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,57 +1,54 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
# pip-compile --output-file=requirements.txt requirements.in
# pip-compile --output-file=requirements.txt
#
asn1==2.2.0
# via -r requirements.in
certifi==2018.11.29
# via requests
cffi==1.15.0
cffi==1.17.1
# via
# -r requirements.in
# cryptography
chardet==3.0.4
charset-normalizer==3.4.1
# via requests
cryptography==2.8
cryptography==44.0.2
# via
# -r requirements.in
# pyopenssl
deprecated==1.2.13
deprecated==1.2.10
# via -r requirements.in
future==0.18.2
future==0.18.3
# via -r requirements.in
idna==2.7
# via requests
iso8601==1.0.2
iso8601==0.1.14
# via -r requirements.in
itsdangerous==2.0.1
itsdangerous==2.2.0
# via -r requirements.in
pbr==1.10.0
pbr==6.0.0
# via -r requirements.in
protobuf==3.19.4
protobuf==4.25.3
# via -r requirements.in
pycparser==2.18
# via cffi
pyopenssl==19.1.0
pyopenssl==25.0.0
# via -r requirements.in
pytz==2021.3
pytz==2024.1
# via -r requirements.in
pyyaml==5.2
pyyaml==6.0.1
# via -r requirements.in
requests==2.21.0
requests==2.32.3
# via -r requirements.in
six==1.16.0
# via
# -r requirements.in
# cryptography
# pyopenssl
urllib3==1.24.3
# via -r requirements.in
urllib3==2.3.0
# via
# -r requirements.in
# requests
wheel==0.37.1
wheel==0.43.0
# via -r requirements.in
wrapt==1.11.2
wrapt==1.17.2
# via deprecated
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", # Added based on Python 3.13 used for pip-compile
"Programming Language :: Python :: 3.12", # Added based on Python 3.13 used for pip-compile
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords="yoti sdk 2FA multifactor authentication verification identity login register verify 2Factor",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json

from mock import Mock
from unittest.mock import Mock

from yoti_python_sdk.doc_scan.session.create.filter import (
DocumentRestrictionsFilterBuilder,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import json

from mock import Mock
from unittest.mock import Mock


from yoti_python_sdk.doc_scan.session.create.filter.document_filter import (
DocumentFilter,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import json
import unittest

from mock import (
from unittest.mock import (
Mock,
MagicMock,
)
from unittest.mock import Mock

from yoti_python_sdk.doc_scan.session.create.objective.objective import Objective
from yoti_python_sdk.doc_scan.session.create.objective import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import json
import unittest

from mock import Mock
from unittest.mock import Mock


from yoti_python_sdk.doc_scan.session.create import SessionSpecBuilder
from yoti_python_sdk.doc_scan.session.create.check.requested_check import RequestedCheck
Expand Down
Loading