Use pytest<7 for tests
This commit is contained in:
parent
11dd0e9380
commit
c155e2a351
2
setup.py
2
setup.py
@ -52,7 +52,7 @@ WEB_FILES = ["web/internal_data/css/icon.png",
|
||||
setup_requires = []
|
||||
if {"pytest", "test", "ptr"}.intersection(sys.argv):
|
||||
setup_requires.append("pytest-runner")
|
||||
tests_require = ["pytest-runner", "pytest", "pytest-cov", "pytest-flake8",
|
||||
tests_require = ["pytest-runner", "pytest<7", "pytest-cov", "pytest-flake8",
|
||||
"pytest-isort", "typeguard", "waitress"]
|
||||
os.environ["PYTEST_ADDOPTS"] = os.environ.get("PYTEST_ADDOPTS", "")
|
||||
# Mypy only supports CPython
|
||||
|
Loading…
Reference in New Issue
Block a user