-
Notifications
You must be signed in to change notification settings - Fork 17
Release/2.14.3 #420
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
Release/2.14.3 #420
Conversation
Merge master 1.14.0 → development
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.13.0 to 3.14.0. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py) - [Commits](protocolbuffers/protobuf@v3.13.0...v3.14.0) Signed-off-by: dependabot[bot] <[email protected]>
NA: Update dependabot reviewers
Bumps [cffi](https://github.com/python-cffi/release-doc) from 1.14.3 to 1.14.4. - [Release notes](https://github.com/python-cffi/release-doc/releases) - [Commits](https://github.com/python-cffi/release-doc/commits) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.1.0 to 20.2.1. - [Release notes](https://github.com/pypa/virtualenv/releases) - [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst) - [Commits](pypa/virtualenv@20.1.0...20.2.1) Signed-off-by: dependabot[bot] <[email protected]>
SDK-1583: Merge GitHub actions CI steps into development
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.2.1 to 20.4.3. - [Release notes](https://github.com/pypa/virtualenv/releases) - [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst) - [Commits](pypa/virtualenv@20.2.1...20.4.3) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [pytz](https://github.com/stub42/pytz) from 2020.4 to 2021.1. - [Release notes](https://github.com/stub42/pytz/releases) - [Commits](stub42/pytz@release_2020.4...release_2021.1) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [iso8601](https://github.com/micktwomey/pyiso8601) from 0.1.13 to 0.1.14. - [Release notes](https://github.com/micktwomey/pyiso8601/releases) - [Commits](micktwomey/pyiso8601@0.1.13...0.1.14) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [deprecated](https://github.com/tantale/deprecated) from 1.2.10 to 1.2.12. - [Release notes](https://github.com/tantale/deprecated/releases) - [Changelog](https://github.com/tantale/deprecated/blob/master/CHANGELOG.rst) - [Commits](laurent-laporte-pro/deprecated@v1.2.10...v1.2.12) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.14.0 to 3.15.8. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py) - [Commits](protocolbuffers/protobuf@v3.14.0...v3.15.8) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [cffi](https://github.com/python-cffi/release-doc) from 1.14.4 to 1.14.5. - [Release notes](https://github.com/python-cffi/release-doc/releases) - [Commits](https://github.com/python-cffi/release-doc/commits) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.15.8 to 3.17.1. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py) - [Commits](protocolbuffers/protobuf@v3.15.8...v3.17.1) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 1.0.1 to 2.0.1. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](pallets/werkzeug@1.0.1...2.0.1) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.4.3 to 20.4.7. - [Release notes](https://github.com/pypa/virtualenv/releases) - [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst) - [Commits](pypa/virtualenv@20.4.3...20.4.7) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.17.1 to 3.17.3. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py) - [Commits](protocolbuffers/protobuf@v3.17.1...v3.17.3) --- updated-dependencies: - dependency-name: protobuf dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
# Conflicts: # examples/yoti_example_django/requirements.txt
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.4.7 to 20.7.2. - [Release notes](https://github.com/pypa/virtualenv/releases) - [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst) - [Commits](pypa/virtualenv@20.4.7...20.7.2) --- updated-dependencies: - dependency-name: virtualenv dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [cffi](http://cffi.readthedocs.org) from 1.14.5 to 1.14.6. --- updated-dependencies: - dependency-name: cffi dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [iso8601](https://github.com/micktwomey/pyiso8601) from 0.1.14 to 0.1.16. - [Release notes](https://github.com/micktwomey/pyiso8601/releases) - [Commits](micktwomey/pyiso8601@0.1.14...0.1.16) --- updated-dependencies: - dependency-name: iso8601 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.7.2 to 20.8.1. - [Release notes](https://github.com/pypa/virtualenv/releases) - [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst) - [Commits](pypa/virtualenv@20.7.2...20.8.1) --- updated-dependencies: - dependency-name: virtualenv dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [deprecated](https://github.com/tantale/deprecated) from 1.2.12 to 1.2.13. - [Release notes](https://github.com/tantale/deprecated/releases) - [Changelog](https://github.com/tantale/deprecated/blob/master/CHANGELOG.rst) - [Commits](laurent-laporte-pro/deprecated@v1.2.12...v1.2.13) --- updated-dependencies: - dependency-name: deprecated dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
SDK-2027: adding non-latin support for session and supported documents
SDK-1901: Adding WATCHLIST_SCREENING check
SDK-1838 auth_type for doc_scan session
Bumps [pytz](https://github.com/stub42/pytz) from 2021.1 to 2021.3. - [Release notes](https://github.com/stub42/pytz/releases) - [Commits](stub42/pytz@release_2021.1...release_2021.3) --- updated-dependencies: - dependency-name: pytz dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.12.0 to 20.13.0. - [Release notes](https://github.com/pypa/virtualenv/releases) - [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst) - [Commits](pypa/virtualenv@20.12.0...20.13.0) --- updated-dependencies: - dependency-name: virtualenv dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.19.3 to 3.19.4. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py) - [Commits](protocolbuffers/protobuf@v3.19.3...v3.19.4) --- updated-dependencies: - dependency-name: protobuf dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
# Conflicts: # .github/workflows/tests.yaml # .pre-commit-config.yaml # examples/yoti_example_flask/requirements.in # examples/yoti_example_flask/requirements.txt # requirements.in # requirements.txt # setup.py # sonar-project.properties # yoti_python_sdk/version.py
Bumps [pip-tools](https://github.com/jazzband/pip-tools) from 6.4.0 to 6.6.2. - [Release notes](https://github.com/jazzband/pip-tools/releases) - [Changelog](https://github.com/jazzband/pip-tools/blob/master/CHANGELOG.md) - [Commits](jazzband/pip-tools@6.4.0...6.6.2) --- updated-dependencies: - dependency-name: pip-tools dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.13.0 to 20.14.1. - [Release notes](https://github.com/pypa/virtualenv/releases) - [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst) - [Commits](pypa/virtualenv@20.13.0...20.14.1) --- updated-dependencies: - dependency-name: virtualenv dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.0.2 to 2.1.2. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](pallets/werkzeug@2.0.2...2.1.2) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.14.1 to 20.15.1. - [Release notes](https://github.com/pypa/virtualenv/releases) - [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst) - [Commits](pypa/virtualenv@20.14.1...20.15.1) --- updated-dependencies: - dependency-name: virtualenv dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Python library updates
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 bumps the SDK version to 2.14.3, upgrades dependencies across setup, requirements, and examples, and extends CI to test Python 3.11/3.12. It also adds new features around session deadlines, privacy policy URL, notification auth types, non-Latin document flags, and watchlist screening support.
- Bump SDK version to 2.14.3
- Upgrade dependency pins in setup.py, requirements.in, and example lockfiles
- Add Python 3.11/3.12 to GitHub Actions matrix
- Introduce
session_deadline
,privacy_policy_url
,allow_handoff
,auth_type
, non-Latin flags, and watchlist screening functionality
Reviewed Changes
Copilot reviewed 39 out of 41 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
yoti_python_sdk/version.py | Updated __version__ to 2.14.3 |
setup.py | Upgraded install_requires and extras_require pins |
requirements.in | Lifted version constraints and added wrapt |
.github/workflows/tests.yaml | Included Python 3.11/3.12 in CI matrix |
yoti_python_sdk/doc_scan/session/create/session_spec.py | Added session_deadline field and builder method |
yoti_python_sdk/doc_scan/session/create/notification_config.py | Added auth_type support and builder extensions |
yoti_python_sdk/doc_scan/session/create/subcheck/sub_check.py | New base class for sub-checks |
yoti_python_sdk/doc_scan/session/create/check/watchlist_screen.py | Implemented Watchlist screening check and builder |
Comments suppressed due to low confidence (6)
yoti_python_sdk/doc_scan/session/create/check/watchlist_screen.py:19
- The docstring parameter name
max_retries
is incorrect here; update it tocategories
to match the actual argument.
:type max_retries: list
yoti_python_sdk/doc_scan/session/create/notification_config.py:72
- The
:return:
description forauth_type
is inaccurate; it should describe the auth type rather than 'the endpoint'.
:return: the endpoint
yoti_python_sdk/doc_scan/session/retrieve/get_session_result.py:84
- You've added support for watchlist screening in the parser, but there are no tests validating
WatchlistScreeningCheckResponse
is handled correctly; consider adding a unit test for this new mapping.
constants.WATCHLIST_SCREENING_CHECK_TYPE: WatchlistScreeningCheckResponse,
yoti_python_sdk/doc_scan/session/create/subcheck/sub_check.py:20
- The function
remove_null_values
is used but not imported; addfrom yoti_python_sdk.utils import remove_null_values
at the top to avoid a NameError.
return remove_null_values({"type": self.type, "config": self.config})
yoti_python_sdk/tests/test_anchor.py:6
- The import of
timedelta
is not used in this test; consider removing it to clean up unused imports.
from datetime import timedelta
yoti_python_sdk/tests/doc_scan/session/create/check/test_wathclist_check.py:1
- The filename has a typo (
wathclist
); rename it totest_watchlist_check.py
for consistency and clarity.
import json
|
This Release 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