remove legacy python versions

This commit is contained in:
Anton Petrov 2023-11-14 07:47:16 +03:00
parent 98756b4504
commit bcb9f2dcbc
No known key found for this signature in database

45
tox.ini
View File

@ -1,6 +1,6 @@
[tox] [tox]
envlist= envlist=
coveralls, pylint, flake8, pydocstyle, 2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, pypy2.7, pypy3.9 coveralls, pylint, flake8, pydocstyle, 3.8, 3.9, 3.10, 3.11, 3.12, pypy3.9, pypy3.10
[testenv] [testenv]
deps= deps=
@ -10,15 +10,16 @@ deps=
typing_extensions typing_extensions
httpx httpx
fastapi fastapi
flask<2.2
aiohttp<=3.9.0b1
numpy numpy
scipy scipy
boto3 boto3
mypy_boto3_s3 mypy_boto3_s3
pydantic<2
werkzeug<=2.2.2
extras= extras=
yaml yaml
pydantic<2
flask
aiohttp
commands = pytest -c tests/.configs/pytest.ini commands = pytest -c tests/.configs/pytest.ini
python_files = test_*_py3*.py python_files = test_*_py3*.py
@ -28,7 +29,7 @@ basepython=python3.12
usedevelop=True usedevelop=True
deps= deps=
{[testenv]deps} {[testenv]deps}
cython cython<0.30
coverage coverage
coveralls coveralls
commands= commands=
@ -37,49 +38,27 @@ commands=
coverage report --rcfile=./.coveragerc coverage report --rcfile=./.coveragerc
coveralls coveralls
[testenv:2.7]
deps=
pytest
extras=
yaml
flask
commands = pytest -c tests/.configs/pytest-py27.ini
[testenv:3.5]
deps=
pytest
pytest-asyncio
contextvars
extras=
yaml
flask
commands = pytest -c tests/.configs/pytest-py35.ini
[testenv:pypy2.7]
deps=
pytest
extras=
yaml
flask
commands = pytest -c tests/.configs/pytest-py27.ini
[testenv:pypy3.9] [testenv:pypy3.9]
deps= deps=
pytest pytest
pytest-asyncio pytest-asyncio
httpx httpx
flask<2.2
pydantic<2
werkzeug<=2.2.2
fastapi fastapi
boto3 boto3
mypy_boto3_s3 mypy_boto3_s3
extras= extras=
yaml yaml
flask commands = pytest -c tests/.configs/pytest-py35.ini
commands = pytest -c tests/.configs/pytest-py27.ini
[testenv:pylint] [testenv:pylint]
deps= deps=
pylint pylint
flask<2.2
werkzeug<=2.2.2
commands= commands=
- pylint -f colorized --rcfile=./.pylintrc src/dependency_injector - pylint -f colorized --rcfile=./.pylintrc src/dependency_injector