From bcb9f2dcbc04489639bfa9ca553486e534f6643d Mon Sep 17 00:00:00 2001 From: Anton Petrov Date: Tue, 14 Nov 2023 07:47:16 +0300 Subject: [PATCH] remove legacy python versions --- tox.ini | 45 ++++++++++++--------------------------------- 1 file changed, 12 insertions(+), 33 deletions(-) diff --git a/tox.ini b/tox.ini index 547a1a45..115b1e2e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] 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] deps= @@ -10,15 +10,16 @@ deps= typing_extensions httpx fastapi + flask<2.2 + aiohttp<=3.9.0b1 numpy scipy boto3 mypy_boto3_s3 + pydantic<2 + werkzeug<=2.2.2 extras= yaml - pydantic<2 - flask - aiohttp commands = pytest -c tests/.configs/pytest.ini python_files = test_*_py3*.py @@ -28,7 +29,7 @@ basepython=python3.12 usedevelop=True deps= {[testenv]deps} - cython + cython<0.30 coverage coveralls commands= @@ -37,49 +38,27 @@ commands= coverage report --rcfile=./.coveragerc 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] deps= pytest pytest-asyncio httpx + flask<2.2 + pydantic<2 + werkzeug<=2.2.2 fastapi boto3 mypy_boto3_s3 extras= yaml - flask -commands = pytest -c tests/.configs/pytest-py27.ini +commands = pytest -c tests/.configs/pytest-py35.ini [testenv:pylint] deps= pylint + flask<2.2 + werkzeug<=2.2.2 commands= - pylint -f colorized --rcfile=./.pylintrc src/dependency_injector