Skip to content

Conversation

mehmet-yoti
Copy link
Contributor

@mehmet-yoti mehmet-yoti commented Apr 24, 2025

This PR updates the Python SDK library by revising version numbers and upgrading various dependency versions, as well as updating the supported Python versions in the test workflow.

Upgrade dependency versions in setup.py, requirements.in, and examples requirements files
Update the CI test matrix to include Python 3.11 and 3.12

@mehmet-yoti mehmet-yoti requested a review from saurabh-yoti June 27, 2025 09:16
@Alttaf Alttaf requested a review from Copilot June 27, 2025 09:32
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Python SDK library by revising version numbers and upgrading various dependency versions, as well as updating the supported Python versions in the test workflow.

  • Downgrade the library version in yoti_python_sdk/version.py and sonar-project.properties
  • Upgrade dependency versions in setup.py, requirements.in, and examples requirements files
  • Update the CI test matrix to include Python 3.11 and 3.12

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
yoti_python_sdk/version.py Updated version value (version downgrade)
sonar-project.properties Updated sonar.projectVersion to match version update
setup.py Updated dependency constraints and Python classifiers
requirements.in Upgraded dependency version requirements
examples/doc_scan/requirements.txt Upgraded dependency versions for example usage
examples/doc_scan/requirements.in Updated core requirements for example usage
.github/workflows/tests.yaml Modified test matrix to include newer Python versions
Comments suppressed due to low confidence (5)

yoti_python_sdk/version.py:2

  • The version downgrade from "2.15.0" to "2.14.3" may cause release inconsistencies; please verify that this version change is intentional.
__version__ = "2.14.3"

sonar-project.properties:5

  • The sonar.projectVersion update mirrors the version downgrade; confirm that this adjustment aligns with the intended release versioning.
sonar.projectVersion = 2.14.3

examples/doc_scan/requirements.txt:34

  • Upgrading Flask from 1.1.2 to 3.1.0 is a major version jump that may introduce breaking changes; please verify compatibility with your code.
flask==3.1.0

.github/workflows/tests.yaml:16

  • The test matrix now includes Python 3.11 and 3.12; ensure that the test suite provides adequate coverage for these new versions to catch any compatibility issues.
        python-version: [3.9, "3.10","3.11","3.12"]

setup.py:23

  • Switching from a pinned version to a version range can introduce unexpected breaking changes; consider pinning the dependency if stability is a priority.
        "cryptography>=42.0.0",

Copy link

@mehmet-yoti mehmet-yoti merged commit 0441863 into development Jun 30, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants