require at least pytest >= 7.0.0, fixes issue with monkeypath.setenv in autouse=True fixture

Fixes https://github.com/fonttools/fonttools/issues/3078
This commit is contained in:
Cosimo Lupo 2023-05-25 12:22:51 +01:00
parent 47813b217c
commit 32ee866ee4
No known key found for this signature in database
GPG Key ID: DF65A8A5A119C9A8
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ formats = zip
license_files = LICENSE
[tool:pytest]
minversion = 3.0
minversion = 7.0.0
testpaths =
Tests
fontTools

View File

@ -16,7 +16,7 @@ download = true
install_command = python -m pip install --only-binary=lxml {opts} {packages}
deps =
cov: coverage>=4.3
pytest
pytest>=7.0.0
pytest-randomly
# add -noextra to tox -e to skip installing extras and only test the core fonttools
!noextra: -rrequirements.txt