From 59c95664b49679997914337f688a618a3d793d88 Mon Sep 17 00:00:00 2001 From: Chris Marchbanks Date: Tue, 30 May 2023 18:05:48 -0600 Subject: [PATCH 1/2] Pin version of asgiref for pypy Signed-off-by: Chris Marchbanks --- tox.ini | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index f1d4d1cb..3a5e23b2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,17 +1,15 @@ [tox] envlist = coverage-clean,py3.6,py3.7,py3.8,py3.9,py3.10,py3.11,pypy3.7,py3.9-nooptionals,coverage-report,flake8,isort,mypy -[base] +[testenv] deps = coverage pytest attrs - -[testenv] -deps = - {[base]deps} {py3.7,pypy3.7}: twisted - {py3.7,pypy3.7}: asgiref + py3.7: asgiref + # See https://github.com/django/asgiref/issues/393 for why we need to pin asgiref for pypy + pypy3.7: asgiref==3.6.0 commands = coverage run --parallel -m pytest {posargs} [testenv:py3.9-nooptionals] From 876f321986d206ac4540ee395de8771328c72413 Mon Sep 17 00:00:00 2001 From: Chris Marchbanks Date: Tue, 30 May 2023 10:55:58 -0600 Subject: [PATCH 2/2] Pin virtualenv version Signed-off-by: Chris Marchbanks --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 812bc161..f8cbe315 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,7 +36,7 @@ jobs: steps: - checkout - run: echo 'export PATH=$HOME/.local/bin:$PATH' >> $BASH_ENV - - run: pip install --user tox + - run: pip install --user tox "virtualenv<20.22.0" - run: tox test_nooptionals: parameters: