-
Notifications
You must be signed in to change notification settings - Fork 17
Python library updates #417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Sdk 2267 python update dependencies
Sdk 2267 python update dependencies
Release/2.14.2
There was a problem hiding this 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",
|
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