From cf2e82f5f82fc9527c888c60beb4a9111e73c806dbc33cacb3a5660f5103c107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 9 Jun 2020 08:12:29 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=202.9.0:=20=20=20*=20Fixed=20Re?= =?UTF-8?q?movedInPytest4Warning=20when=20using=20Pytest=203.10.=20Contrib?= =?UTF-8?q?uted=20by=20Michael=20Manganiello=20in=20#354.=20=20=20*=20Made?= =?UTF-8?q?=20pytest=20startup=20faster=20when=20plugin=20not=20active=20b?= =?UTF-8?q?y=20lazy-importing.=20Contributed=20by=20Anders=20Hovm=C3=83?= =?UTF-8?q?=C2=B6ller=20in=20#339.=20=20=20*=20Various=20CI=20improvements?= =?UTF-8?q?.=20Contributed=20by=20Daniel=20Hahler=20in=20#363=20and=20#364?= =?UTF-8?q?.=20=20=20*=20Various=20Python=20support=20updates=20(drop=20EO?= =?UTF-8?q?L=203.4,=20test=20against=203.8=20final).=20Contributed=20by=20?= =?UTF-8?q?Hugo=20van=20Kemenade=20in=20#336=20and=20#367.=20=20=20*=20Cha?= =?UTF-8?q?nged=20--cov-append=20to=20always=20enable=20data=5Fsuffix=20(a?= =?UTF-8?q?=20coverage=20setting).=20Contributed=20by=20Harm=20Geerts=20in?= =?UTF-8?q?=20#387.=20=20=20*=20Changed=20--cov-append=20to=20handle=20loa?= =?UTF-8?q?ding=20previous=20data=20better=20(fixes=20various=20path=20ali?= =?UTF-8?q?asing=20issues).=20=20=20*=20Various=20other=20testing=20improv?= =?UTF-8?q?ements,=20github=20issue=20templates,=20example=20updates.=20?= =?UTF-8?q?=20=20*=20Fixed=20internal=20failures=20that=20are=20caused=20b?= =?UTF-8?q?y=20tests=20that=20change=20the=20current=20working=20directory?= =?UTF-8?q?=20by=20ensuring=20a=20consistent=20working=20directory=20when?= =?UTF-8?q?=20coverage=20is=20called.=20See=20#306=20and=20coveragepy#881?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=16 --- pytest-cov-2.8.1.tar.gz | 3 --- pytest-cov-2.9.0.tar.gz | 3 +++ python-pytest-cov.changes | 13 +++++++++++++ python-pytest-cov.spec | 8 +++----- 4 files changed, 19 insertions(+), 8 deletions(-) delete mode 100644 pytest-cov-2.8.1.tar.gz create mode 100644 pytest-cov-2.9.0.tar.gz diff --git a/pytest-cov-2.8.1.tar.gz b/pytest-cov-2.8.1.tar.gz deleted file mode 100644 index 5c99a0b..0000000 --- a/pytest-cov-2.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cc6742d8bac45070217169f5f72ceee1e0e55b0221f54bcf24845972d3a47f2b -size 47661 diff --git a/pytest-cov-2.9.0.tar.gz b/pytest-cov-2.9.0.tar.gz new file mode 100644 index 0000000..7fd2fe5 --- /dev/null +++ b/pytest-cov-2.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6a814b8ed6247bd81ff47f038511b57fe1ce7f4cc25b9106f1a4b106f1d9322 +size 54269 diff --git a/python-pytest-cov.changes b/python-pytest-cov.changes index f187c82..b77c999 100644 --- a/python-pytest-cov.changes +++ b/python-pytest-cov.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Jun 9 08:07:16 UTC 2020 - Tomáš Chvátal + +- 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 diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index a951ae1..0d2a113 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-cov -Version: 2.8.1 +Version: 2.9.0 Release: 0 Summary: Pytest plugin for coverage reporting License: MIT @@ -61,11 +61,9 @@ through pytest-cov or through coverage's config file. # test_dist_missing_data - needs internet access # 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_multiprocessing* - deadlocks under Python 3.8 -# test_dist_combine_racecondition - text ordering under Python 3.8 -# test_cover_looponfail - breaks with new pytest +export PYTHONDONTWRITEBYTECODE=1 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} %license LICENSE