Skip to content

Commit 2cb090b

Browse files
committed
NOBUG: update test dependencies to fix new build issues, github action fail
1 parent fa12a0b commit 2cb090b

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ['3.7', '3.8', '3.9', 'pypy-3.7']
10+
python-version: ['3.7', '3.8', '3.9', 'pypy-3.9']
1111

1212
steps:
1313
- name: Checkout
@@ -26,6 +26,6 @@ jobs:
2626
python -m pip install --upgrade pip
2727
python -m pip install --upgrade setuptools
2828
python -m pip install -e .[dev]
29-
python -m pip install tox tox-gh-actions
29+
python -m pip install "tox<4.0.0" "tox-gh-actions<3.0.0"
3030
- name: Test with tox
3131
run: tox

dev-requirements

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# requirements to run development steps
22

3-
# also change in tox.ini
3+
# also change in tox.ini, gitlab/ci.yml
44
flake8>=4.0.1
55
flake8-polyfill
66
pylint>=2.11.0
7-
tox>=3.0.0
7+
tox>=3.0.0,<4.0.0
88
tox-pyenv
99
importlib-metadata>=0.12

test-requirements

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# minimal requirements to run python setup.py test
22
# 5.x requires python 3.5
3-
pytest>=4.6,<5.0
3+
pytest
44
pytest-cov
55
# freeze versions breaking python 2.7 on travis
6-
pyparsing<3
7-
zipp<=0.5.1
8-
configparser<=3.7.4
96
testfixtures

tox.ini

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# also see gitlab ci.yml
12
[tox]
23
envlist = python3.7, python3.8, python3.9, pypy3
34

@@ -7,17 +8,15 @@ python =
78
3.7: python3.7
89
3.8: python3.8
910
3.9: python3.9
10-
pypy-3.7: pypy3
11+
pypy-3.9: pypy3
1112

1213
[testenv]
1314
deps =
1415
python3.9: flake8>=4.0.1
1516
python3.9: radon>=2.4.0
1617
python3.9: pylint>=2.11.0
1718
python3.9: flake8-polyfill
18-
python3.5: importlib-metadata>=0.12
19-
py27: importlib-metadata>=0.12
20-
pypy: importlib-metadata>=0.12
19+
pypy3: pytest<7.2.0
2120

2221
commands =
2322
{envpython} setup.py test

0 commit comments

Comments
 (0)