Skip to content

Commit 8c31883

Browse files
committed
Tests: get tox py36 tests working again
tox dependency virtualenv dropped support for creating Python 3.6 environments in a minor release. [1] Announce deprecation of Anymail Python 3.6 support. Until that can take effect, pin an older version of virtualenv that still works for tox py36 testenv. [1]: See pypa/virtualenv#2548 (comment) et seq
1 parent 885eb9b commit 8c31883

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757
run: |
5858
set -x
5959
python -VV
60-
python -m pip install 'tox<4'
60+
# Must pin virtualenv for tox py36 testenv:
61+
python -m pip install 'tox<4' 'virtualenv<20.22.0'
6162
python -m tox --version
6263
- name: Test ${{ matrix.tox.name }}
6364
run: |

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ Fixes
3636
* **Postmark:** Workaround for handling inbound test webhooks.
3737
(`More info <https://github.com/anymail/django-anymail/issues/304>`__)
3838

39+
Deprecations
40+
~~~~~~~~~~~~
41+
42+
* This will be the last Anymail release to support Python 3.6
43+
(which reached end-of-life on 2021-12-23).
44+
3945
Other
4046
~~~~~
4147

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def long_description_from_readme(rst):
4545
"sphinx-rtd-theme",
4646
"tox",
4747
"twine",
48+
"virtualenv<20.22.0", # tox dependency, pinned for Python 3.6 tox testenv
4849
"wheel",
4950
]
5051

0 commit comments

Comments
 (0)