diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b6ae977..5d5dda9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -40,6 +40,7 @@ jobs: - script: | python -m pip install --upgrade pip pip install . .[test] + pip install --upgrade pytest<7.1.0,>7.1.0 # 7.1.0 is buggy displayName: 'Install dependencies' - script: | diff --git a/setup.py b/setup.py index 4cb20e7..73a6427 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ # redhat: cairo cairo-dev (tested) # debian: libcairo2-dev ? -test_requires = ['pytest', 'pytest-cov', 'requests_mock'] +test_requires = ['pytest!=7.1.0', 'pytest-cov', 'requests_mock'] setup_requires = ['setuptools_scm', 'cython']