Skip to content

Commit

Permalink
Pin PyJWT to 2.4.0 via constraints file
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Mar 14, 2023
1 parent dd0a084 commit 908fcc0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/upgrade-pip-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -euo pipefail

base="$(dirname "$0")"

pip install --upgrade --upgrade-strategy eager -r "$base/../python/requirements-direct.txt"
pip install --upgrade --upgrade-strategy eager -r "$base/../python/requirements-direct.txt" -c "$base/../python/constraints.txt"

pip install pipdeptree
grep -e "^#" -e ";" "$base/../python/requirements-direct.txt" > "$base/../python/requirements.txt"
Expand Down
2 changes: 2 additions & 0 deletions python/constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# latest version for PyJWT on Windows and macOS and Python 3.6
PyJWT==2.4.0
2 changes: 1 addition & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ psutil==5.9.4
PyGithub==1.56
Deprecated==1.2.13
wrapt==1.15.0
PyJWT==2.6.0
PyJWT==2.4.0
PyNaCl==1.5.0
cffi==1.15.1
pycparser==2.21
Expand Down

0 comments on commit 908fcc0

Please sign in to comment.