diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index caee6f9..6d5ce9b 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -9,7 +9,7 @@ Name: python-%{srcname} Version: 2.8.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Pytest plugin for coverage reporting License: MIT @@ -91,9 +91,9 @@ rm -rf *.egg-info # test_dist_missing_data needs internet # test_central_subprocess/dist_subprocess https://github.com/pytest-dev/pytest-cov/issues/90 # test_subprocess_with_path_aliasing and test_dist_combine_racecondition tries to match strings and fails, mostly version mismatch -# To read a custom pth-file we need to add that path to site-dir, needed for tests at RPM build time -echo "import site;site.addsitedir(\"$(pwd)/src\")" > tests/sitecustomize.py -export PYTHONPATH="$(pwd)"/tests +# To read a custom pth-file we need to add that path to site-dir, needed for tests at RPM build time +echo "import site;site.addsitedir(\"$(pwd)/src\")" > tests/sitecustomize.py +export PYTHONPATH="$(pwd)"/build/lib py.test-%{python3_version} -vv \ -k "not test_dist_missing_data and not test_subprocess_with_path_aliasing and not test_dist_combine_racecondition and not central_subprocess and not dist_subprocess" @@ -112,6 +112,9 @@ py.test-%{python3_version} -vv \ %changelog +* Mon Mar 2 2020 Chedi Toueiti - 2.8.1-5 +- Forcing current pytest-cov version usage during checks + * Thu Jan 30 2020 Fedora Release Engineering - 2.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild