Skip to content

Commit

Permalink
Update cryptography to 40.0.2 - latest version that supports Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Feb 6, 2024
1 parent d209706 commit 751b2cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ jobs:
strategy:
max-parallel: 5
matrix:
# only crypto 3.3 seems to work
python-version: [ 3.6, 3.7, 3.8, 3.9, '3.10', '3.11' ]
crypto-version: [ 3.3 ]
crypto-version: [ '40.0.2' ]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion requirements/accelerated.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
M2Crypto==0.37.1
cryptography==3.3.2
cryptography==40.0.2
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{3.6,3.7,3.8,3.9,3.10,3.11}-cryptography{3.3}
py{3.6,3.7,3.8,3.9,3.10,3.11}-cryptography{40.0.2}
postgres
windows

Expand All @@ -24,8 +24,7 @@ basepython =

deps =
-r{toxinidir}/requirements/test.txt
cryptography3.3: cryptography==3.3.2

cryptography40.0.2: cryptography==40.0.2
commands =
sh -c '! tests/testapp/manage.py makemigrations --dry-run --exit --noinput'
python tests/patch_pytest.py
Expand Down

0 comments on commit 751b2cc

Please sign in to comment.