From 9f33eb42e875b43221c9e6e5a754884a0c1e6ca9 Mon Sep 17 00:00:00 2001 From: Dan Lipsitt <578773+DanLipsitt@users.noreply.github.com> Date: Thu, 10 Feb 2022 08:15:32 -0800 Subject: [PATCH] Workaround for pytest bug. pytest 7.0.0 does not work with python 3.9. Exclude that specific combo. From: https://github.com/pytest-dev/pytest/issues/9608#issuecomment-1030370532 --- tests/dev.requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/dev.requirements.txt b/tests/dev.requirements.txt index d32ffcf..842e5a7 100644 --- a/tests/dev.requirements.txt +++ b/tests/dev.requirements.txt @@ -12,7 +12,9 @@ sqlalchemy_utils==0.36.8 gino-starlette==0.1.1 # Testing -pytest +openapi-spec-validator +pytest; python_version != '3.9' +pytest !=7.0.0; python_version == '3.9' pytest-virtualenv requests asynctest