Skip to content

Merge master into development#457

Merged
mehmet-yoti merged 16 commits into
developmentfrom
merge-master-into-development
Jun 11, 2026
Merged

Merge master into development#457
mehmet-yoti merged 16 commits into
developmentfrom
merge-master-into-development

Conversation

@mehmet-yoti

Copy link
Copy Markdown
Contributor

No description provided.

mehmet-yoti and others added 13 commits February 21, 2023 18:57
Python library updates
* SDK-2648 updated version of protobuf
* Update version to 2.14.4
* SDK-2648: Update protobuf to 4.21.12+
* Remove accidentally committed virtual environment files from Flask example
* Update doc_scan example requirements for protobuf 4.21.12 and SDK v2.14.4
* Update Flask example requirements for protobuf 4.21.12 and SDK v2.14.4
* updated versions in examples
* Fix GitHub Actions workflow to install local SDK before example requirements
* Python library updates
* added python static liveness check (#425)
* update version files
Resolves conflicts by taking master's choices for:
- Version bump to 2.14.5 (version.py, sonar-project.properties)
- protobuf>=4.21.12 and Python 3.12 (requirements.in/txt, setup.py)
- Reverts protobuf package rename: attribute_public_api -> attrpubapi_v1,
  common_public_api -> compubapi_v1, share_public_api -> sharepubapi_v1
  (master's SDK-2648 regenerated these for protobuf 4.21.12)
- examples/doc_scan/requirements.in cleaned up (master had duplicate/corrupt
  entries from a previous botched merge)
@sonarqubecloud

sonarqubecloud Bot commented May 1, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

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 syncs development with master by bumping the SDK version and migrating protobuf usage to new *_v1 package paths while updating dependency constraints (notably protobuf 4.x and Python 3.9+).

Changes:

  • Bump SDK version to 2.14.5 and align Sonar project version.
  • Replace legacy protobuf modules (*_public_api) with new attrpubapi_v1, compubapi_v1, and sharepubapi_v1 generated modules and update imports in SDK + tests.
  • Update dependency constraints and CI setup (protobuf 4.x, examples install the SDK from local source).

Reviewed changes

Copilot reviewed 86 out of 88 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
yoti_python_sdk/version.py Version bump to 2.14.5.
sonar-project.properties Align Sonar projectVersion with SDK version.
setup.py Require Python >=3.9; update protobuf dependency to >=4.21.12.
requirements.in Update protobuf constraint to >=4.21.12.
requirements.txt Regenerated/pinned requirements with protobuf 4.21.12 and Py3.12 header.
.github/workflows/tests.yaml Install SDK from local source before installing example requirements.
.github/workflows/sonar.yaml Fix extras quoting for pip install -e ".[dev]".
yoti_python_sdk/protobuf/protobuf.py Update protobuf imports to *_v1 packages.
yoti_python_sdk/anchor.py Switch SignedTimestamp import to compubapi_v1.
yoti_python_sdk/share/extra_data.py Switch protobuf imports to sharepubapi_v1.
yoti_python_sdk/tests/test_attribute_issuance_details.py Update protobuf imports to sharepubapi_v1.
yoti_python_sdk/tests/test_anchor.py Update protobuf imports to attrpubapi_v1.
yoti_python_sdk/tests/share/test_extra_data.py Update protobuf imports to sharepubapi_v1.
yoti_python_sdk/protobuf/sharepubapi_v1/init.py New package init for share protobufs.
yoti_python_sdk/protobuf/sharepubapi_v1/AgeVerificationSecret_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/CancelSharing_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/DataEntry_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/ExtraData_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/IdentityProfileShare_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/IssuingAttributes_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/Location_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/Policy_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/ReceiptPush_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/ScanYotiCompleteShare_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/SessionData_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/SharingNotificationPush_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/Sharing_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/sharepubapi_v1/ThirdPartyAttribute_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/init.py New package init for common protobufs.
yoti_python_sdk/protobuf/compubapi_v1/Address_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/AdminReasonCode_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/AttributeLink_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/AttributeMigration_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/ChipInfo_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/DataPrivacy_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/DocumentFields_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/DocumentTypes_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/EncryptedData_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/Hmac_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/IdentityProfilePreview_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/IdentityProfileReport_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/IdentityProfile_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/MRZ_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/Metadata_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/OptionalTypes_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/RsaAuthDigest_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/Signature_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/SignedTimestamp_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/UserProfile_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/compubapi_v1/YotiYUV_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/attrpubapi_v1/init.py New package init for attribute protobufs.
yoti_python_sdk/protobuf/attrpubapi_v1/AttributeChange_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/attrpubapi_v1/AttributeDisplayRequest_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/attrpubapi_v1/AttributeDisplayResponse_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/attrpubapi_v1/Attribute_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/attrpubapi_v1/DeleteSuperseded_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/attrpubapi_v1/Delete_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/attrpubapi_v1/List_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/attrpubapi_v1/Refresh_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/attrpubapi_v1/Signing_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/attrpubapi_v1/Unlock_pb2.py New generated protobuf module.
yoti_python_sdk/protobuf/share_public_api/init.py Remove legacy share protobuf package bootstrap.
yoti_python_sdk/protobuf/share_public_api/ThirdPartyAttribute_pb2_grpc.py Remove legacy generated gRPC stub.
yoti_python_sdk/protobuf/share_public_api/ThirdPartyAttribute_pb2.py Remove legacy generated protobuf module.
yoti_python_sdk/protobuf/share_public_api/IssuingAttributes_pb2_grpc.py Remove legacy generated gRPC stub.
yoti_python_sdk/protobuf/share_public_api/IssuingAttributes_pb2.py Remove legacy generated protobuf module.
yoti_python_sdk/protobuf/share_public_api/ExtraData_pb2_grpc.py Remove legacy generated gRPC stub.
yoti_python_sdk/protobuf/share_public_api/ExtraData_pb2.py Remove legacy generated protobuf module.
yoti_python_sdk/protobuf/share_public_api/DataEntry_pb2_grpc.py Remove legacy generated gRPC stub.
yoti_python_sdk/protobuf/share_public_api/DataEntry_pb2.py Remove legacy generated protobuf module.
yoti_python_sdk/protobuf/attribute_public_api/init.py Remove legacy attribute protobuf package bootstrap.
yoti_python_sdk/protobuf/attribute_public_api/Signing_pb2_grpc.py Remove legacy generated gRPC stub.
yoti_python_sdk/protobuf/attribute_public_api/Signing_pb2.py Remove legacy generated protobuf module.
yoti_python_sdk/protobuf/attribute_public_api/List_pb2_grpc.py Remove legacy generated gRPC stub.
yoti_python_sdk/protobuf/attribute_public_api/List_pb2.py Remove legacy generated protobuf module.
yoti_python_sdk/protobuf/attribute_public_api/ContentType_pb2_grpc.py Remove legacy generated gRPC stub.
yoti_python_sdk/protobuf/attribute_public_api/ContentType_pb2.py Remove legacy generated protobuf module.
yoti_python_sdk/protobuf/attribute_public_api/Attribute_pb2_grpc.py Remove legacy generated gRPC stub.
yoti_python_sdk/protobuf/attribute_public_api/Attribute_pb2.py Remove legacy generated protobuf module.
yoti_python_sdk/protobuf/common_public_api/SignedTimestamp_pb2_grpc.py Remove legacy generated gRPC stub.
yoti_python_sdk/protobuf/common_public_api/SignedTimestamp_pb2.py Remove legacy generated protobuf module.
yoti_python_sdk/protobuf/common_public_api/EncryptedData_pb2_grpc.py Remove legacy generated gRPC stub.
yoti_python_sdk/protobuf/common_public_api/EncryptedData_pb2.py Remove legacy generated protobuf module.
examples/yoti_example_flask/requirements.in Remove yoti dependency; update constraints for local-source install.
examples/yoti_example_flask/requirements.txt Update example deps (now intended to work with locally installed SDK).
examples/doc_scan/requirements.in Remove yoti dependency; update constraints for local-source install.
examples/doc_scan/requirements.txt Update example deps (now intended to work with locally installed SDK).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread yoti_python_sdk/protobuf/attrpubapi_v1/Unlock_pb2.py Outdated
Comment thread yoti_python_sdk/protobuf/attrpubapi_v1/Refresh_pb2.py Outdated
Comment thread yoti_python_sdk/protobuf/attrpubapi_v1/AttributeDisplayRequest_pb2.py Outdated
Comment thread examples/yoti_example_flask/requirements.txt
Comment thread examples/doc_scan/requirements.txt
Comment thread .github/workflows/tests.yaml
Comment thread yoti_python_sdk/protobuf/sharepubapi_v1/Sharing_pb2.py
Comment thread yoti_python_sdk/protobuf/sharepubapi_v1/IdentityProfileShare_pb2.py

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 77 out of 89 changed files in this pull request and generated 4 comments.

Files not reviewed (10)
  • yoti_python_sdk/protobuf/attrpubapi_v1/AttributeChange_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/AttributeDisplayRequest_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/AttributeDisplayResponse_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/Attribute_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/DeleteSuperseded_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/Delete_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/List_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/Refresh_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/Signing_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/Unlock_pb2.py: Language not supported

Comment thread .github/workflows/tests.yaml
Comment thread requirements.in Outdated
Comment thread examples/yoti_example_flask/requirements.txt
Comment thread examples/doc_scan/requirements.txt
…hy>=42.0.0

doc_scan/requirements.txt pinned cryptography==41.0.7 which conflicts with
the SDK's install_requires (cryptography>=42.0.0), breaking the CI examples
job. Updated both example requirements files and clarified the headers to
reflect that they contain SDK-inherited range constraints.
- requirements.in: cryptography>=41.0.7 -> >=42.0.0 to match setup.py,
  remove leading blank line
- tests.yaml: reinstall local SDK after AML/Django examples, which pin
  yoti==2.14.0 from PyPI and would otherwise override the editable install
- flask/doc_scan requirements.txt: clarify # via yoti (installed separately)
  annotations since yoti is no longer in requirements.in
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 77 out of 89 changed files in this pull request and generated no new comments.

Files not reviewed (10)
  • yoti_python_sdk/protobuf/attrpubapi_v1/AttributeChange_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/AttributeDisplayRequest_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/AttributeDisplayResponse_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/Attribute_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/DeleteSuperseded_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/Delete_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/List_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/Refresh_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/Signing_pb2.py: Language not supported
  • yoti_python_sdk/protobuf/attrpubapi_v1/Unlock_pb2.py: Language not supported

@mehmet-yoti mehmet-yoti merged commit 4771d55 into development Jun 11, 2026
13 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.

3 participants