From ac2ec10d17e350ccccc844fa70e1a332e1498688ea1837cb17dcba91bbf3c12e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 15 Nov 2016 10:06:55 +0000 Subject: [PATCH 1/2] =?UTF-8?q?-=20update=20to=204.2:=20=20=20-=20Since=20?= =?UTF-8?q?``concurrency=3Dmultiprocessing``=20uses=20subprocesses,=20opti?= =?UTF-8?q?ons=20specified=20on=20=20=20=20=20the=20coverage.py=20command?= =?UTF-8?q?=20line=20will=20not=20be=20communicated=20down=20to=20them.=20?= =?UTF-8?q?=20Only=20=20=20=20=20options=20in=20the=20configuration=20file?= =?UTF-8?q?=20will=20apply=20to=20the=20subprocesses.=20=20=20=20=20Previo?= =?UTF-8?q?usly,=20the=20options=20didn't=20apply=20to=20the=20subprocesse?= =?UTF-8?q?s,=20but=20there=20was=20no=20=20=20=20=20indication.=20=20Now?= =?UTF-8?q?=20it=20is=20an=20error=20to=20use=20``--concurrency=3Dmultipro?= =?UTF-8?q?cessing``=20and=20=20=20=20=20other=20run-affecting=20options?= =?UTF-8?q?=20on=20the=20command=20line.=20=20This=20prevents=20=20=20=20?= =?UTF-8?q?=20failures=20like=20those=20reported=20in=20`issue=20495`=5F.?= =?UTF-8?q?=20=20=20-=20Filtering=20the=20HTML=20report=20is=20now=20faste?= =?UTF-8?q?r,=20thanks=20to=20Ville=20Skytt=C3=A4.?= 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/python-coverage?expand=0&rev=51 --- coverage-4.0.3.tar.gz | 3 --- coverage-4.2.tar.gz | 3 +++ python-coverage.changes | 13 +++++++++++++ python-coverage.spec | 6 +++--- 4 files changed, 19 insertions(+), 6 deletions(-) delete mode 100644 coverage-4.0.3.tar.gz create mode 100644 coverage-4.2.tar.gz diff --git a/coverage-4.0.3.tar.gz b/coverage-4.0.3.tar.gz deleted file mode 100644 index 3cfeffd..0000000 --- a/coverage-4.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:85b1275b6d7a61ccc8024a4e9a4c9e896394776edce1a5d075ec116f91925462 -size 354482 diff --git a/coverage-4.2.tar.gz b/coverage-4.2.tar.gz new file mode 100644 index 0000000..801bdad --- /dev/null +++ b/coverage-4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e312776d3ef04632ec742ce2d2b7048b635073e0245e4f44dfe8b08cc50ac656 +size 359873 diff --git a/python-coverage.changes b/python-coverage.changes index 07faa6a..3dc44ca 100644 --- a/python-coverage.changes +++ b/python-coverage.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Nov 15 10:06:32 UTC 2016 - dmueller@suse.com + +- update to 4.2: + - Since ``concurrency=multiprocessing`` uses subprocesses, options specified on + the coverage.py command line will not be communicated down to them. Only + options in the configuration file will apply to the subprocesses. + Previously, the options didn't apply to the subprocesses, but there was no + indication. Now it is an error to use ``--concurrency=multiprocessing`` and + other run-affecting options on the command line. This prevents + failures like those reported in `issue 495`_. + - Filtering the HTML report is now faster, thanks to Ville Skyttä. + ------------------------------------------------------------------- Mon Dec 28 12:16:34 UTC 2015 - marec@detebe.org diff --git a/python-coverage.spec b/python-coverage.spec index ff6946e..147c1e9 100644 --- a/python-coverage.spec +++ b/python-coverage.spec @@ -1,7 +1,7 @@ # # spec file for package python-coverage # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: python-coverage -Version: 4.0.3 +Version: 4.2 Release: 0 Url: http://nedbatchelder.com/code/coverage/%{version} Summary: Code coverage measurement for Python License: Apache-2.0 Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/c/coverage/coverage-%{version}.tar.gz +Source: https://pypi.io/packages/source/c/coverage/coverage-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-setuptools From 53d560aee65c853833a87939e5dcdb2eb0b4afcccec0f99423da64c6bfc08215 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 18 Jan 2017 13:54:24 +0000 Subject: [PATCH 2/2] Accepting request 450363 from home:frispete:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - update to Version 4.3.1 — 2016-12-28: - Some environments couldn’t install 4.3, as described in issue 540. This is now fixed. - The check for conflicting --source and --include was too simple in a few different ways, breaking a few perfectly reasonable use cases, described in issue 541. The check has been reverted while we re-think the fix for issue 265. - update to Version 4.3 — 2016-12-27: Special thanks to Loïc Dachary, who took an extraordinary interest in coverage.py and contributed a number of improvements in this release. - The HTML report now supports a --skip-covered option like the other reporting commands. Thanks, Loïc Dachary for the implementation, closing issue 433. - Subprocesses that are measured with automatic subprocess measurement used to read in any pre-existing data file. This meant data would be incorrectly carried forward from run to run. Now those files are not read, so each subprocess only writes its own data. Fixes issue 510. - Coverage.py wouldn’t execute sys.excepthook when an exception happened in your program. Now it does, thanks to Andrew Hoos. Closes issue 535. - The coverage combine command will now fail if there are no data files to combine. The combine changes in 4.2 meant that multiple combines could lose data, leaving you with an empty .coverage data file. Fixes issues issue 525, issue 412, issue 516, and probably issue 511. - The branch coverage issues described in issue 493, issue 496, and issue 502 are now fixed, thanks to Loïc Dachary. - Options can now be read from a tox.ini file, if any. Like setup.cfg, sections are prefixed with “coverage:”, so [run] options will be read from the [coverage:run] section of tox.ini. Implements part of issue 519. Thanks, Stephen Finucane. - Specifying both --source and --include no longer silently ignores the include setting, instead it fails with a message. Thanks, Nathan Land and OBS-URL: https://build.opensuse.org/request/show/450363 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=52 --- coverage-4.2.tar.gz | 3 --- coverage-4.3.1.tar.gz | 3 +++ python-coverage.changes | 39 +++++++++++++++++++++++++++++++++++++++ python-coverage.spec | 8 ++++---- 4 files changed, 46 insertions(+), 7 deletions(-) delete mode 100644 coverage-4.2.tar.gz create mode 100644 coverage-4.3.1.tar.gz diff --git a/coverage-4.2.tar.gz b/coverage-4.2.tar.gz deleted file mode 100644 index 801bdad..0000000 --- a/coverage-4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e312776d3ef04632ec742ce2d2b7048b635073e0245e4f44dfe8b08cc50ac656 -size 359873 diff --git a/coverage-4.3.1.tar.gz b/coverage-4.3.1.tar.gz new file mode 100644 index 0000000..28162bb --- /dev/null +++ b/coverage-4.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fcc5838147c7b98871f32404ea9d60efc686ccca9adad3024291cb08c0b433cf +size 372102 diff --git a/python-coverage.changes b/python-coverage.changes index 3dc44ca..cb96679 100644 --- a/python-coverage.changes +++ b/python-coverage.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Sat Jan 14 19:28:37 UTC 2017 - hpj@urpla.net + +- update to Version 4.3.1 — 2016-12-28: + - Some environments couldn’t install 4.3, as described in issue 540. This is + now fixed. + - The check for conflicting --source and --include was too simple in a few + different ways, breaking a few perfectly reasonable use cases, described in + issue 541. The check has been reverted while we re-think the fix for issue 265. + +- update to Version 4.3 — 2016-12-27: + Special thanks to Loïc Dachary, who took an extraordinary interest in + coverage.py and contributed a number of improvements in this release. + - The HTML report now supports a --skip-covered option like the other + reporting commands. Thanks, Loïc Dachary for the implementation, closing + issue 433. + - Subprocesses that are measured with automatic subprocess measurement used + to read in any pre-existing data file. This meant data would be incorrectly + carried forward from run to run. Now those files are not read, so each + subprocess only writes its own data. Fixes issue 510. + - Coverage.py wouldn’t execute sys.excepthook when an exception happened in + your program. Now it does, thanks to Andrew Hoos. Closes issue 535. + + - The coverage combine command will now fail if there are no data files to + combine. The combine changes in 4.2 meant that multiple combines could lose + data, leaving you with an empty .coverage data file. Fixes issues issue 525, + issue 412, issue 516, and probably issue 511. + - The branch coverage issues described in issue 493, issue 496, and issue 502 + are now fixed, thanks to Loïc Dachary. + - Options can now be read from a tox.ini file, if any. Like setup.cfg, + sections are prefixed with “coverage:”, so [run] options will be read from + the [coverage:run] section of tox.ini. Implements part of issue 519. Thanks, + Stephen Finucane. + - Specifying both --source and --include no longer silently ignores the + include setting, instead it fails with a message. Thanks, Nathan Land and + Loïc Dachary. Closes issue 265. + - Coverage.py can now search .pex files for source, just as it can .zip and + .egg. Thanks, Peter Ebden. + ------------------------------------------------------------------- Tue Nov 15 10:06:32 UTC 2016 - dmueller@suse.com diff --git a/python-coverage.spec b/python-coverage.spec index 147c1e9..f99ada5 100644 --- a/python-coverage.spec +++ b/python-coverage.spec @@ -1,7 +1,7 @@ # # spec file for package python-coverage # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: python-coverage -Version: 4.2 +Version: 4.3.1 Release: 0 Url: http://nedbatchelder.com/code/coverage/%{version} Summary: Code coverage measurement for Python License: Apache-2.0 Group: Development/Languages/Python -Source: https://pypi.io/packages/source/c/coverage/coverage-%{version}.tar.gz +Source: https://pypi.python.org/packages/88/3c/b4d4774e8254bd327e5303542109497d1304670c2a3e8b8f1cd8beb3de93/coverage-4.3.1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-setuptools @@ -81,7 +81,7 @@ fi %files %defattr(-,root,root,-) -%doc AUTHORS.txt CHANGES.rst README.rst LICENSE.txt +%doc CHANGES.rst CONTRIBUTORS.txt README.rst LICENSE.txt TODO.txt howto.txt %{_bindir}/coverage %{_bindir}/coverage2 %{_bindir}/coverage-%{py_ver}