Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/sonar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
- run: pip install -e .[dev]

- run: pytest --cov=yoti_python_sdk yoti_python_sdk/tests --cov-report=xml:coverage-reports/coverage-new.xml
env:
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: python

- run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage-reports/coverage-new.xml

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- run: pip install -e .[dev]

- run: pytest -v
env:
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: python

examples:
name: Check Examples
Expand Down
1 change: 0 additions & 1 deletion examples/doc_scan/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def create_session():
.with_preset_issuing_country("GBR")
.with_success_url("{url}/success".format(url=YOTI_APP_BASE_URL))
.with_error_url("{url}/error".format(url=YOTI_APP_BASE_URL))
.with_privacy_policy_url("{url}/privacy-policy".format(url=YOTI_APP_BASE_URL))
.build()
)

Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cffi>=1.16.0
future>=0.18.3
itsdangerous>=2.1.2
pbr>=5.11.1
protobuf==3.20.3
protobuf>=4.21.12
pyopenssl>=24.0.0
PyYAML>=6.0
pytz>=2025.2
Expand Down
15 changes: 2 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
#

# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:

#
# pip-compile --output-file=requirements.txt requirements.in
#
asn1==2.2.0
# via -r requirements.in
certifi==2018.11.29
# via requests

cffi==1.17.1
# via
# -r requirements.in
Expand All @@ -21,30 +18,25 @@ cryptography==44.0.2
# via
# -r requirements.in
# pyopenssl

deprecated==1.2.18
# via -r requirements.in
future==1.0.0
# via -r requirements.in
idna==2.7
# via requests

iso8601==2.1.0
# via -r requirements.in
itsdangerous==2.2.0

# via -r requirements.in
pbr==6.1.1
# via -r requirements.in
protobuf==3.20.3
protobuf==4.21.12
# via -r requirements.in
pycparser==2.18
# via cffi
pyopenssl==25.0.0
# via -r requirements.in

pytz==2025.2

# via -r requirements.in
pyyaml==6.0.2
# via -r requirements.in
Expand All @@ -65,6 +57,3 @@ wrapt==1.17.2

# The following packages are considered to be unsafe in a requirements file:
# setuptools



4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
url="https://github.com/getyoti/yoti-python-sdk",
author="Yoti",
author_email="[email protected]",
python_requires=">=3.9",
install_requires=[


"asn1==2.2.0", # still pinned due to enum34 issue
"cryptography>=42.0.0",
"protobuf==3.20.3",
"protobuf>=4.21.12",
"requests>=2.31.0",
"pyopenssl>=24.0.0",
"pytz>=2025.2",
Expand Down Expand Up @@ -58,7 +59,6 @@
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Programming Language :: Python",

"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sonar.host.url = https://sonarcloud.io
sonar.organization = getyoti
sonar.projectKey = getyoti:python
sonar.projectName = Python SDK
sonar.projectVersion = 2.14.3
sonar.projectVersion = 2.14.4
sonar.exclusions = yoti_python_sdk/tests/**,examples/**,yoti_python_sdk/protobuf/**/*

sonar.python.pylint.reportPath = coverage.out
Expand Down
Loading