Skip to content

Sdk 2648 python sdk update protobuf library and dependants #421

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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: 1 addition & 1 deletion examples/doc_scan/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Required Keys
YOTI_CLIENT_SDK_ID=yourClientSdkId
YOTI_KEY_FILE_PATH=yourKeyFilePath
YOTI_KEY_FILE_PATH=yourKeyFilePath
86 changes: 59 additions & 27 deletions examples/doc_scan/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,66 @@
#
# This file is autogenerated by pip-compile
# To update, run:
# 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 yoti
certifi==2020.4.5.1 # via requests
cffi==1.14.0 # via cryptography
chardet==3.0.4 # via requests
click==7.1.2 # via flask
cryptography==3.2 # via pyopenssl, yoti
deprecated==1.2.10 # via yoti
filetype==1.0.7 # via -r requirements.in
flask==1.1.2 # via -r requirements.in
future==0.18.2 # via yoti
idna==2.9 # via requests
iso8601==0.1.13 # via yoti
itsdangerous==1.1.0 # via flask
jinja2==2.11.2 # via flask
markupsafe==1.1.1 # via jinja2
protobuf==3.11.3 # via yoti
pycparser==2.20 # via cffi
pyopenssl==19.1.0 # via -r requirements.in, yoti
python-dotenv==0.13.0 # via -r requirements.in
requests==2.23.0 # via yoti
six==1.14.0 # via cryptography, protobuf, pyopenssl
urllib3==1.25.9 # via requests
werkzeug==1.0.1 # via flask
wrapt==1.12.1 # via deprecated
yoti==2.13.0 # via -r requirements.in
asn1==2.2.0
# via yoti
certifi==2020.4.5.1
# via requests
cffi==1.14.0
# via cryptography
chardet==3.0.4
# via requests
click==7.1.2
# via flask
cryptography==3.2
# via
# pyopenssl
# yoti
deprecated==1.2.10
# via yoti
filetype==1.0.7
# via -r requirements.in
flask==1.1.2
# via -r requirements.in
future==0.18.2
# via yoti
idna==2.9
# via requests
iso8601==0.1.13
# via yoti
itsdangerous==1.1.0
# via flask
jinja2==2.11.2
# via flask
markupsafe==1.1.1
# via jinja2
protobuf==3.11.3
# via yoti
pycparser==2.20
# via cffi
pyopenssl==19.1.0
# via
# -r requirements.in
# yoti
python-dotenv==0.13.0
# via -r requirements.in
requests==2.23.0
# via yoti
six==1.14.0
# via
# cryptography
# protobuf
# pyopenssl
urllib3==1.25.9
# via requests
werkzeug==1.0.1
# via flask
wrapt==1.12.1
# via deprecated
yoti==2.13.0
# via -r requirements.in

# The following packages are considered to be unsafe in a requirements file:
# setuptools
15 changes: 7 additions & 8 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
asn1==2.2.0 # asn1 2.3.0 introduces enum34 as a dependency, which causes problems on some envs
cryptography==2.8.0
cryptography>=42.0.0
cffi==1.14.3
future==0.18.2
itsdangerous==1.1.0
pbr==1.10.0
protobuf==4.21.12
pyopenssl==19.1.0
PyYAML==5.2 # PyYAML 5.3 does not support Python 3.4
pytz==2022.1
requests>=2.20.0
pyopenssl>=24.0.0
PyYAML==5.2
pytz>=2025.2
requests>=2.31.0
urllib3>=1.24.3
deprecated==1.2.10
deprecated>=1.2.14
wheel==0.33.6
iso8601==0.1.13
iso8601>=1.1.0
30 changes: 11 additions & 19 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --output-file=requirements.txt requirements.in
#
Expand All @@ -12,19 +12,17 @@ cffi==1.14.3
# via
# -r requirements.in
# cryptography
chardet==3.0.4
charset-normalizer==3.4.2
# via requests
cryptography==2.8
cryptography==45.0.5
# via
# -r requirements.in
# pyopenssl
deprecated==1.2.10
# via -r requirements.in
future==0.18.2
deprecated==1.2.18
# via -r requirements.in
idna==2.7
# via requests
iso8601==0.1.13
iso8601==2.1.0
# via -r requirements.in
itsdangerous==1.1.0
# via -r requirements.in
Expand All @@ -34,19 +32,16 @@ protobuf==4.21.12
# via -r requirements.in
pycparser==2.18
# via cffi
pyopenssl==19.1.0
pyopenssl==25.1.0
# via -r requirements.in
pytz==2022.1
pytz==2025.2
# via -r requirements.in
pyyaml==5.2
# via -r requirements.in
requests==2.21.0
requests==2.32.4
# via -r requirements.in
six==1.10.0
# via
# cryptography
# protobuf
# pyopenssl
typing-extensions==4.14.1
# via pyopenssl
urllib3==1.24.3
# via
# -r requirements.in
Expand All @@ -55,6 +50,3 @@ wheel==0.33.6
# via -r requirements.in
wrapt==1.11.2
# via deprecated

# The following packages are considered to be unsafe in a requirements file:
# setuptools
38 changes: 19 additions & 19 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,37 @@
url="https://github.com/getyoti/yoti-python-sdk",
author="Yoti",
author_email="[email protected]",
python_requires=">=3.9",
install_requires=[
"deprecated==1.2.10",
"cryptography>=2.2.1",
"protobuf==3.20.1",
"requests>=2.11.1",
"future>=0.11.0",
"asn1==2.2.0",
"pyopenssl>=18.0.0",
"iso8601==0.1.13",
"pytz==2022.1",
"asn1==2.2.0", # still pinned due to enum34 issue
"cryptography>=42.0.0",
"protobuf==4.21.12",
"requests>=2.31.0",
"pyopenssl>=24.0.0",
"pytz>=2025.2",
"iso8601>=1.1.0",
"deprecated>=1.2.14",
],
extras_require={
"examples": [
"Django>=3.0.7",
"Flask>=1.0.4",
"python-dotenv>=0.7.1",
"django-sslserver>=0.22.0",
"Werkzeug==1.0.1",
"Werkzeug==2.1.2",
],
"dev": [
"pre-commit==1.17.0",
"pre-commit==2.16.0",
"pytest>=4.6.11",
"pytest-cov>=2.7.1",
"pylint==1.9.4",
"pylint-exit>=1.1.0",
"python-coveralls==2.9.3",
"coverage==4.5.4",
"coverage>=7.4.0",
"mock==2.0.0",
"virtualenv==20.1.0",
"virtualenv==20.15.1",
"flake8==4.0.1",
"pip-tools==6.6.2",
],
},
classifiers=[
Expand All @@ -54,13 +56,11 @@
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords="yoti sdk 2FA multifactor authentication verification identity login register verify 2Factor",
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.2
sonar.projectVersion = 2.14.4
sonar.exclusions = yoti_python_sdk/tests/**,examples/**,yoti_python_sdk/protobuf/**/*

sonar.python.pylint.reportPath = coverage.out
Expand Down
2 changes: 1 addition & 1 deletion yoti_python_sdk/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
__version__ = "2.14.2"
__version__ = "2.14.4"
Loading