Update to 2.7.1

epel8
Orion Poplawski 6 years ago
parent baf0ab001a
commit 7f99820ec8

1
.gitignore vendored

@ -8,3 +8,4 @@
/pytest-cov-2.5.1.tar.gz /pytest-cov-2.5.1.tar.gz
/pytest-cov-2.6.0.tar.gz /pytest-cov-2.6.0.tar.gz
/pytest-cov-2.6.1.tar.gz /pytest-cov-2.6.1.tar.gz
/pytest-cov-2.7.1.tar.gz

@ -1,7 +1,7 @@
%global srcname pytest-cov %global srcname pytest-cov
Name: python-%{srcname} Name: python-%{srcname}
Version: 2.6.1 Version: 2.7.1
Release: 1%{?dist} Release: 1%{?dist}
Summary: Pytest plugin for coverage reporting Summary: Pytest plugin for coverage reporting
@ -75,7 +75,10 @@ rm -rf *.egg-info
# test_dist_missing_data needs internet # test_dist_missing_data needs internet
# test_central_subprocess/dist_subprocess https://github.com/pytest-dev/pytest-cov/issues/90 # 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 # test_subprocess_with_path_aliasing and test_dist_combine_racecondition tries to match strings and fails, mostly version mismatch
PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version} -vv \ # 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
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" -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"
@ -91,6 +94,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version}
%changelog %changelog
* Sun May 5 2019 Orion Poplawski <orion@nwra.com> - 2.7.1-1
- Update to 2.7.1
* Thu Apr 04 2019 Miro Hrončok <mhroncok@redhat.com> - 2.6.1-1 * Thu Apr 04 2019 Miro Hrončok <mhroncok@redhat.com> - 2.6.1-1
- Update to 2.6.1 for pytest 4 compatibility - Update to 2.6.1 for pytest 4 compatibility

@ -1 +1 @@
SHA512 (pytest-cov-2.6.1.tar.gz) = d277ca7cb183b0c18e126b8a6a36793fb449cb77f3058cfbcd0cea39b2bd9855e53a1a13839b7767b3d3583c1a83199a501c3c1924598946ead32981eff1c56f SHA512 (pytest-cov-2.7.1.tar.gz) = bb2bc5be49b3c2f56a36b6396d6b1a6734e86fb0bf1c2ef29bf8dbc95dcb9364c6deb1525529d46f4ec0ffa6899ef0e94b5f76e5ed892b0a092e69ad6c6e080e

Loading…
Cancel
Save