8000 Merge pull request #915 from prometheus/fix-ci · draftcode/client_python@f79049a · GitHub
[go: up one dir, main page]

Skip to content

Commit f79049a

Browse files
Merge pull request prometheus#915 from prometheus/fix-ci
Fix CI Failures
2 parents be3aac3 + 876f321 commit f79049a

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
steps:
3737
- checkout
3838
- run: echo 'export PATH=$HOME/.local/bin:$PATH' >> $BASH_ENV
39-
- run: pip install --user tox
39+
- run: pip install --user tox "virtualenv<20.22.0"
4040
- run: tox
4141
test_nooptionals:
4242
parameters:

tox.ini

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
[tox]
22
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
33

4-
[base]
4+
[testenv]
55
deps =
66
coverage
77
pytest
88
attrs
9-
10-
[testenv]
11-
deps =
12-
{[base]deps}
139
{py3.7,pypy3.7}: twisted
14-
{py3.7,pypy3.7}: asgiref
10+
py3.7: asgiref
11+
# See https://github.com/django/asgiref/issues/393 for why we need to pin asgiref for pypy
12+
pypy3.7: asgiref==3.6.0
1513
commands = coverage run --parallel -m pytest {posargs}
1614

1715
[testenv:py3.9-nooptionals]

0 commit comments

Comments
 (0)
0