From 972ccf488817b23132c3de55940f7401fd20e46f Mon Sep 17 00:00:00 2001 From: Mohamed ElKalioby Date: Sun, 31 Dec 2023 22:04:00 +0300 Subject: [PATCH] Fix tox envs --- requirements.txt | 2 +- setup.py | 2 +- tox.ini | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index ba3a23f..a5ee224 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,5 +6,5 @@ python-u2flib-server ua-parser user-agents python-jose -fido2 == 1.0.0 +fido2==1.1.2 jsonLookup diff --git a/setup.py b/setup.py index 65e99ea..7cda31a 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup( 'ua-parser', 'user-agents', 'python-jose', - 'fido2 == 1.0.0', + 'fido2 == 1.1.2', ], python_requires=">=3.5", include_package_data=True, diff --git a/tox.ini b/tox.ini index ab6f7cd..8a31e0f 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,8 @@ # Choose your Python versions. They have to be available # on the system the tests are run on. # comma separated -envlist = +envlist = + python{3.6,3.7,3.8,3.9}-django2.2 python{3.6,3.7,3.8,3.9}-django3 python{3.8,3.9,3.10,3.11}-django4 python{3.8,3.9,3.10,3.11}-django5 @@ -36,6 +37,12 @@ isolated_build = True ;changedir = tests deps = + django22: django>=2.2,<2.3 + django32: django>=3.2,<3.3 + django40: django>=4.0,<4.1 + django41: django>=4.1,<4.2 + django42: django>=4.2,<4.3 + django50: django==5.0 -rrequirements.txt -rrequirements_testing.txt