From 79d0d11caeb1f86d15e5eb48d9d20fe8c6390e6f Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Aug 03 2021 12:04:34 +0000 Subject: No longer loosen version restriction for pytest-cov --- diff --git a/python-fastapi.spec b/python-fastapi.spec index e209c5e..249214d 100644 --- a/python-fastapi.spec +++ b/python-fastapi.spec @@ -352,8 +352,7 @@ sed -r -i \ # versions. This could have unwanted consequences, but such is the nature of # packaging. # • ujson: https://bugzilla.redhat.com/show_bug.cgi?id=1862763 -# • pytest-cov: https://bugzilla.redhat.com/show_bug.cgi?id=1960609 -sed -r -i 's/("(ujson|pytest-cov))\b[^"]*/\1/' pyproject.toml +sed -r -i 's/("(ujson))\b[^"]*/\1/' pyproject.toml # Allow aiofiles 0.7.x: https://github.com/tiangolo/fastapi/pull/2899 sed -r -i 's/("(aiofiles|)\b[^<"]*,[[:blank:]]*<0\.)6\.0/\18.0/' pyproject.toml