diff --git a/coverage-7.6.10.tar.gz b/coverage-7.6.10.tar.gz deleted file mode 100644 index 3f37b5a..0000000 --- a/coverage-7.6.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7fb105327c8f8f0682e29843e2ff96af9dcbe5bab8eeb4b398c6a33a16d80a23 -size 803868 diff --git a/coverage-7.7.1.tar.gz b/coverage-7.7.1.tar.gz new file mode 100644 index 0000000..054d2c2 --- /dev/null +++ b/coverage-7.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:199a1272e642266b90c9f40dec7fd3d307b51bf639fa0d15980dc0b3246c1393 +size 810332 diff --git a/python-coverage.changes b/python-coverage.changes index e59c02e..f5c78da 100644 --- a/python-coverage.changes +++ b/python-coverage.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu Mar 27 09:44:38 UTC 2025 - Markéta Machová + +- update to 7.7.1 + * The Coverage object has a new method, .Coverage.branch_stats + for getting simple branch information for a module. + * The Coverage constructor<.Coverage> now has a plugins parameter + for passing in plugin objects directly. + * Many constant tests in if statements are now recognized as + being optimized away. + * The experimental sys.monitoring support now works for branch + coverage if you are using Python 3.14.0 alpha 6 or newer. + * A few small tweaks to the sys.monitoring support for Python 3.14. + Please test! +- Add setuptools77.patch to fix tests with setuptools 77 + ------------------------------------------------------------------- Thu Jan 2 14:15:50 UTC 2025 - Dirk Müller diff --git a/python-coverage.spec b/python-coverage.spec index ca86b01..1adc00c 100644 --- a/python-coverage.spec +++ b/python-coverage.spec @@ -18,12 +18,14 @@ %{?sle15_python_module_pythons} Name: python-coverage -Version: 7.6.10 +Version: 7.7.1 Release: 0 Summary: Code coverage measurement for Python License: Apache-2.0 URL: https://github.com/nedbat/coveragepy Source: https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{version}.tar.gz +# PATCH-FIX-UPSTREAM https://github.com/nedbat/coveragepy/commit/ba685fb8d06a2052c4916749539ef501b8080804 build: setuptools 77 doesn't like license classifiers. +Patch: setuptools77.patch BuildRequires: %{python_module devel >= 3.9} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} diff --git a/setuptools77.patch b/setuptools77.patch new file mode 100644 index 0000000..2bcbb05 --- /dev/null +++ b/setuptools77.patch @@ -0,0 +1,21 @@ +From ba685fb8d06a2052c4916749539ef501b8080804 Mon Sep 17 00:00:00 2001 +From: Ned Batchelder +Date: Sat, 22 Mar 2025 08:59:45 -0400 +Subject: [PATCH] build: setuptools 77 doesn't like license classifiers. #1939 + +--- + setup.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 9aa82bf91..8fcec5e2d 100644 +--- a/setup.py ++++ b/setup.py +@@ -19,7 +19,6 @@ + classifiers = """\ + Environment :: Console + Intended Audience :: Developers +-License :: OSI Approved :: Apache Software License + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 3