From 8ea0372b0fe6c2c6c727f522c1a018af045fecac Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jun 06 2023 16:51:57 +0000 Subject: Do not BuildRequire pytest-cov, it is discouraged and was not needed --- diff --git a/python-build.spec b/python-build.spec index 878c7f4..9e182aa 100644 --- a/python-build.spec +++ b/python-build.spec @@ -34,6 +34,9 @@ A simple, correct PEP517 package builder. # deprecated python3-toml is not needed on Python 3.11+ # upstream: https://github.com/pypa/build/pull/563 sed -Ei '/\btoml\b/d' pyproject.toml +# coverage is discouraged in Python packages +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters +sed -Ei '/\bpytest-cov\b/d' pyproject.toml %generate_buildrequires %pyproject_buildrequires -x test,virtualenv