Accepting request 1265232 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1265232 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=67
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7fb105327c8f8f0682e29843e2ff96af9dcbe5bab8eeb4b398c6a33a16d80a23
|
||||
size 803868
|
BIN
coverage-7.7.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
coverage-7.7.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 27 09:44:38 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
@@ -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}
|
||||
|
21
setuptools77.patch
Normal file
21
setuptools77.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
From ba685fb8d06a2052c4916749539ef501b8080804 Mon Sep 17 00:00:00 2001
|
||||
From: Ned Batchelder <ned@nedbatchelder.com>
|
||||
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
|
Reference in New Issue
Block a user