From 32ee866ee423e13e4c952f8508fcb55be3facacd Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Thu, 25 May 2023 12:22:51 +0100 Subject: [PATCH] require at least pytest >= 7.0.0, fixes issue with monkeypath.setenv in autouse=True fixture Fixes https://github.com/fonttools/fonttools/issues/3078 --- setup.cfg | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index cc7ced3c3..d85a56b40 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,7 +31,7 @@ formats = zip license_files = LICENSE [tool:pytest] -minversion = 3.0 +minversion = 7.0.0 testpaths = Tests fontTools diff --git a/tox.ini b/tox.ini index cf0afea08..ea46928cf 100644 --- a/tox.ini +++ b/tox.ini @@ -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