tox.ini: exclude pytest !=8.0.1,!=8.0.2

Fixes #3458 (or rather works around it)
This commit is contained in:
Cosimo Lupo 2024-03-04 15:54:51 +00:00
parent 927ea07f55
commit 963aeec1c1

View File

@ -14,9 +14,11 @@ download = true
# building lxml from source takes too long on CI, force it to download pre-compiled # building lxml from source takes too long on CI, force it to download pre-compiled
# wheel or fail if none is found with --only-binary=lxml # wheel or fail if none is found with --only-binary=lxml
install_command = python -m pip install --only-binary=lxml {opts} {packages} install_command = python -m pip install --only-binary=lxml {opts} {packages}
# exclude pytest 8.0.{1,2} because our tests mysteriously fail with those
# https://github.com/fonttools/fonttools/issues/3458
deps = deps =
cov: coverage>=4.3 cov: coverage>=4.3
pytest>=7.0.0 pytest>=7.0.0,!=8.0.1,!=8.0.2
pytest-randomly pytest-randomly
# add -noextra to tox -e to skip installing extras and only test the core fonttools # add -noextra to tox -e to skip installing extras and only test the core fonttools
!noextra: -rrequirements.txt !noextra: -rrequirements.txt