From e8ca5582218eb4bcdc4b1683ea9592856e4def5d Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 11:16:01 +0100 Subject: [PATCH 01/43] version updates for 3.13 --- .github/workflows/tests.yaml | 2 +- requirements.in | 14 +++++++------- requirements.txt | 15 +++++++-------- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 9506b63c..cb600ef0 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, "3.10"] + python-version: [3.7, 3.8, 3.9, "3.10","3.13"] steps: - uses: actions/checkout@v2 diff --git a/requirements.in b/requirements.in index fc673ed6..54be0bfb 100644 --- a/requirements.in +++ b/requirements.in @@ -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 +asn1==2.2.0 +cryptography==3.4.7 cffi==1.15.0 future==0.18.2 -itsdangerous==2.0.1 +itsdangerous>=2.1.2 # Updated to match Flask's requirement pbr==1.10.0 protobuf==3.19.4 -pyopenssl==19.1.0 -PyYAML==5.2 # PyYAML 5.3 does not support Python 3.4 +pyopenssl==21.0.0 +PyYAML==5.2 pytz==2021.3 requests>=2.20.0 urllib3>=1.24.3 -deprecated==1.2.13 +deprecated==1.2.10 # Updated to match Yoti's requirement wheel==0.37.1 -iso8601==1.0.2 +iso8601==0.1.13 # Updated to match Yoti's requirement six>=1.16.0 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 090690a4..f89975b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # # pip-compile --output-file=requirements.txt requirements.in # @@ -14,19 +14,19 @@ cffi==1.15.0 # cryptography chardet==3.0.4 # via requests -cryptography==2.8 +cryptography==3.4.7 # via # -r requirements.in # pyopenssl -deprecated==1.2.13 +deprecated==1.2.10 # via -r requirements.in future==0.18.2 # via -r requirements.in idna==2.7 # via requests -iso8601==1.0.2 +iso8601==0.1.13 # via -r requirements.in -itsdangerous==2.0.1 +itsdangerous==2.2.0 # via -r requirements.in pbr==1.10.0 # via -r requirements.in @@ -34,7 +34,7 @@ protobuf==3.19.4 # via -r requirements.in pycparser==2.18 # via cffi -pyopenssl==19.1.0 +pyopenssl==21.0.0 # via -r requirements.in pytz==2021.3 # via -r requirements.in @@ -45,7 +45,6 @@ requests==2.21.0 six==1.16.0 # via # -r requirements.in - # cryptography # pyopenssl urllib3==1.24.3 # via From a9ee001d7bdc1b4e6fef4a844c3f7d6e0163a04c Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 15:15:38 +0100 Subject: [PATCH 02/43] updatet wrapt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f89975b6..cbac19a0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -52,5 +52,5 @@ urllib3==1.24.3 # requests wheel==0.37.1 # via -r requirements.in -wrapt==1.11.2 +wrapt==1.17.2 # via deprecated From 306ad9a03eafa81c30269ed94d17326bd5b91df3 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 15:26:21 +0100 Subject: [PATCH 03/43] updatet wrapt --- requirements.in | 4 ++-- requirements.txt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements.in b/requirements.in index 54be0bfb..c8e4e421 100644 --- a/requirements.in +++ b/requirements.in @@ -1,6 +1,6 @@ asn1==2.2.0 -cryptography==3.4.7 -cffi==1.15.0 +cryptography==42.0.5 +cffi==1.16.0 future==0.18.2 itsdangerous>=2.1.2 # Updated to match Flask's requirement pbr==1.10.0 diff --git a/requirements.txt b/requirements.txt index cbac19a0..8d3aff59 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,19 +2,19 @@ # This file is autogenerated by pip-compile with Python 3.9 # 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.16.0 # via # -r requirements.in # cryptography chardet==3.0.4 # via requests -cryptography==3.4.7 +cryptography==42.0.5 # via # -r requirements.in # pyopenssl From 59300741b83dccb015af0cba230026c930cdd67e Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 15:59:02 +0100 Subject: [PATCH 04/43] updated mocks --- requirements.txt | 2 +- .../session/create/filter/test_document_restrictions_filter.py | 2 +- .../session/create/filter/test_required_id_document.py | 3 ++- .../create/filter/test_required_supplementary_document.py | 3 ++- .../tests/doc_scan/session/create/test_session_spec.py | 3 ++- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8d3aff59..cbc21d03 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ cffi==1.16.0 # cryptography chardet==3.0.4 # via requests -cryptography==42.0.5 +cryptography==38.0.2 # via # -r requirements.in # pyopenssl diff --git a/yoti_python_sdk/tests/doc_scan/session/create/filter/test_document_restrictions_filter.py b/yoti_python_sdk/tests/doc_scan/session/create/filter/test_document_restrictions_filter.py index 1c3745ee..2fe8e47e 100644 --- a/yoti_python_sdk/tests/doc_scan/session/create/filter/test_document_restrictions_filter.py +++ b/yoti_python_sdk/tests/doc_scan/session/create/filter/test_document_restrictions_filter.py @@ -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, diff --git a/yoti_python_sdk/tests/doc_scan/session/create/filter/test_required_id_document.py b/yoti_python_sdk/tests/doc_scan/session/create/filter/test_required_id_document.py index 72d8ee07..4e8ac3db 100644 --- a/yoti_python_sdk/tests/doc_scan/session/create/filter/test_required_id_document.py +++ b/yoti_python_sdk/tests/doc_scan/session/create/filter/test_required_id_document.py @@ -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, diff --git a/yoti_python_sdk/tests/doc_scan/session/create/filter/test_required_supplementary_document.py b/yoti_python_sdk/tests/doc_scan/session/create/filter/test_required_supplementary_document.py index edbd7446..895e8f93 100644 --- a/yoti_python_sdk/tests/doc_scan/session/create/filter/test_required_supplementary_document.py +++ b/yoti_python_sdk/tests/doc_scan/session/create/filter/test_required_supplementary_document.py @@ -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 ( diff --git a/yoti_python_sdk/tests/doc_scan/session/create/test_session_spec.py b/yoti_python_sdk/tests/doc_scan/session/create/test_session_spec.py index 034c4b05..774512bd 100644 --- a/yoti_python_sdk/tests/doc_scan/session/create/test_session_spec.py +++ b/yoti_python_sdk/tests/doc_scan/session/create/test_session_spec.py @@ -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 From d01570aa24db3645122b1b02d39a9f10056fb595 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:05:21 +0100 Subject: [PATCH 05/43] updated github actions --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index cb600ef0..1a5d0d42 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -42,7 +42,7 @@ jobs: - uses: actions/setup-python@v2.3.1 with: - python-version: 3.9 + python-version: 3.13.2 - run: pip install --upgrade setuptools From 7bb0acc68e5647e2234063493cc0901fbe08b611 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:14:08 +0100 Subject: [PATCH 06/43] updated github actions --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index cbc21d03..968b1b9d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ asn1==2.2.0 # via -r requirements.in certifi==2018.11.29 # via requests -cffi==1.16.0 +cffi==1.15.0 # via # -r requirements.in # cryptography From fe3830490f09ef935449c8d3e5b93663e0d02583 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:17:37 +0100 Subject: [PATCH 07/43] updated github actions --- requirements.in | 2 +- requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.in b/requirements.in index c8e4e421..154735b5 100644 --- a/requirements.in +++ b/requirements.in @@ -1,6 +1,6 @@ asn1==2.2.0 -cryptography==42.0.5 cffi==1.16.0 +cryptography==41.0.7 future==0.18.2 itsdangerous>=2.1.2 # Updated to match Flask's requirement pbr==1.10.0 diff --git a/requirements.txt b/requirements.txt index 968b1b9d..3af41ec9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,13 +8,13 @@ asn1==2.2.0 # via -r requirements.in certifi==2018.11.29 # via requests -cffi==1.15.0 +cffi==1.16.0 # via # -r requirements.in # cryptography chardet==3.0.4 # via requests -cryptography==38.0.2 +cryptography==41.0.7 # via # -r requirements.in # pyopenssl From b80f9a2a366c3f955fb85c4e0df3534d5fb1e903 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:22:09 +0100 Subject: [PATCH 08/43] updated github actions --- .github/workflows/tests.yaml | 48 ++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1a5d0d42..5fd561ca 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -5,30 +5,36 @@ jobs: test: name: Test (Python ${{ matrix.python-version }}) runs-on: ubuntu-latest - # always run on push events - # 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","3.13"] + python-version: [3.7, 3.8, 3.9, "3.10", "3.13"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/setup-python@v2.3.1 + - name: Set up Python + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - run: pip install -U setuptools + - name: Install System Dependencies + run: sudo apt-get update && sudo apt-get install -y libffi-dev libssl-dev build-essential + + - name: Upgrade pip and setuptools + run: pip install --upgrade pip setuptools wheel - - run: pip install -r requirements.txt + - name: Install dependencies + run: pip install -r requirements.txt - - run: pip install -e .[dev] + - name: Install dev dependencies + run: pip install -e .[dev] - - run: pytest -v + - name: Run tests + run: pytest -v examples: name: Check Examples @@ -38,18 +44,22 @@ jobs: github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/setup-python@v2.3.1 + - name: Set up Python 3.13 + uses: actions/setup-python@v4 with: python-version: 3.13.2 - - run: pip install --upgrade setuptools - - - run: pushd examples/aml && pip install -r requirements.txt && popd - - - run: pushd examples/yoti_example_django && pip install --upgrade pip && pip install -r requirements.txt && popd + - name: Install System Dependencies + run: sudo apt-get update && sudo apt-get install -y libffi-dev libssl-dev build-essential - - run: pushd examples/yoti_example_flask && pip install -r requirements.txt && popd + - name: Upgrade pip and setuptools + run: pip install --upgrade pip setuptools wheel - - run: pushd examples/doc_scan && pip install -r requirements.txt && popd + - name: Install Example Dependencies + run: | + pushd examples/aml && pip install -r requirements.txt && popd + pushd examples/yoti_example_django && pip install -r requirements.txt && popd + pushd examples/yoti_example_flask && pip install -r requirements.txt && popd + pushd examples/doc_scan && pip install -r requirements.txt && popd From e88dcd47e9732b7f1df14a1e4a8da5d108925bd0 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:31:08 +0100 Subject: [PATCH 09/43] updated github actions --- .github/workflows/tests.yaml | 46 ++++++++++++++---------------------- 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5fd561ca..2c926326 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -5,36 +5,30 @@ jobs: test: name: Test (Python ${{ matrix.python-version }}) runs-on: ubuntu-latest + # always run on push events + # 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 strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, "3.10", "3.13"] + python-version: [3.7, 3.8, 3.9, "3.10","3.13"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v4 + - uses: actions/setup-python@v2.3.1 with: python-version: ${{ matrix.python-version }} - - name: Install System Dependencies - run: sudo apt-get update && sudo apt-get install -y libffi-dev libssl-dev build-essential + - run: pip install -U setuptools - - name: Upgrade pip and setuptools - run: pip install --upgrade pip setuptools wheel + - run: pip install -r requirements.txt - - name: Install dependencies - run: pip install -r requirements.txt + - run: pip install -e .[dev] - - name: Install dev dependencies - run: pip install -e .[dev] - - - name: Run tests - run: pytest -v + - run: pytest -v examples: name: Check Examples @@ -44,22 +38,18 @@ jobs: github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 - - name: Set up Python 3.13 - uses: actions/setup-python@v4 + - uses: actions/setup-python@v4 with: python-version: 3.13.2 - - name: Install System Dependencies - run: sudo apt-get update && sudo apt-get install -y libffi-dev libssl-dev build-essential + - run: pip install --upgrade setuptools + + - run: pushd examples/aml && pip install -r requirements.txt && popd + + - run: pushd examples/yoti_example_django && pip install --upgrade pip && pip install -r requirements.txt && popd - - name: Upgrade pip and setuptools - run: pip install --upgrade pip setuptools wheel + - run: pushd examples/yoti_example_flask && pip install -r requirements.txt && popd - - name: Install Example Dependencies - run: | - pushd examples/aml && pip install -r requirements.txt && popd - pushd examples/yoti_example_django && pip install -r requirements.txt && popd - pushd examples/yoti_example_flask && pip install -r requirements.txt && popd - pushd examples/doc_scan && pip install -r requirements.txt && popd + - run: pushd examples/doc_scan && pip install -r requirements.txt && popd From c7d1d582de0b1f042431ff6e89e401ac90da827f Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:33:11 +0100 Subject: [PATCH 10/43] updated github actions --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2c926326..61604764 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -40,7 +40,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v2.3.1 with: python-version: 3.13.2 From 68aa7b49d46ca85c66f0222d414e9e9c84b1f35d Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:35:07 +0100 Subject: [PATCH 11/43] updated github actions --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 61604764..cbfb5ecc 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -42,7 +42,7 @@ jobs: - uses: actions/setup-python@v2.3.1 with: - python-version: 3.13.2 + python-version: 3.12 - run: pip install --upgrade setuptools From a56b7df4fcc5ff2fc1b24232f08f14e2af868206 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:36:44 +0100 Subject: [PATCH 12/43] updated github actions --- requirements.in | 4 ++-- requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.in b/requirements.in index 154735b5..54be0bfb 100644 --- a/requirements.in +++ b/requirements.in @@ -1,6 +1,6 @@ asn1==2.2.0 -cffi==1.16.0 -cryptography==41.0.7 +cryptography==3.4.7 +cffi==1.15.0 future==0.18.2 itsdangerous>=2.1.2 # Updated to match Flask's requirement pbr==1.10.0 diff --git a/requirements.txt b/requirements.txt index 3af41ec9..968b1b9d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,13 +8,13 @@ asn1==2.2.0 # via -r requirements.in certifi==2018.11.29 # via requests -cffi==1.16.0 +cffi==1.15.0 # via # -r requirements.in # cryptography chardet==3.0.4 # via requests -cryptography==41.0.7 +cryptography==38.0.2 # via # -r requirements.in # pyopenssl From 6b6e151b72907aad8a041fb4a4935cdef70a7992 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:40:36 +0100 Subject: [PATCH 13/43] updated github actions --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 968b1b9d..0074086e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,13 +8,13 @@ asn1==2.2.0 # via -r requirements.in certifi==2018.11.29 # via requests -cffi==1.15.0 +cffi==1.16.0 # via # -r requirements.in # cryptography chardet==3.0.4 # via requests -cryptography==38.0.2 +cryptography==42.0.0 # via # -r requirements.in # pyopenssl From c51251b75cbad2d98b03886f8a7d90e0eb174c6d Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:43:04 +0100 Subject: [PATCH 14/43] github actions test --- .github/workflows/tests.yaml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index cbfb5ecc..f059387b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, "3.10","3.13"] + python-version: ["3.10","3.13"] steps: - uses: actions/checkout@v2 diff --git a/requirements.txt b/requirements.txt index 0074086e..b20f95db 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ cffi==1.16.0 # cryptography chardet==3.0.4 # via requests -cryptography==42.0.0 +cryptography==40.0.0 # via # -r requirements.in # pyopenssl From 48d485049926b2b069371efba8091697aa7b7e8b Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:44:54 +0100 Subject: [PATCH 15/43] github actions test --- .github/workflows/tests.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index f059387b..80a5b142 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -44,6 +44,12 @@ jobs: with: python-version: 3.12 + - name: Upgrade pip and install dependencies + run: | + pip install --upgrade pip setuptools wheel + pip install --upgrade cffi cryptography + pip install --upgrade -r requirements.txt + - run: pip install --upgrade setuptools - run: pushd examples/aml && pip install -r requirements.txt && popd From cf9ec46c71c63e5f140fc4e7f3e54562146e62ab Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 16:46:56 +0100 Subject: [PATCH 16/43] github actions test --- .github/workflows/sonar.yaml | 2 +- .github/workflows/tests.yaml | 2 +- requirements.txt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index f5055259..25213230 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-python@v2.1.4 with: - python-version: 3.9 + python-version: 3.13 - run: pip install -r requirements.txt diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 80a5b142..a8dd2fc3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -42,7 +42,7 @@ jobs: - uses: actions/setup-python@v2.3.1 with: - python-version: 3.12 + python-version: 3.13 - name: Upgrade pip and install dependencies run: | diff --git a/requirements.txt b/requirements.txt index b20f95db..40dea9f6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,13 +8,13 @@ asn1==2.2.0 # via -r requirements.in certifi==2018.11.29 # via requests -cffi==1.16.0 +cffi==1.15.0 # via # -r requirements.in # cryptography chardet==3.0.4 # via requests -cryptography==40.0.0 +cryptography==41.0.7 # via # -r requirements.in # pyopenssl From 9be0206c51f2e4073dbb980f8732bd131cab88d5 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 19:51:32 +0100 Subject: [PATCH 17/43] github actions test --- .github/workflows/tests.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a8dd2fc3..89b632fb 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -16,6 +16,11 @@ jobs: python-version: ["3.10","3.13"] steps: + - name: Workaround for cffi ImportError + run: | + export LD_PRELOAD=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")/libpython3.13.so + pytest -v + - uses: actions/checkout@v2 - uses: actions/setup-python@v2.3.1 From 55e4b8cc12d6e8f4689319de1e6c65345799e086 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 19:53:00 +0100 Subject: [PATCH 18/43] github actions test --- .github/workflows/tests.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 89b632fb..84cfa008 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -16,10 +16,7 @@ jobs: python-version: ["3.10","3.13"] steps: - - name: Workaround for cffi ImportError - run: | - export LD_PRELOAD=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")/libpython3.13.so - pytest -v + - uses: actions/checkout@v2 @@ -33,6 +30,11 @@ jobs: - run: pip install -e .[dev] + - name: Workaround for cffi ImportError + run: | + export LD_PRELOAD=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")/libpython3.13.so + pytest -v + - run: pytest -v examples: From 593c296d0d53f6ec2dd1df01a1f5b1c34873530a Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:07:47 +0100 Subject: [PATCH 19/43] github actions test --- .github/workflows/tests.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 84cfa008..7d886f13 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -20,15 +20,16 @@ jobs: - uses: actions/checkout@v2 - - uses: actions/setup-python@v2.3.1 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - run: pip install -U setuptools - - - run: pip install -r requirements.txt - - - run: pip install -e .[dev] + - name: Upgrade pip & Install Dependencies + run: | + python -m pip install --upgrade pip setuptools wheel + pip install --upgrade cffi cryptography + pip install --upgrade -r requirements.txt + pip install -e .[dev] - name: Workaround for cffi ImportError run: | From 0e7d8e1d3d2d22d6ae97f99642c72bee8a499f6f Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:11:57 +0100 Subject: [PATCH 20/43] github actions test --- .github/workflows/tests.yaml | 28 +++++++--------------------- requirements.txt | 2 +- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7d886f13..eef14c70 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,28 +13,20 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10","3.13"] + python-version: ["3.13"] steps: - - - uses: actions/checkout@v2 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v2.3.1 with: python-version: ${{ matrix.python-version }} - - name: Upgrade pip & Install Dependencies - run: | - python -m pip install --upgrade pip setuptools wheel - pip install --upgrade cffi cryptography - pip install --upgrade -r requirements.txt - pip install -e .[dev] + - run: pip install -U setuptools - - name: Workaround for cffi ImportError - run: | - export LD_PRELOAD=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")/libpython3.13.so - pytest -v + - run: pip install -r requirements.txt + + - run: pip install -e .[dev] - run: pytest -v @@ -50,13 +42,7 @@ jobs: - uses: actions/setup-python@v2.3.1 with: - python-version: 3.13 - - - name: Upgrade pip and install dependencies - run: | - pip install --upgrade pip setuptools wheel - pip install --upgrade cffi cryptography - pip install --upgrade -r requirements.txt + python-version: 3.9 - run: pip install --upgrade setuptools diff --git a/requirements.txt b/requirements.txt index 40dea9f6..094ac33b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ asn1==2.2.0 # via -r requirements.in certifi==2018.11.29 # via requests -cffi==1.15.0 +cffi==1.17.0 # via # -r requirements.in # cryptography From 632fe9a6b87061444144cdac838060c1a92d3085 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:14:45 +0100 Subject: [PATCH 21/43] github actions test --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 094ac33b..9a7f70ff 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,13 +8,13 @@ asn1==2.2.0 # via -r requirements.in certifi==2018.11.29 # via requests -cffi==1.17.0 +cffi==1.17.1 # via # -r requirements.in # cryptography chardet==3.0.4 # via requests -cryptography==41.0.7 +cryptography==44.0.2 # via # -r requirements.in # pyopenssl From 57d2ea2d65898956b4b0cb77a96a0e5743fdad38 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:26:25 +0100 Subject: [PATCH 22/43] github tests --- requirements.in | 4 ++-- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.in b/requirements.in index 54be0bfb..c21fac27 100644 --- a/requirements.in +++ b/requirements.in @@ -1,6 +1,6 @@ asn1==2.2.0 -cryptography==3.4.7 -cffi==1.15.0 +cryptography==44.0.2 +cffi==1.17.1 future==0.18.2 itsdangerous>=2.1.2 # Updated to match Flask's requirement pbr==1.10.0 diff --git a/requirements.txt b/requirements.txt index 9a7f70ff..1d5e5e83 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.9 +# This file is autogenerated by pip-compile with Python 3.13 # by the following command: # # pip-compile --output-file=requirements.txt From c6573590159f41158d93219c2d92723879b909c2 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:30:33 +0100 Subject: [PATCH 23/43] gthub actions test --- .github/workflows/tests.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index eef14c70..75e835ae 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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: @@ -42,7 +43,7 @@ jobs: - uses: actions/setup-python@v2.3.1 with: - python-version: 3.9 + python-version: 3.13 - run: pip install --upgrade setuptools From c7a9d68c7d2084d4524466fc55e91f234fd87882 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:34:33 +0100 Subject: [PATCH 24/43] gthub actions test --- requirements.in | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.in b/requirements.in index c21fac27..06cf61a5 100644 --- a/requirements.in +++ b/requirements.in @@ -1,5 +1,5 @@ asn1==2.2.0 -cryptography==44.0.2 +cryptography==40.0.2 cffi==1.17.1 future==0.18.2 itsdangerous>=2.1.2 # Updated to match Flask's requirement diff --git a/requirements.txt b/requirements.txt index 1d5e5e83..1e2f8dd5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ cffi==1.17.1 # cryptography chardet==3.0.4 # via requests -cryptography==44.0.2 +cryptography==40.0.2 # via # -r requirements.in # pyopenssl From 201eaaa0a70ec4b944267e1de580e6fee275ec16 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:36:08 +0100 Subject: [PATCH 25/43] gthub actions test --- .github/workflows/tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 75e835ae..9e1cca97 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.13"] + python-version: ["3.12"] steps: - uses: actions/checkout@v2 @@ -43,7 +43,7 @@ jobs: - uses: actions/setup-python@v2.3.1 with: - python-version: 3.13 + python-version: 3.12 - run: pip install --upgrade setuptools From f4e8b7576f4344552004337d80928d1666e71ef9 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:38:20 +0100 Subject: [PATCH 26/43] gthub actions test --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1e2f8dd5..85b5354d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ cffi==1.17.1 # cryptography chardet==3.0.4 # via requests -cryptography==40.0.2 +cryptography==3.4.7 # via # -r requirements.in # pyopenssl From 441933866a50eb67fd95fb578b4b961bb3c224fe Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:41:29 +0100 Subject: [PATCH 27/43] gthub actions test --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 85b5354d..42f8e6d5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ cffi==1.17.1 # cryptography chardet==3.0.4 # via requests -cryptography==3.4.7 +cryptography==39.0.2 # via # -r requirements.in # pyopenssl From c63cda67a22d12b5a5e05f28d46bc308fd772dee Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:43:05 +0100 Subject: [PATCH 28/43] gthub actions test --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 42f8e6d5..9f4ef08b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ cffi==1.17.1 # cryptography chardet==3.0.4 # via requests -cryptography==39.0.2 +cryptography==41.0.7 # via # -r requirements.in # pyopenssl From 56a2bd9dd59e03629247e1362e9c99ff3e2e1ba2 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:45:44 +0100 Subject: [PATCH 29/43] gthub actions test --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9f4ef08b..59eea686 100644 --- a/requirements.txt +++ b/requirements.txt @@ -34,7 +34,7 @@ protobuf==3.19.4 # via -r requirements.in pycparser==2.18 # via cffi -pyopenssl==21.0.0 +pyopenssl==22.1.0 # via -r requirements.in pytz==2021.3 # via -r requirements.in From cf0f6eb74bfbff3497cabed6d273df29ef7beba6 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:46:55 +0100 Subject: [PATCH 30/43] gthub actions test --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 59eea686..5dfc64a2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ cffi==1.17.1 # cryptography chardet==3.0.4 # via requests -cryptography==41.0.7 +cryptography==38.0.2 # via # -r requirements.in # pyopenssl From e3a8213bbde0f1d668cbd1ff3af9c7a60cc56c62 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:49:36 +0100 Subject: [PATCH 31/43] gthub actions test --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 5dfc64a2..98ea1c2c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ cffi==1.17.1 # cryptography chardet==3.0.4 # via requests -cryptography==38.0.2 +cryptography==41.0.7 # via # -r requirements.in # pyopenssl @@ -34,7 +34,7 @@ protobuf==3.19.4 # via -r requirements.in pycparser==2.18 # via cffi -pyopenssl==22.1.0 +pyopenssl==24.3.0 # via -r requirements.in pytz==2021.3 # via -r requirements.in From b0daad39cefeab10797083147fd7df73f565b9ef Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:50:33 +0100 Subject: [PATCH 32/43] gthub actions test --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 98ea1c2c..1879c891 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ cffi==1.17.1 # cryptography chardet==3.0.4 # via requests -cryptography==41.0.7 +cryptography==44.0.2 # via # -r requirements.in # pyopenssl From d47fb5c420a7c384fead10af12873b4a10e34ee5 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 20:54:37 +0100 Subject: [PATCH 33/43] gthub actions test --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 1879c891..1e2f8dd5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ cffi==1.17.1 # cryptography chardet==3.0.4 # via requests -cryptography==44.0.2 +cryptography==40.0.2 # via # -r requirements.in # pyopenssl @@ -34,7 +34,7 @@ protobuf==3.19.4 # via -r requirements.in pycparser==2.18 # via cffi -pyopenssl==24.3.0 +pyopenssl==21.0.0 # via -r requirements.in pytz==2021.3 # via -r requirements.in From d9da5fe610a6b8d43a03441a306d80810f66f698 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 21:01:41 +0100 Subject: [PATCH 34/43] github tests --- requirements.in | 26 +++++++++++++------------- requirements.txt | 30 ++++++++++++++---------------- 2 files changed, 27 insertions(+), 29 deletions(-) diff --git a/requirements.in b/requirements.in index 06cf61a5..88aacacd 100644 --- a/requirements.in +++ b/requirements.in @@ -1,16 +1,16 @@ asn1==2.2.0 -cryptography==40.0.2 -cffi==1.17.1 -future==0.18.2 -itsdangerous>=2.1.2 # Updated to match Flask's requirement -pbr==1.10.0 -protobuf==3.19.4 -pyopenssl==21.0.0 -PyYAML==5.2 -pytz==2021.3 -requests>=2.20.0 -urllib3>=1.24.3 +cryptography==44.0.2 +cffi==1.16.0 +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.37.1 -iso8601==0.1.13 # Updated to match Yoti's requirement +wheel==0.43.0 +iso8601==0.1.14 # Updated to match Yoti's requirement six>=1.16.0 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 1e2f8dd5..d96ea745 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,49 +8,47 @@ asn1==2.2.0 # via -r requirements.in certifi==2018.11.29 # via requests -cffi==1.17.1 +cffi==1.16.0 # via # -r requirements.in # cryptography -chardet==3.0.4 +charset-normalizer==3.4.1 # via requests -cryptography==40.0.2 +cryptography==44.0.2 # via # -r requirements.in # pyopenssl 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==0.1.13 +iso8601==0.1.14 # via -r requirements.in 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==21.0.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 - # 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.17.2 # via deprecated From 4ae2dd469f5e486139cdba6f782d11fd2d43f94c Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 21:08:21 +0100 Subject: [PATCH 35/43] github tests --- examples/aml/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/aml/requirements.txt b/examples/aml/requirements.txt index 33889910..6c1d856a 100644 --- a/examples/aml/requirements.txt +++ b/examples/aml/requirements.txt @@ -40,7 +40,7 @@ six==1.16.0 # via pyopenssl urllib3==1.26.8 # via requests -wrapt==1.13.3 +wrapt==1.17.2 # via deprecated yoti==2.14.0 # via -r requirements.in From 2eb5b48fe77f73b09848d9243ec1c169c4716f89 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 21:11:59 +0100 Subject: [PATCH 36/43] github tests --- .github/workflows/tests.yaml | 4 ++-- examples/aml/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 9e1cca97..bf1a5d9d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.12"] + python-version: ["3.13"] steps: - uses: actions/checkout@v2 @@ -43,7 +43,7 @@ jobs: - uses: actions/setup-python@v2.3.1 with: - python-version: 3.12 + python-version: 3.9 - run: pip install --upgrade setuptools diff --git a/examples/aml/requirements.txt b/examples/aml/requirements.txt index 6c1d856a..33889910 100644 --- a/examples/aml/requirements.txt +++ b/examples/aml/requirements.txt @@ -40,7 +40,7 @@ six==1.16.0 # via pyopenssl urllib3==1.26.8 # via requests -wrapt==1.17.2 +wrapt==1.13.3 # via deprecated yoti==2.14.0 # via -r requirements.in From 86a700a542751fe8ae10ec73cc921d437989e42e Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 21:15:19 +0100 Subject: [PATCH 37/43] github tests --- requirements.in | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.in b/requirements.in index 88aacacd..f8b4fa8d 100644 --- a/requirements.in +++ b/requirements.in @@ -1,6 +1,6 @@ asn1==2.2.0 cryptography==44.0.2 -cffi==1.16.0 +cffi==1.17.1 future==0.18.3 itsdangerous>=2.2.0 # Updated to match Flask's requirement pbr==6.0.0 diff --git a/requirements.txt b/requirements.txt index d96ea745..a447f8ed 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ asn1==2.2.0 # via -r requirements.in certifi==2018.11.29 # via requests -cffi==1.16.0 +cffi==1.17.1 # via # -r requirements.in # cryptography From 6a8bcf700fd930c2d56f0bebf640a7ad35cd2c00 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 21:18:18 +0100 Subject: [PATCH 38/43] github tests --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index bf1a5d9d..616eb356 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.13"] + python-version: [3.8,3.9,"3.10","3.11","3.12","3.13"] steps: - uses: actions/checkout@v2 From 67404a483616cca01054f1349450825bb171d8e8 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 21:19:18 +0100 Subject: [PATCH 39/43] github tests --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 616eb356..a69a8c05 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.8,3.9,"3.10","3.11","3.12","3.13"] + python-version: [3.7,3.8,3.9,"3.10","3.11","3.12","3.13"] steps: - uses: actions/checkout@v2 From 6a9cdeb1defaaad67f18c0213ac7ac7763977fbc Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 21:26:00 +0100 Subject: [PATCH 40/43] github tests --- .github/workflows/sonar.yaml | 2 +- .github/workflows/tests.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index 25213230..f5055259 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-python@v2.1.4 with: - python-version: 3.13 + python-version: 3.9 - run: pip install -r requirements.txt diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a69a8c05..8ad072fa 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,12 +13,12 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7,3.8,3.9,"3.10","3.11","3.12","3.13"] + 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@v2 with: python-version: ${{ matrix.python-version }} From fe7e03ed46ffa11f053d413e065605949abf10cc Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Fri, 4 Apr 2025 21:27:42 +0100 Subject: [PATCH 41/43] github tests --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8ad072fa..1270ca2c 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} From 0eecee964135893d3154130451bf515114c74f29 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Thu, 17 Apr 2025 16:37:26 +0100 Subject: [PATCH 42/43] 3.13 setup.py updates --- setup.py | 50 +++++++++++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/setup.py b/setup.py index 5a3982cd..9fe02662 100644 --- a/setup.py +++ b/setup.py @@ -1,33 +1,26 @@ -# -*- coding: utf-8 -*- -from setuptools import find_packages -from setuptools import setup - -version = {} -with open("yoti_python_sdk/version.py") as fp: - exec(fp.read(), version) +from setuptools import setup, find_packages setup( - name="yoti", - version=version["__version__"], - packages=find_packages(include=["yoti_python_sdk", "yoti_python_sdk.*"]), - license="MIT", - description="The Yoti Python SDK, providing API support for Login, Verify (2FA) and Age Verification.", - long_description=open("README.md").read(), - long_description_content_type="text/markdown", - url="https://github.com/getyoti/yoti-python-sdk", - author="Yoti", - author_email="websdk@yoti.com", + name="your_package_name", # Replace with your actual package name + version="your_package_version", # Replace with your actual package version + packages=find_packages(), install_requires=[ - "deprecated==1.2.13", - "cryptography>=2.2.1", - "protobuf==3.13.0", - "requests>=2.11.1", - "future>=0.18.2", + "deprecated==1.2.10", + "cryptography==44.0.2", + "protobuf==4.25.3", + "requests==2.32.3", + "future==0.18.3", "asn1==2.2.0", - "pyopenssl>=18.0.0", - "iso8601==1.0.2", - "wheel==0.37.1", - "pytz==2022.1", + "pyopenssl==25.0.0", + "iso8601==0.1.14", + "wheel==0.43.0", + "pytz==2024.1", + "cffi==1.17.1", + "charset-normalizer==3.4.1", + "idna==2.7", + "urllib3==2.3.0", + "six==1.16.0", + "wrapt==1.17.2", ], extras_require={ "examples": [ @@ -63,7 +56,10 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="yoti sdk 2FA multifactor authentication verification identity login register verify 2Factor", -) +) \ No newline at end of file From a0a2b3ec0be77ab3812e38658c7902f09a00abe4 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Thu, 17 Apr 2025 16:40:09 +0100 Subject: [PATCH 43/43] 3.13 setup.py updates --- setup.py | 51 +++++++++++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/setup.py b/setup.py index 9fe02662..afbd07ce 100644 --- a/setup.py +++ b/setup.py @@ -1,26 +1,33 @@ -from setuptools import setup, find_packages +# -*- coding: utf-8 -*- +from setuptools import find_packages +from setuptools import setup + +version = {} +with open("yoti_python_sdk/version.py") as fp: + exec(fp.read(), version) setup( - name="your_package_name", # Replace with your actual package name - version="your_package_version", # Replace with your actual package version - packages=find_packages(), + name="yoti", + version=version["__version__"], + packages=find_packages(include=["yoti_python_sdk", "yoti_python_sdk.*"]), + license="MIT", + description="The Yoti Python SDK, providing API support for Login, Verify (2FA) and Age Verification.", + long_description=open("README.md").read(), + long_description_content_type="text/markdown", + url="https://github.com/getyoti/yoti-python-sdk", + author="Yoti", + author_email="websdk@yoti.com", install_requires=[ - "deprecated==1.2.10", - "cryptography==44.0.2", - "protobuf==4.25.3", - "requests==2.32.3", - "future==0.18.3", + "deprecated==1.2.13", + "cryptography>=2.2.1", + "protobuf==3.13.0", + "requests>=2.11.1", + "future>=0.18.2", "asn1==2.2.0", - "pyopenssl==25.0.0", - "iso8601==0.1.14", - "wheel==0.43.0", - "pytz==2024.1", - "cffi==1.17.1", - "charset-normalizer==3.4.1", - "idna==2.7", - "urllib3==2.3.0", - "six==1.16.0", - "wrapt==1.17.2", + "pyopenssl>=18.0.0", + "iso8601==1.0.2", + "wheel==0.37.1", + "pytz==2022.1", ], extras_require={ "examples": [ @@ -56,10 +63,10 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", + "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", -) \ No newline at end of file +)