diff --git a/pyproject.toml b/pyproject.toml index 76ea1bd8..0082f1ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ test = [ "pytest-cov", "pytest-xdist", "sympy", - "vcrpy>=1.6.1", + "vcrpy>=5", "importlib_metadata>=4.6; python_version<'3.10'", ] dev = [ diff --git a/tox.ini b/tox.ini index aaefcaae..7d417f64 100644 --- a/tox.ini +++ b/tox.ini @@ -48,18 +48,10 @@ commands = coverage report --skip-covered --show-missing --fail-under=80 -[testenv:py3{,.}{10,11,12}-coverage] +[testenv:py3{,.}{8,9,10,11,12}-coverage] commands = {[testenv:coverage]commands} -[testenv:py3{,.}{8,9}-coverage] -# dependency issue -deps = urllib3<2 -commands = - python -c "import urllib3; print(urllib3.__version__); from urllib3.connectionpool import VerifiedHTTPSConnection" - {[testenv:coverage]commands} - - [testenv:coverage-core] usedevelop = true deps = coverage[toml]>=7 @@ -75,18 +67,10 @@ commands = --skip-covered --show-missing --fail-under=100 -[testenv:py3{,.}{10,11,12}-coverage-core] +[testenv:py3{,.}{8,9,10,11,12}-coverage-core] commands = {[testenv:coverage-core]commands} -[testenv:py3{,.}{8,9}-coverage-core] -# dependency issue -deps = urllib3<2 -commands = - python -c "import urllib3; print(urllib3.__version__); from urllib3.connectionpool import VerifiedHTTPSConnection" - {[testenv:coverage-core]commands} - - [testenv:pre-commit] description = run pre-commit-defined linters under `{basepython}`