From ce2fbc265e55b10f71a3699aafbad7ff320aa9c8 Mon Sep 17 00:00:00 2001 From: Clifton Barnes Date: Mon, 22 Feb 2021 11:10:40 -0500 Subject: [PATCH 1/3] For CI, use the lockfile versions --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fa1f46e..c659455 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ env: install: - python -m pip install -U pip==18.0 - - pipenv install --dev --skip-lock + - pipenv install --dev --ignore-pipfile - pip install --timeout=30 -q Django==$DJANGO - pip install --timeout=30 -q -e . script: make ci From f14759705570ebdb61f0c6206d202f3f9bac7827 Mon Sep 17 00:00:00 2001 From: Clifton Barnes Date: Mon, 22 Feb 2021 11:18:07 -0500 Subject: [PATCH 2/3] Restrict pyjwt to <2.0 due to breaking changes --- .travis.yml | 2 +- Pipfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c659455..fa1f46e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ env: install: - python -m pip install -U pip==18.0 - - pipenv install --dev --ignore-pipfile + - pipenv install --dev --skip-lock - pip install --timeout=30 -q Django==$DJANGO - pip install --timeout=30 -q -e . script: make ci diff --git a/Pipfile b/Pipfile index 80be8cc..7746ecd 100644 --- a/Pipfile +++ b/Pipfile @@ -7,7 +7,7 @@ verify_ssl = true freezegun = "*" [packages] -pyjwt = "*" +pyjwt = "<2.0" django = "*" cryptography = "*" mock = "*" From 7cbc4abcf165f60ab41207fcb2a7f1636cefaee2 Mon Sep 17 00:00:00 2001 From: Clifton Barnes Date: Mon, 22 Feb 2021 11:39:04 -0500 Subject: [PATCH 3/3] Newer versions of cryptography are incompatible --- Pipfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pipfile b/Pipfile index 7746ecd..8d8355a 100644 --- a/Pipfile +++ b/Pipfile @@ -9,7 +9,7 @@ freezegun = "*" [packages] pyjwt = "<2.0" django = "*" -cryptography = "*" +cryptography = "~=3.2.1" mock = "*" coveralls = "*" coverage = "*"