From 107ecfe97bb7076d4c2bf4248c7a51822c3ae3cf Mon Sep 17 00:00:00 2001 From: Iuri de Silvio Date: Sun, 10 Mar 2024 13:44:01 +0100 Subject: [PATCH] Test on yanked pytest 8.1.0 --- tox.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index fcbc6d6..6c5de3c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] isolated_build = true -envlist = py{38,39,310,311,312}-pytest{5,6,7,8},lint +envlist = py{38,39,310,311,312}-pytest{5,6,7,8,810,81},lint [testenv] allowlist_externals = poetry @@ -9,7 +9,10 @@ commands = pytest5: pip install "pytest<6" pytest6: pip install "pytest>=6,<7" pytest7: pip install "pytest>=7,<8" - pytest8: pip install "pytest>=8,<9" + pytest8: pip install "pytest>=8,<8.1" + # pytest 8.1.0 was yanked, but their "broken behaviour" will comeback soon + pytest810: pip install "pytest==8.1.0" + pytest81: pip install "pytest>=8.1,<9" # Disable ruff plugin to generate better coverage results poetry run pytest -p no:ruff -vvv --cov --cov-append --cov-report term --cov-report xml {posargs}