- Update to 2.9.0:
* Fixed RemovedInPytest4Warning when using Pytest 3.10. Contributed by Michael Manganiello in #354. * Made pytest startup faster when plugin not active by lazy-importing. Contributed by Anders Hovmöller in #339. * Various CI improvements. Contributed by Daniel Hahler in #363 and #364. * Various Python support updates (drop EOL 3.4, test against 3.8 final). Contributed by Hugo van Kemenade in #336 and #367. * Changed --cov-append to always enable data_suffix (a coverage setting). Contributed by Harm Geerts in #387. * Changed --cov-append to handle loading previous data better (fixes various path aliasing issues). * Various other testing improvements, github issue templates, example updates. * Fixed internal failures that are caused by tests that change the current working directory by ensuring a consistent working directory when coverage is called. See #306 and coveragepy#881 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=16
This commit is contained in:
parent
a97c0528d5
commit
cf2e82f5f8
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cc6742d8bac45070217169f5f72ceee1e0e55b0221f54bcf24845972d3a47f2b
|
|
||||||
size 47661
|
|
3
pytest-cov-2.9.0.tar.gz
Normal file
3
pytest-cov-2.9.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b6a814b8ed6247bd81ff47f038511b57fe1ce7f4cc25b9106f1a4b106f1d9322
|
||||||
|
size 54269
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 9 08:07:16 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.9.0:
|
||||||
|
* Fixed RemovedInPytest4Warning when using Pytest 3.10. Contributed by Michael Manganiello in #354.
|
||||||
|
* Made pytest startup faster when plugin not active by lazy-importing. Contributed by Anders Hovmöller in #339.
|
||||||
|
* Various CI improvements. Contributed by Daniel Hahler in #363 and #364.
|
||||||
|
* Various Python support updates (drop EOL 3.4, test against 3.8 final). Contributed by Hugo van Kemenade in #336 and #367.
|
||||||
|
* Changed --cov-append to always enable data_suffix (a coverage setting). Contributed by Harm Geerts in #387.
|
||||||
|
* Changed --cov-append to handle loading previous data better (fixes various path aliasing issues).
|
||||||
|
* Various other testing improvements, github issue templates, example updates.
|
||||||
|
* Fixed internal failures that are caused by tests that change the current working directory by ensuring a consistent working directory when coverage is called. See #306 and coveragepy#881
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 15 12:50:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Wed Jan 15 12:50:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pytest-cov
|
Name: python-pytest-cov
|
||||||
Version: 2.8.1
|
Version: 2.9.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pytest plugin for coverage reporting
|
Summary: Pytest plugin for coverage reporting
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -61,11 +61,9 @@ through pytest-cov or through coverage's config file.
|
|||||||
# test_dist_missing_data - needs internet access
|
# test_dist_missing_data - needs internet access
|
||||||
# test_*_collocated gh#pytest-dev/pytest-cov#358
|
# test_*_collocated gh#pytest-dev/pytest-cov#358
|
||||||
# test_central_subprocess_change_cwd_with_pythonpath - needs pytest cov in venv which is not doable in OBS build
|
# test_central_subprocess_change_cwd_with_pythonpath - needs pytest cov in venv which is not doable in OBS build
|
||||||
# test_multiprocessing* - deadlocks under Python 3.8
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
# test_dist_combine_racecondition - text ordering under Python 3.8
|
|
||||||
# test_cover_looponfail - breaks with new pytest
|
|
||||||
echo "import site;site.addsitedir(\"$(pwd)/src\")" > tests/sitecustomize.py
|
echo "import site;site.addsitedir(\"$(pwd)/src\")" > tests/sitecustomize.py
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:$PWD/tests py.test-%{$python_bin_suffix} -v -k 'not (test_dist_missing_data or test_central_subprocess_change_cwd_with_pythonpath or test_dist_not_collocated or test_dist_subprocess_not_collocated or test_multiprocessing or test_dist_combine_racecondition or test_cover_looponfail)'
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:$PWD/tests py.test-%{$python_bin_suffix} -v -k 'not (test_dist_missing_data or test_central_subprocess_change_cwd_with_pythonpath or test_dist_not_collocated or test_dist_subprocess_not_collocated)'
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user