From ac2ec10d17e350ccccc844fa70e1a332e1498688ea1837cb17dcba91bbf3c12e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 15 Nov 2016 10:06:55 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=204.2:=20=20=20-=20Since=20``co?= =?UTF-8?q?ncurrency=3Dmultiprocessing``=20uses=20subprocesses,=20options?= =?UTF-8?q?=20specified=20on=20=20=20=20=20the=20coverage.py=20command=20l?= =?UTF-8?q?ine=20will=20not=20be=20communicated=20down=20to=20them.=20=20O?= =?UTF-8?q?nly=20=20=20=20=20options=20in=20the=20configuration=20file=20w?= =?UTF-8?q?ill=20apply=20to=20the=20subprocesses.=20=20=20=20=20Previously?= =?UTF-8?q?,=20the=20options=20didn't=20apply=20to=20the=20subprocesses,?= =?UTF-8?q?=20but=20there=20was=20no=20=20=20=20=20indication.=20=20Now=20?= =?UTF-8?q?it=20is=20an=20error=20to=20use=20``--concurrency=3Dmultiproces?= =?UTF-8?q?sing``=20and=20=20=20=20=20other=20run-affecting=20options=20on?= =?UTF-8?q?=20the=20command=20line.=20=20This=20prevents=20=20=20=20=20fai?= =?UTF-8?q?lures=20like=20those=20reported=20in=20`issue=20495`=5F.=20=20?= =?UTF-8?q?=20-=20Filtering=20the=20HTML=20report=20is=20now=20faster,=20t?= =?UTF-8?q?hanks=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