14
0

- update to 7.9.2:

* Fix: complex conditionals within a line might cause a
    KeyError when using sys.monitoring, as reported in issue
    1991.  This is now fixed.
  * Fix: we can now measure coverage for code in Python archive
    (.par) files. Thanks, Itamer Oren.
  * The "no-ctracer" warning is not issued for Python pre-release
    versions. Coverage doesn't ship compiled wheels for those
    versions, so this was far too noisy.
  * On Python 3.14+, the "sysmon" core is now the default if it's
    supported for your configuration.  Plugins and dynamic
    contexts are still not supported with it.
  * Added a [run] core configuration setting to specify the
    measurement core, which was previously only available through
    the COVERAGE_CORE environment variable. Finishes issue 1746.
  * Fixed incorrect rendering of f-strings with doubled braces,
    closing issue 1980.
  * If the C tracer core can't be imported, a warning ("no-
    ctracer") is issued with the reason.
  * The C tracer core extension module now conforms to PEP 489,
    closing issue 1977.  Thanks, Adam Turner.
  * Fixed a "ValueError: min() arg is an empty sequence" error
    caused by strange empty modules, found by oss-fuzz.
  * Wheels are provided for Windows ARM64 on Python 3.11, 3.12,
    and 3.13. Thanks, Finn Womack.
  * A number of EncodingWarnings were fixed that could appear if
    you've enabled PYTHONWARNDEFAULTENCODING, fixing issue 1966.
    Thanks, Henry Schreiner.
  * Fixed a race condition when using sys.monitoring with free-
    threading Python, closing issue 1970.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=143
This commit is contained in:
2025-07-17 19:36:20 +00:00
committed by Git OBS Bridge
parent 17c1475e4c
commit fbcf24787a
5 changed files with 49 additions and 27 deletions

View File

@@ -18,14 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-coverage
Version: 7.7.1
Version: 7.9.2
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}