Skip to content

Commit 23ebec0

Browse files
anton-petrovosminogin
authored andcommitted
remove legacy python versions
1 parent fd47056 commit 23ebec0

File tree

1 file changed

+12
-33
lines changed

1 file changed

+12
-33
lines changed

tox.ini

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist=
3-
coveralls, pylint, flake8, pydocstyle, 2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, pypy2.7, pypy3.9
3+
coveralls, pylint, flake8, pydocstyle, 3.8, 3.9, 3.10, 3.11, 3.12, pypy3.9, pypy3.10
44

55
[testenv]
66
deps=
@@ -10,15 +10,16 @@ deps=
1010
typing_extensions
1111
httpx
1212
fastapi
13+
flask<2.2
14+
aiohttp<=3.9.0b1
1315
numpy
1416
scipy
1517
boto3
1618
mypy_boto3_s3
19+
pydantic<2
20+
werkzeug<=2.2.2
1721
extras=
1822
yaml
19-
pydantic
20-
flask
21-
aiohttp
2223
commands = pytest -c tests/.configs/pytest.ini
2324
python_files = test_*_py3*.py
2425

@@ -28,7 +29,7 @@ basepython=python3.11
2829
usedevelop=True
2930
deps=
3031
{[testenv]deps}
31-
cython
32+
cython<0.30
3233
coverage
3334
coveralls
3435
commands=
@@ -37,49 +38,27 @@ commands=
3738
coverage report --rcfile=./.coveragerc
3839
coveralls
3940

40-
[testenv:2.7]
41-
deps=
42-
pytest
43-
extras=
44-
yaml
45-
flask
46-
commands = pytest -c tests/.configs/pytest-py27.ini
47-
48-
[testenv:3.5]
49-
deps=
50-
pytest
51-
pytest-asyncio
52-
contextvars
53-
extras=
54-
yaml
55-
flask
56-
commands = pytest -c tests/.configs/pytest-py35.ini
57-
58-
[testenv:pypy2.7]
59-
deps=
60-
pytest
61-
extras=
62-
yaml
63-
flask
64-
commands = pytest -c tests/.configs/pytest-py27.ini
65-
6641
[testenv:pypy3.9]
6742
deps=
6843
pytest
6944
pytest-asyncio
7045
httpx
46+
flask<2.2
47+
pydantic<2
48+
werkzeug<=2.2.2
7149
fastapi
7250
boto3
7351
mypy_boto3_s3
7452
extras=
7553
yaml
76-
flask
77-
commands = pytest -c tests/.configs/pytest-py27.ini
54+
commands = pytest -c tests/.configs/pytest-py35.ini
7855

7956

8057
[testenv:pylint]
8158
deps=
8259
pylint
60+
flask<2.2
61+
werkzeug<=2.2.2
8362
commands=
8463
- pylint -f colorized --rcfile=./.pylintrc src/dependency_injector
8564

0 commit comments

Comments
 (0)