diff --git a/examples/aml/requirements.in b/examples/aml/requirements.in index 7e25054c..39d4ba4f 100644 --- a/examples/aml/requirements.in +++ b/examples/aml/requirements.in @@ -1,2 +1,3 @@ yoti>=2.14.0 +protobuf<6 python-dotenv>=0.7.1 diff --git a/examples/aml/requirements.txt b/examples/aml/requirements.txt index 33889910..d5b65599 100644 --- a/examples/aml/requirements.txt +++ b/examples/aml/requirements.txt @@ -1,46 +1,48 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # -# pip-compile --output-file=requirements.txt requirements.in +# pip-compile --output-file=examples/aml/requirements.txt examples/aml/requirements.in # asn1==2.2.0 # via yoti -certifi==2021.10.8 +certifi==2026.4.22 # via requests -cffi==1.15.0 +cffi==2.0.0 # via cryptography -charset-normalizer==2.0.10 +charset-normalizer==3.4.7 # via requests -cryptography==36.0.1 +cryptography==48.0.0 # via # pyopenssl # yoti -deprecated==1.2.10 +deprecated==1.3.1 # via yoti -future==0.18.2 - # via yoti -idna==3.3 +idna==3.15 # via requests -iso8601==0.1.13 - # via yoti -protobuf==3.19.3 +iso8601==2.1.0 # via yoti -pycparser==2.21 +protobuf==5.29.6 + # via + # -r examples/aml/requirements.in + # yoti +pycparser==2.23 # via cffi -pyopenssl==21.0.0 +pyopenssl==26.2.0 # via yoti -python-dotenv==0.19.2 - # via -r requirements.in -pytz==2020.4 +python-dotenv==1.2.1 + # via -r examples/aml/requirements.in +pytz==2026.2 # via yoti -requests==2.27.1 +requests==2.32.5 # via yoti -six==1.16.0 - # via pyopenssl -urllib3==1.26.8 +typing-extensions==4.15.0 + # via + # cryptography + # pyopenssl +urllib3==2.6.3 # via requests -wrapt==1.13.3 +wrapt==2.1.2 # via deprecated -yoti==2.14.0 - # via -r requirements.in +yoti==2.14.5 + # via -r examples/aml/requirements.in diff --git a/examples/yoti_example_django/requirements.in b/examples/yoti_example_django/requirements.in index 884d3bd9..c7629691 100644 --- a/examples/yoti_example_django/requirements.in +++ b/examples/yoti_example_django/requirements.in @@ -1,8 +1,7 @@ -django>=4.0.1 +django>=4.2,<5.3 django-sslserver>=0.22.0 python-dotenv>=0.7.1 -requests>=2.20.0 -urllib3>=1.24.2 +requests>=2.32.4 +urllib3>=2.6.3 yoti>=2.14.0 -six>=1.16.0 -cffi>=1.15.0 \ No newline at end of file +cffi>=1.17.1 diff --git a/examples/yoti_example_django/yoti_example/settings.py b/examples/yoti_example_django/yoti_example/settings.py index 73bd1b2a..60d28b85 100644 --- a/examples/yoti_example_django/yoti_example/settings.py +++ b/examples/yoti_example_django/yoti_example/settings.py @@ -80,6 +80,8 @@ } } +DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" + # Password validation # https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators diff --git a/setup.py b/setup.py index fd3be6db..e40e3721 100644 --- a/setup.py +++ b/setup.py @@ -22,10 +22,11 @@ "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", + "cryptography>=44.0.1", + "protobuf>=4.25.8,<6", + "requests>=2.32.4", + "urllib3>=2.6.3", + "pyopenssl>=26.0.0", "pytz>=2025.2", "iso8601>=1.1.0", "deprecated>=1.2.14", @@ -33,11 +34,11 @@ ], extras_require={ "examples": [ - "Django>=3.0.7", - "Flask>=1.0.4", + "Django>=4.2,<5.3", + "Flask>=3.0.6", "python-dotenv>=0.7.1", "django-sslserver>=0.22.0", - "Werkzeug==2.1.2", + "Werkzeug>=3.0.6", ], "dev": [ "pre-commit==2.16.0",