Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-coverage for openSUSE:Factory 
checked in at 2024-05-16 17:12:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-coverage (Old)
 and      /work/SRC/openSUSE:Factory/.python-coverage.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-coverage"

Thu May 16 17:12:30 2024 rev:62 rq:1173002 version:7.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes  
2023-11-28 22:17:45.490152040 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-coverage.new.1880/python-coverage.changes    
    2024-05-16 17:12:31.694165865 +0200
@@ -1,0 +2,61 @@
+Fri May 10 03:05:12 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Update to 7.5.1:
+  * Fix: a pragma comment on the continuation lines of a multi-line statement
+    now excludes the statement and its body, the same as if the pragma is
+    on the first line.
+  * Fix: very complex source files could cause a maximum recursion error when
+    creating an HTML report.
+  * HTML report improvements:
+    + Support files (JavaScript and CSS) referenced by the HTML report now have
+      hashes added to their names to ensure updated files are used instead of
+      stale cached copies.
+    + Missing branch coverage explanations that said "the condition was never
+      false" now read "the condition was always true" because it's easier to
+      understand.
+    + Column sort order is remembered better as you move between the index
+      pages.
+  * Added initial support for function and class reporting in the HTML report.
+  * Other HTML report improvements:
+    + There is now a "hide covered" checkbox to filter out 100% files.
+    + The index page is always sorted by one of its columns, with clearer
+      indications of the sorting.
+    + The "previous file" shortcut key didn't work on the index page, but now
+      it does.
+  * The debug output showing which configuration files were tried now shows
+    absolute paths to help diagnose problems where settings aren't taking
+    effect, and is renamed from "attempted_config_files" to the more logical
+    "config_files_attempted."
+  * Fix: in some cases, even with [run] relative_files=True, a data file
+    could be created with absolute path names.  When combined with other
+    relative data files, it was random whether the absolute file names would
+    be made relative or not. If they weren't, then a file would be listed
+    twice in reports.
+  * Fix: the last case of a match/case statement had an incorrect message if
+    the branch was missed.  It said the pattern never matched, when actually
+    the branch is missed if the last case always matched.
+  * Fix: clicking a line number in the HTML report now positions more
+    accurately.
+  * Fix: the report:format setting was defined as a boolean, but should be a
+    string.
+  * Fix: in some cases, coverage could fail with a RuntimeError: "Set changed
+    size during iteration."
+  * Fix: setting COVERAGE_CORE=sysmon no longer errors on 3.11 and lower.
+  * Fix: the JSON report now includes an explicit format version number.
+  * Fix: the change for multi-line signature exclusions in 7.3.3 broke other
+    forms of nested clauses being excluded properly.
+  * Fix: in the HTML report, selecting code for copying won't select the line
+    numbers also. Thanks, `Robert Harris <pull 1717_>`_.
+  * Fix: function definitions with multi-line signatures can now be excluded
+    by matching any of the lines.
+  * Fix: XML reports could fail with a TypeError if files had numeric
+    components that were duplicates except for leading zeroes, like file1.py
+    and file001.py.
+  * The coverage annotate command used to announce that it would be removed
+    in a future version. Enough people got in touch to say that they use it,
+    so it will stay. Don't expect it to keep up with other new features though.
+- Set COVERAGE_CORE, so we no longer need to skip the ctrace tests, it will be
+  handled for us.
+- Skip two tests that assert PYTHONPATH is empty, which it can't be.
+
+-------------------------------------------------------------------

Old:
----
  coverage-7.3.2.tar.gz

New:
----
  coverage-7.5.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-coverage.spec ++++++
--- /var/tmp/diff_new_pack.P2isNg/_old  2024-05-16 17:12:32.862208199 +0200
+++ /var/tmp/diff_new_pack.P2isNg/_new  2024-05-16 17:12:32.862208199 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-coverage
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-coverage
-Version:        7.3.2
+Version:        7.5.1
 Release:        0
 Summary:        Code coverage measurement for Python
 License:        Apache-2.0
@@ -32,7 +32,7 @@
 BuildRequires:  python-rpm-macros
 Requires:       python
 Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
 # coverage[toml]
 Recommends:     python-tomli
 # SECTION test requirements
@@ -76,6 +76,8 @@
 # the tests need the empty leading part for importing local test projects"
 export PYTHONPATH=":$PWD/build/mysite"
 
+export COVERAGE_CORE="pytrace"
+
 %python_exec -mcoverage debug sys
 
 # d:l:p:backports 15.4_py39 does not have python3
@@ -91,14 +93,14 @@
 donttest="test_version"
 # test_xdist_sys_path_nuttiness_is_fixed - xdist check that we actually fail 
on purpose
 donttest+=" or test_xdist_sys_path_nuttiness_is_fixed"
-# test_debug_sys_ctracer - requires dep on ctracer
-donttest+=" or test_debug_sys_ctracer"
 # does not find a usable venv
 donttest+=" or test_venv"
 # writes in /usr/
 donttest+=" or test_process"
 # requires additional plugins
 donttest+=" or test_plugins"
+# asserts PYTHONPATH is empty, which it can't be
+donttest+=" or test_report_wildcard or test_run_omit_vs_report_omit"
 
 %pytest_arch -n auto --no-flaky-report -k "$donttest" -rp ||:
 %pytest_arch -n auto --no-flaky-report -k "not ($donttest)"

++++++ coverage-7.3.2.tar.gz -> coverage-7.5.1.tar.gz ++++++
++++ 28556 lines of diff (skipped)

Reply via email to