forcing current pytest-cov version usage during checks

epel9
Your Name 5 years ago
parent f477dab35e
commit a3fc9fdb66

@ -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 <chedi.toueiti@gmail.com> - 2.8.1-5
- Forcing current pytest-cov version usage during checks
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save