Hello community,
here is the log from the commit of package python-coverage for openSUSE:Factory
checked in at 2019-09-23 12:09:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-coverage (Old)
and /work/SRC/openSUSE:Factory/.python-coverage.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-coverage"
Mon Sep 23 12:09:27 2019 rev:38 rq:730674 version:4.5.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes
2019-03-29 20:36:57.794622694 +0100
+++
/work/SRC/openSUSE:Factory/.python-coverage.new.7948/python-coverage.changes
2019-09-23 12:09:28.781884869 +0200
@@ -1,0 +2,6 @@
+Fri Sep 13 10:39:23 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 4.5.4:
+ * Multiprocessing support in Python 3.8 was broken, but is now fixed
+
+-------------------------------------------------------------------
Old:
----
coverage-4.5.3.tar.gz
New:
----
coverage-4.5.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-coverage.spec ++++++
--- /var/tmp/diff_new_pack.VLrTOM/_old 2019-09-23 12:09:29.293884784 +0200
+++ /var/tmp/diff_new_pack.VLrTOM/_new 2019-09-23 12:09:29.297884784 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-coverage
-Version: 4.5.3
+Version: 4.5.4
Release: 0
Summary: Code coverage measurement for Python
License: Apache-2.0
++++++ coverage-4.5.3.tar.gz -> coverage-4.5.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/CHANGES.rst
new/coverage-4.5.4/CHANGES.rst
--- old/coverage-4.5.3/CHANGES.rst 2019-03-09 14:05:19.000000000 +0100
+++ new/coverage-4.5.4/CHANGES.rst 2019-07-29 15:03:08.000000000 +0200
@@ -16,6 +16,17 @@
.. ----------------------------
+.. _changes_454:
+
+Version 4.5.4 -- 2019-07-29
+---------------------------
+
+- Multiprocessing support in Python 3.8 was broken, but is now fixed. Closes
+ `issue 828`_.
+
+.. _issue 828: https://github.com/nedbat/coveragepy/issues/828
+
+
.. _changes_453:
Version 4.5.3 -- 2019-03-09
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/PKG-INFO new/coverage-4.5.4/PKG-INFO
--- old/coverage-4.5.3/PKG-INFO 2019-03-10 13:28:37.000000000 +0100
+++ new/coverage-4.5.4/PKG-INFO 2019-07-29 15:05:58.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: coverage
-Version: 4.5.3
+Version: 4.5.4
Summary: Code coverage measurement for Python
Home-page: https://github.com/nedbat/coveragepy
Author: Ned Batchelder and 100 others
@@ -26,9 +26,10 @@
the code analysis tools and tracing hooks provided in the Python
standard
library to determine which lines are executable, and which have been
executed.
- .. |tideliftlogo| image::
https://nedbatchelder.com/pix/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png
+ .. |tideliftlogo| image::
https://nedbatchelder.com/pix/Tidelift_Logo_small.png
:width: 75
:alt: Tidelift
+ :target:
https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=readme
.. list-table::
:widths: 10 100
@@ -44,7 +45,7 @@
Coverage.py runs on many versions of Python:
- * CPython 2.6, 2.7 and 3.3 through alpha 3.8.
+ * CPython 2.6, 2.7 and 3.3 through beta 3.8.
* PyPy2 6.0 and PyPy3 6.0.
* Jython 2.7.1, though not for reporting.
* IronPython 2.7.7, though not for reporting.
@@ -87,6 +88,15 @@
.. _Contributing section:
https://coverage.readthedocs.io/en/latest/contributing.html
+ Security
+ --------
+
+ To report a security vulnerability, please use the `Tidelift security
+ contact`_. Tidelift will coordinate the fix and disclosure.
+
+ .. _Tidelift security contact: https://tidelift.com/security
+
+
License
-------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/README.rst
new/coverage-4.5.4/README.rst
--- old/coverage-4.5.3/README.rst 2019-03-09 14:04:03.000000000 +0100
+++ new/coverage-4.5.4/README.rst 2019-07-29 14:28:17.000000000 +0200
@@ -18,9 +18,10 @@
the code analysis tools and tracing hooks provided in the Python standard
library to determine which lines are executable, and which have been executed.
-.. |tideliftlogo| image::
https://nedbatchelder.com/pix/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png
+.. |tideliftlogo| image:: https://nedbatchelder.com/pix/Tidelift_Logo_small.png
:width: 75
:alt: Tidelift
+ :target:
https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=readme
.. list-table::
:widths: 10 100
@@ -36,7 +37,7 @@
Coverage.py runs on many versions of Python:
-* CPython 2.6, 2.7 and 3.3 through alpha 3.8.
+* CPython 2.6, 2.7 and 3.3 through beta 3.8.
* PyPy2 6.0 and PyPy3 6.0.
* Jython 2.7.1, though not for reporting.
* IronPython 2.7.7, though not for reporting.
@@ -79,6 +80,15 @@
.. _Contributing section:
https://coverage.readthedocs.io/en/latest/contributing.html
+Security
+--------
+
+To report a security vulnerability, please use the `Tidelift security
+contact`_. Tidelift will coordinate the fix and disclosure.
+
+.. _Tidelift security contact: https://tidelift.com/security
+
+
License
-------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/ci/tidelift.token
new/coverage-4.5.4/ci/tidelift.token
--- old/coverage-4.5.3/ci/tidelift.token 1970-01-01 01:00:00.000000000
+0100
+++ new/coverage-4.5.4/ci/tidelift.token 2019-05-19 18:54:19.000000000
+0200
@@ -0,0 +1 @@
+user/N2IwOTc0ODMtMTczNC00NjAwLWE5OTItNzBlZjBlNDc2ZWE3
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/coverage/env.py
new/coverage-4.5.4/coverage/env.py
--- old/coverage-4.5.3/coverage/env.py 2019-03-09 13:56:17.000000000 +0100
+++ new/coverage-4.5.4/coverage/env.py 2019-07-29 14:28:17.000000000 +0200
@@ -28,6 +28,9 @@
class PYBEHAVIOR(object):
"""Flags indicating this Python's behavior."""
+ # Is "if not __debug__" optimized away even better?
+ optimize_if_not_debug2 = (not PYPY) and (PYVERSION >= (3, 8, 0, 'beta', 1))
+
# When a break/continue/return statement in a try block jumps to a finally
# block, does the finally block do the break/continue/return (pre-3.8), or
# does the finally jump back to the break/continue/return (3.8) to do the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/coverage/multiproc.py
new/coverage-4.5.4/coverage/multiproc.py
--- old/coverage-4.5.3/coverage/multiproc.py 2019-03-09 13:56:17.000000000
+0100
+++ new/coverage-4.5.4/coverage/multiproc.py 2019-07-29 14:28:17.000000000
+0200
@@ -28,7 +28,7 @@
class ProcessWithCoverage(OriginalProcess):
"""A replacement for multiprocess.Process that starts coverage."""
- def _bootstrap(self):
+ def _bootstrap(self, *args, **kwargs): # pylint:
disable=arguments-differ
"""Wrapper around _bootstrap to start coverage."""
from coverage import Coverage # avoid circular import
rcfile = os.environ[COVERAGE_RCFILE_ENV]
@@ -38,7 +38,7 @@
try:
if debug.should("multiproc"):
debug.write("Calling multiprocessing bootstrap")
- return original_bootstrap(self)
+ return original_bootstrap(self, *args, **kwargs)
finally:
if debug.should("multiproc"):
debug.write("Finished multiprocessing bootstrap")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/coverage/version.py
new/coverage-4.5.4/coverage/version.py
--- old/coverage-4.5.3/coverage/version.py 2019-03-09 14:24:30.000000000
+0100
+++ new/coverage-4.5.4/coverage/version.py 2019-07-29 15:03:08.000000000
+0200
@@ -5,7 +5,7 @@
# This file is exec'ed in setup.py, don't import anything!
# Same semantics as sys.version_info.
-version_info = (4, 5, 3, 'final', 0)
+version_info = (4, 5, 4, 'final', 0)
def _make_version(major, minor, micro, releaselevel, serial):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/coverage.egg-info/PKG-INFO
new/coverage-4.5.4/coverage.egg-info/PKG-INFO
--- old/coverage-4.5.3/coverage.egg-info/PKG-INFO 2019-03-10
13:28:36.000000000 +0100
+++ new/coverage-4.5.4/coverage.egg-info/PKG-INFO 2019-07-29
15:05:58.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: coverage
-Version: 4.5.3
+Version: 4.5.4
Summary: Code coverage measurement for Python
Home-page: https://github.com/nedbat/coveragepy
Author: Ned Batchelder and 100 others
@@ -26,9 +26,10 @@
the code analysis tools and tracing hooks provided in the Python
standard
library to determine which lines are executable, and which have been
executed.
- .. |tideliftlogo| image::
https://nedbatchelder.com/pix/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png
+ .. |tideliftlogo| image::
https://nedbatchelder.com/pix/Tidelift_Logo_small.png
:width: 75
:alt: Tidelift
+ :target:
https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=readme
.. list-table::
:widths: 10 100
@@ -44,7 +45,7 @@
Coverage.py runs on many versions of Python:
- * CPython 2.6, 2.7 and 3.3 through alpha 3.8.
+ * CPython 2.6, 2.7 and 3.3 through beta 3.8.
* PyPy2 6.0 and PyPy3 6.0.
* Jython 2.7.1, though not for reporting.
* IronPython 2.7.7, though not for reporting.
@@ -87,6 +88,15 @@
.. _Contributing section:
https://coverage.readthedocs.io/en/latest/contributing.html
+ Security
+ --------
+
+ To report a security vulnerability, please use the `Tidelift security
+ contact`_. Tidelift will coordinate the fix and disclosure.
+
+ .. _Tidelift security contact: https://tidelift.com/security
+
+
License
-------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/coverage.egg-info/SOURCES.txt
new/coverage-4.5.4/coverage.egg-info/SOURCES.txt
--- old/coverage-4.5.3/coverage.egg-info/SOURCES.txt 2019-03-10
13:28:36.000000000 +0100
+++ new/coverage-4.5.4/coverage.egg-info/SOURCES.txt 2019-07-29
15:05:58.000000000 +0200
@@ -23,6 +23,7 @@
ci/install.ps1
ci/manylinux.sh
ci/run_with_env.cmd
+ci/tidelift.token
coverage/__init__.py
coverage/__main__.py
coverage/annotate.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/doc/conf.py
new/coverage-4.5.4/doc/conf.py
--- old/coverage-4.5.3/doc/conf.py 2019-03-09 14:27:51.000000000 +0100
+++ new/coverage-4.5.4/doc/conf.py 2019-07-29 15:03:08.000000000 +0200
@@ -49,7 +49,7 @@
# General information about the project.
project = u'Coverage.py'
-copyright = u'2009\N{EN DASH}2019, Ned Batchelder' # CHANGEME
+copyright = u'2009\N{EN DASH}2019, Ned Batchelder.' # CHANGEME
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -58,7 +58,7 @@
# The short X.Y version.
version = '4.5' # CHANGEME
# The full version, including alpha/beta/rc tags.
-release = '4.5.3' # CHANGEME
+release = '4.5.4' # CHANGEME
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/doc/index.rst
new/coverage-4.5.4/doc/index.rst
--- old/coverage-4.5.3/doc/index.rst 2019-03-09 14:27:02.000000000 +0100
+++ new/coverage-4.5.4/doc/index.rst 2019-07-29 14:28:17.000000000 +0200
@@ -67,7 +67,7 @@
The latest version is coverage.py 4.5.3, released March 9, 2019. It
is supported on:
- * Python versions 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, and alpha 3.8.
+ * Python versions 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, and beta 3.8.
* PyPy2 6.0 and PyPy3 6.0.
@@ -98,6 +98,7 @@
:alt: Tidelift
:align: left
:class: tideliftlogo
+ :target:
https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=readme
Professional support for coverage.py is available as part of the `Tidelift
Subscription`_. Tidelift gives software development teams a single source for
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/howto.txt new/coverage-4.5.4/howto.txt
--- old/coverage-4.5.3/howto.txt 2019-03-10 13:27:20.000000000 +0100
+++ new/coverage-4.5.4/howto.txt 2019-07-29 14:28:17.000000000 +0200
@@ -1,6 +1,6 @@
* Release checklist
-- Check that the current virtualenv matches the currnet coverage branch.
+- Check that the current virtualenv matches the current coverage branch.
- Version number in coverage/version.py
version_info = (4, 0, 2, 'alpha', 1)
version_info = (4, 0, 2, 'beta', 1)
@@ -22,23 +22,22 @@
- Generate new sample_html to get the latest, incl footer version number:
make clean
pip install -e .
- pip install nose
cd ~/cog/trunk
rm -rf htmlcov
- coverage run --branch --source=cogapp -m nose
cogapp/test_cogapp.py:CogTestsInMemory
+ coverage run --branch --source=cogapp -m pytest -k CogTestsInMemory
coverage combine
coverage html
- - IF BETA:
+ - IF PRE-RELEASE:
rm -f ~/coverage/trunk/doc/sample_html_beta/*.*
cp -r htmlcov/ ~/coverage/trunk/doc/sample_html_beta/
- - IF NOT BETA:
+ - IF NOT PRE-RELEASE:
rm -f ~/coverage/trunk/doc/sample_html/*.*
cp -r htmlcov/ ~/coverage/trunk/doc/sample_html/
cd ~/coverage/trunk
- - IF NOT BETA:
+ - IF NOT PRE-RELEASE:
check in the new sample html
- Build and publish docs:
- - IF BETA:
+ - IF PRE-RELEASE:
$ make publishbeta
- ELSE:
$ make publish
@@ -54,17 +53,18 @@
- https://ci.appveyor.com/project/nedbat/coveragepy
- $ make download_appveyor
- examine the dist directory, and remove anything that looks malformed.
-- Update PyPi:
+- Update PyPI:
- upload kits:
- $ make kit_upload
- - Visit https://pypi.python.org/pypi?:action=pkg_edit&name=coverage :
- - show/hide the proper versions.
- Tag the tree
- git tag coverage-3.0.1
+ - git push
+ - git push --tags
+
- Bump version:
- coverage/version.py
- increment version number
- - IF NOT BETA:
+ - IF NOT PRE-RELEASE:
- set to alpha-0 if just released
- CHANGES.rst
- add an "Unreleased" section to the top.
@@ -74,13 +74,13 @@
- Update readthedocs
- visit https://readthedocs.org/projects/coverage/versions/
- find the latest tag in the inactive list, edit it, make it active.
- - IF NOT BETA:
+ - keep just the latest version of each x.y release, make the rest
inactive.
+ - IF NOT PRE-RELEASE:
+ - visit https://readthedocs.org/projects/coverage/builds/
+ - wait for the new tag build to finish successfully.
- visit https://readthedocs.org/dashboard/coverage/versions/
- change the default version to the new version
-- Update bitbucket:
- - Issue tracker should get new version number in picker.
- # Note: don't delete old version numbers: it marks changes on the tickets
- # with that number.
+- Visit the fixed issues on GitHub and mention the version it was fixed in.
- Announce on [email protected] .
- Announce on TIP.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/tests/test_arcs.py
new/coverage-4.5.4/tests/test_arcs.py
--- old/coverage-4.5.3/tests/test_arcs.py 2019-03-09 13:56:17.000000000
+0100
+++ new/coverage-4.5.4/tests/test_arcs.py 2019-07-29 14:28:17.000000000
+0200
@@ -1178,7 +1178,10 @@
arcz=".1 12 24 41 26 61 1.",
)
# Before 3.7, no Python optimized away "if not __debug__:"
- if env.PYVERSION < (3, 7, 0, 'alpha', 4):
+ if env.PYBEHAVIOR.optimize_if_not_debug2:
+ arcz = ".1 12 24 41 26 61 1."
+ arcz_missing = ""
+ elif env.PYVERSION < (3, 7, 0, 'alpha', 4):
arcz = ".1 12 23 31 34 41 26 61 1."
arcz_missing = "34 41"
else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.3/tox.ini new/coverage-4.5.4/tox.ini
--- old/coverage-4.5.3/tox.ini 2019-03-09 13:56:17.000000000 +0100
+++ new/coverage-4.5.4/tox.ini 2019-07-29 15:03:04.000000000 +0200
@@ -19,6 +19,8 @@
PyContracts==1.8.0
unittest-mixins==1.4
#-e/Users/ned/unittest_mixins
+ # Version 2.4.1.1 throws warnings all over:
https://github.com/tox-dev/tox/issues/1375
+ pyparsing==2.4.0
py26: unittest2==1.1.0
py{27,33,34,35,36}: gevent==1.2.2
py26: eventlet==0.21.0