Hello community,
here is the log from the commit of package python-coverage for openSUSE:Factory
checked in at 2019-03-29 20:36:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-coverage (Old)
and /work/SRC/openSUSE:Factory/.python-coverage.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-coverage"
Fri Mar 29 20:36:55 2019 rev:37 rq:687617 version:4.5.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes
2019-01-08 12:16:31.837035353 +0100
+++
/work/SRC/openSUSE:Factory/.python-coverage.new.25356/python-coverage.changes
2019-03-29 20:36:57.794622694 +0100
@@ -1,0 +2,7 @@
+Mon Mar 11 10:03:32 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 4.5.3:
+ * Only packaging metadata changes.
+- Run fdupes
+
+-------------------------------------------------------------------
Old:
----
coverage-4.5.2.tar.gz
New:
----
coverage-4.5.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-coverage.spec ++++++
--- /var/tmp/diff_new_pack.xG2u2q/_old 2019-03-29 20:36:59.418624119 +0100
+++ /var/tmp/diff_new_pack.xG2u2q/_new 2019-03-29 20:36:59.422624121 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-coverage
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-coverage
-Version: 4.5.2
+Version: 4.5.3
Release: 0
Summary: Code coverage measurement for Python
License: Apache-2.0
@@ -26,16 +26,19 @@
URL: https://github.com/nedbat/coveragepy
Source:
https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{version}.tar.gz
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module flaky}
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module pytest-xdist}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module unittest-mixins}
+BuildRequires: %{python_module xml}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
-# Test requirements:
-#BuildRequires: python-mock
-#BuildRequires: python-nose
Requires: python-setuptools
Requires: python-xml
Requires(post): update-alternatives
Requires(postun): update-alternatives
-Requires(pre): coreutils
%python_subpackages
%description
@@ -45,6 +48,14 @@
%prep
%setup -q -n coverage-%{version}
+# do not require xdist
+sed -i -e '/addopts/d' setup.cfg
+# writes in /usr/
+rm tests/test_process.py
+# summary differs trivialy
+rm tests/test_summary.py
+# requires additional plugins
+rm tests/test_plugins.py
%build
%python_build
@@ -52,6 +63,7 @@
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/coverage
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
%if 0%{?have_python2} && ! 0%{?skip_python2}
ln -sf coverage-%{python2_version} %{buildroot}%{_bindir}/coverage2
%endif
@@ -59,14 +71,30 @@
ln -sf coverage-%{python3_version} %{buildroot}%{_bindir}/coverage3
%endif
-#NOTE(saschpe): The following seems to mess with the install dir, which is odd:
-#%%check
-# Taken straight from tox.ini:
-#python setup.py develop
-#python igor.py zip_mods install_egg remove_extension
-#python igor.py test_with_tracer py
-#python setup.py --quiet build_ext --inplace
-#python igor.py test_with_tracer c
+%check
+# GetZipBytesTest.test_get_encoded_zip_files - needs zip command
+# test_egg - needs generated egg file
+# test_doctest - weird doctest importing
+# test_unicode - differs between py2/py3
+# test_version - checks for non-compiled variant, we ship only compiled one
+# test_multiprocessing_with_branching - whitespace issue in regexp
+# test_farm - tries to write in /usr
+# test_dothtml_not_python - no idea
+# test_bytes
+# test_one_of
+export LANG=en_US.UTF8
+# Copy executables to py2/3 build areas, to be used for testing
+%{python_expand mkdir build/bin
+for filepath in %{buildroot}/%{_bindir}/coverage*-%{$python_bin_suffix}; do
+ filename=$(basename $filepath)
+ unsuffixed=${filename/-%{$python_bin_suffix}/}
+ cp $filepath build/bin/$unsuffixed
+done
+export PATH="$(pwd)/build/bin:$PATH"
+export PYTHONPATH=%{buildroot}%{$python_sitearch}
+py.test-%{$python_bin_suffix} -v -k 'not (test_get_encoded_zip_files or
test_egg or test_doctest or test_unicode or test_version or
test_multiprocessing_with_branching or test_farm or test_dothtml_not_python or
test_one_of or test_bytes)'
+rm -r build/bin
+}
%post
%python_install_alternative coverage
++++++ coverage-4.5.2.tar.gz -> coverage-4.5.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.2/CHANGES.rst
new/coverage-4.5.3/CHANGES.rst
--- old/coverage-4.5.2/CHANGES.rst 2018-11-12 14:59:11.000000000 +0100
+++ new/coverage-4.5.3/CHANGES.rst 2019-03-09 14:05:19.000000000 +0100
@@ -16,6 +16,14 @@
.. ----------------------------
+.. _changes_453:
+
+Version 4.5.3 -- 2019-03-09
+---------------------------
+
+- Only packaging metadata changes.
+
+
.. _changes_452:
Version 4.5.2 --- 2018-11-12
@@ -24,7 +32,7 @@
- Namespace packages are supported on Python 3.7, where they used to cause
TypeErrors about path being None. Fixes `issue 700`_.
-- Python 3.8 (as of today!) passes all tests. Fixes `issue 707` and
+- Python 3.8 (as of today!) passes all tests. Fixes `issue 707`_ and
`issue 714`_.
- Development moved from `Bitbucket`_ to `GitHub`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.2/NOTICE.txt
new/coverage-4.5.3/NOTICE.txt
--- old/coverage-4.5.2/NOTICE.txt 2018-11-03 14:30:32.000000000 +0100
+++ new/coverage-4.5.3/NOTICE.txt 2019-03-09 14:25:01.000000000 +0100
@@ -1,5 +1,5 @@
Copyright 2001 Gareth Rees. All rights reserved.
-Copyright 2004-2018 Ned Batchelder. All rights reserved.
+Copyright 2004-2019 Ned Batchelder. All rights reserved.
Except where noted otherwise, this software is licensed under the Apache
License, Version 2.0 (the "License"); you may not use this work except in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.2/PKG-INFO new/coverage-4.5.3/PKG-INFO
--- old/coverage-4.5.2/PKG-INFO 2018-11-12 15:23:07.000000000 +0100
+++ new/coverage-4.5.3/PKG-INFO 2019-03-10 13:28:37.000000000 +0100
@@ -1,8 +1,8 @@
Metadata-Version: 1.2
Name: coverage
-Version: 4.5.2
+Version: 4.5.3
Summary: Code coverage measurement for Python
-Home-page: https://bitbucket.org/ned/coveragepy
+Home-page: https://github.com/nedbat/coveragepy
Author: Ned Batchelder and 100 others
Author-email: [email protected]
License: Apache 2.0
@@ -26,7 +26,7 @@
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::
doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png
+ .. |tideliftlogo| image::
https://nedbatchelder.com/pix/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png
:width: 75
:alt: Tidelift
@@ -44,16 +44,15 @@
Coverage.py runs on many versions of Python:
- * CPython 2.6, 2.7 and 3.3 through pre-alpha 3.8.
- * PyPy2 5.10 and PyPy3 5.10.
+ * CPython 2.6, 2.7 and 3.3 through alpha 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.
Documentation is on `Read the Docs`_. Code repository and issue
tracker are on
- `Bitbucket`_, with a mirrored repository on `GitHub`_.
+ `GitHub`_.
.. _Read the Docs: https://coverage.readthedocs.io/
- .. _Bitbucket: https://bitbucket.org/ned/coveragepy
.. _GitHub: https://github.com/nedbat/coveragepy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.2/README.rst
new/coverage-4.5.3/README.rst
--- old/coverage-4.5.2/README.rst 2018-11-12 13:37:01.000000000 +0100
+++ new/coverage-4.5.3/README.rst 2019-03-09 14:04:03.000000000 +0100
@@ -18,7 +18,7 @@
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::
doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png
+.. |tideliftlogo| image::
https://nedbatchelder.com/pix/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png
:width: 75
:alt: Tidelift
@@ -36,16 +36,15 @@
Coverage.py runs on many versions of Python:
-* CPython 2.6, 2.7 and 3.3 through pre-alpha 3.8.
-* PyPy2 5.10 and PyPy3 5.10.
+* CPython 2.6, 2.7 and 3.3 through alpha 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.
Documentation is on `Read the Docs`_. Code repository and issue tracker are on
-`Bitbucket`_, with a mirrored repository on `GitHub`_.
+`GitHub`_.
.. _Read the Docs: https://coverage.readthedocs.io/
-.. _Bitbucket: https://bitbucket.org/ned/coveragepy
.. _GitHub: https://github.com/nedbat/coveragepy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.2/coverage/version.py
new/coverage-4.5.3/coverage/version.py
--- old/coverage-4.5.2/coverage/version.py 2018-11-12 14:57:44.000000000
+0100
+++ new/coverage-4.5.3/coverage/version.py 2019-03-09 14:24:30.000000000
+0100
@@ -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, 2, 'final', 0)
+version_info = (4, 5, 3, 'final', 0)
def _make_version(major, minor, micro, releaselevel, serial):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.2/coverage.egg-info/PKG-INFO
new/coverage-4.5.3/coverage.egg-info/PKG-INFO
--- old/coverage-4.5.2/coverage.egg-info/PKG-INFO 2018-11-12
15:23:05.000000000 +0100
+++ new/coverage-4.5.3/coverage.egg-info/PKG-INFO 2019-03-10
13:28:36.000000000 +0100
@@ -1,8 +1,8 @@
Metadata-Version: 1.2
Name: coverage
-Version: 4.5.2
+Version: 4.5.3
Summary: Code coverage measurement for Python
-Home-page: https://bitbucket.org/ned/coveragepy
+Home-page: https://github.com/nedbat/coveragepy
Author: Ned Batchelder and 100 others
Author-email: [email protected]
License: Apache 2.0
@@ -26,7 +26,7 @@
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::
doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png
+ .. |tideliftlogo| image::
https://nedbatchelder.com/pix/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png
:width: 75
:alt: Tidelift
@@ -44,16 +44,15 @@
Coverage.py runs on many versions of Python:
- * CPython 2.6, 2.7 and 3.3 through pre-alpha 3.8.
- * PyPy2 5.10 and PyPy3 5.10.
+ * CPython 2.6, 2.7 and 3.3 through alpha 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.
Documentation is on `Read the Docs`_. Code repository and issue
tracker are on
- `Bitbucket`_, with a mirrored repository on `GitHub`_.
+ `GitHub`_.
.. _Read the Docs: https://coverage.readthedocs.io/
- .. _Bitbucket: https://bitbucket.org/ned/coveragepy
.. _GitHub: https://github.com/nedbat/coveragepy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.2/doc/conf.py
new/coverage-4.5.3/doc/conf.py
--- old/coverage-4.5.2/doc/conf.py 2018-11-12 15:01:05.000000000 +0100
+++ new/coverage-4.5.3/doc/conf.py 2019-03-09 14:27:51.000000000 +0100
@@ -49,7 +49,7 @@
# General information about the project.
project = u'Coverage.py'
-copyright = u'2009\N{EN DASH}2018, 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.2' # CHANGEME
+release = '4.5.3' # 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.2/doc/index.rst
new/coverage-4.5.3/doc/index.rst
--- old/coverage-4.5.2/doc/index.rst 2018-11-12 15:00:32.000000000 +0100
+++ new/coverage-4.5.3/doc/index.rst 2019-03-09 14:27:02.000000000 +0100
@@ -64,10 +64,10 @@
.. ifconfig:: not prerelease
- The latest version is coverage.py 4.5.2, released November 12th 2018. It
+ 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 pre-alpha 3.8.
+ * Python versions 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, and alpha 3.8.
* PyPy2 6.0 and PyPy3 6.0.
@@ -107,11 +107,6 @@
.. _Tidelift Subscription:
https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=docs
-Professional support for coverage.py is available as part of the `Tidelift
-Subscription`_.
-
-.. _Tidelift Subscription:
https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=docs
-
Quick start
-----------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.2/doc/requirements.pip
new/coverage-4.5.3/doc/requirements.pip
--- old/coverage-4.5.2/doc/requirements.pip 2018-11-12 13:37:01.000000000
+0100
+++ new/coverage-4.5.3/doc/requirements.pip 2019-03-09 13:56:44.000000000
+0100
@@ -2,10 +2,8 @@
# https://requires.io/github/nedbat/coveragepy/requirements/
+doc8==0.8.0
pyenchant==2.0.0
sphinx==1.6.6
sphinxcontrib-spelling==4.0.1
sphinx_rtd_theme==0.2.4
-
-# A version of doc8 with a -q flag.
-git+https://github.com/nedbat/doc8.git#egg=doc8==0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.2/howto.txt new/coverage-4.5.3/howto.txt
--- old/coverage-4.5.2/howto.txt 2018-11-12 15:09:43.000000000 +0100
+++ new/coverage-4.5.3/howto.txt 2019-03-10 13:27:20.000000000 +0100
@@ -1,5 +1,6 @@
* Release checklist
+- Check that the current virtualenv matches the currnet coverage branch.
- Version number in coverage/version.py
version_info = (4, 0, 2, 'alpha', 1)
version_info = (4, 0, 2, 'beta', 1)
@@ -43,7 +44,7 @@
$ make publish
- Kits:
- Start fresh:
- - $ make clean
+ - $ make sterile
- Source kit and wheels:
- $ make kit wheel
- Linux wheels:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.2/setup.py new/coverage-4.5.3/setup.py
--- old/coverage-4.5.2/setup.py 2018-11-12 14:58:25.000000000 +0100
+++ new/coverage-4.5.3/setup.py 2019-03-09 13:56:17.000000000 +0100
@@ -106,7 +106,7 @@
keywords='code coverage testing',
license='Apache 2.0',
classifiers=classifier_list,
- url="https://bitbucket.org/ned/coveragepy",
+ url="https://github.com/nedbat/coveragepy",
python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4",
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/coverage-4.5.2/tests/test_setup.py
new/coverage-4.5.3/tests/test_setup.py
--- old/coverage-4.5.2/tests/test_setup.py 2018-11-12 13:37:02.000000000
+0100
+++ new/coverage-4.5.3/tests/test_setup.py 2019-03-09 13:56:17.000000000
+0100
@@ -28,7 +28,7 @@
out = output.splitlines()
self.assertIn("measurement", out[0])
self.assertEqual(coverage.__version__, out[1])
- self.assertIn("bitbucket.org/ned/coveragepy", out[2])
+ self.assertIn("github.com/nedbat/coveragepy", out[2])
self.assertIn("Ned Batchelder", out[3])
def test_more_metadata(self):