commit python-coverage for openSUSE:Factory
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-06-07 15:02:08 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.24587 (New) Package is "python-coverage" Fri Jun 7 15:02:08 2024 rev:63 rq:1178912 version:7.5.3 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2024-05-16 17:12:31.694165865 +0200 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.24587/python-coverage.changes 2024-06-07 15:02:15.501350003 +0200 @@ -1,0 +2,30 @@ +Thu Jun 6 07:29:28 UTC 2024 - Dirk Müller + +- update to 7.5.3: + * Performance improvements for combining data files, especially +when measuring line coverage. A few different quadratic +behaviors were eliminated. In one extreme case of combining +700+ data files, the time dropped from more than three hours +to seven minutes. Thanks for Kraken Tech for funding the +fix. + * Performance improvements for generating HTML reports, with a +side benefit of reducing memory use, closing issue 1791. +Thanks to Daniel Diniz for helping to diagnose the problem. + * Fix: nested matches of exclude patterns could exclude too +much code, as reported in issue 1779. This is now fixed. + * Changed: previously, coverage.py would consider a module +docstring to be an executable statement if it appeared after +line 1 in the file, but not executable if it was the first +line. Now module docstrings are never counted as executable +statements. This can change coverage.py's count of the +number of statements in a file, which can slightly change the +coverage percentage reported. + * In the HTML report, the filter term and "hide covered" +checkbox settings are remembered between viewings, thanks to +Daniel Diniz. + * Python 3.13.0b1 is supported. + * Fix: parsing error handling is improved to ensure bizarre +source files are handled gracefully, and to unblock oss-fuzz +fuzzing, thanks to Liam DeVoe. Closes issue 1787. + +--- Old: coverage-7.5.1.tar.gz New: coverage-7.5.3.tar.gz Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.XK7TeO/_old 2024-06-07 15:02:17.021405379 +0200 +++ /var/tmp/diff_new_pack.XK7TeO/_new 2024-06-07 15:02:17.021405379 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-coverage -Version:7.5.1 +Version:7.5.3 Release:0 Summary:Code coverage measurement for Python License:Apache-2.0 ++ coverage-7.5.1.tar.gz -> coverage-7.5.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coverage-7.5.1/.github/workflows/python-nightly.yml new/coverage-7.5.3/.github/workflows/python-nightly.yml --- old/coverage-7.5.1/.github/workflows/python-nightly.yml 2024-05-04 16:44:25.0 +0200 +++ new/coverage-7.5.3/.github/workflows/python-nightly.yml 2024-05-28 15:52:29.0 +0200 @@ -58,6 +58,7 @@ # https://launchpad.net/~deadsnakes/+archive/ubuntu/nightly/+packages - "3.12-dev" - "3.13-dev" + - "3.14-dev" # https://github.com/actions/setup-python#available-versions-of-pypy - "pypy-3.8-nightly" - "pypy-3.9-nightly" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coverage-7.5.1/CHANGES.rst new/coverage-7.5.3/CHANGES.rst --- old/coverage-7.5.1/CHANGES.rst 2024-05-04 16:44:25.0 +0200 +++ new/coverage-7.5.3/CHANGES.rst 2024-05-28 15:52:29.0 +0200 @@ -22,6 +22,53 @@ .. scriv-start-here +.. _changes_7-5-3: + +Version 7.5.3 â 2024-05-28 +-- + +- Performance improvements for combining data files, especially when measuring + line coverage. A few different quadratic behaviors were eliminated. In one + extreme case of combining 700+ data files, the time dropped from more than + three hours to seven minutes. Thanks for Kraken Tech for funding the fix. + +- Performance improvements for generating HTML reports, with a side benefit of + reducing memory use, closing `issue 1791`_. Thanks to Daniel Diniz for + helping to diagnose the problem. + +.. _issue 1791: https://github.com/nedbat/coveragepy/issues/1791 + + +.. _changes_7-5-2: + +Version 7.5.2 â 2024-05-24 +-- + +- Fix: nested matches of exclude patterns could exclude too much code, as + reported in `issue 1779`_. This is now fixed. + +- Changed:
commit python-coverage for openSUSE:Factory
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 + +- 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 `_. + * 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:
commit python-coverage for openSUSE:Factory
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 2023-09-22 21:46:46 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.1770 (New) Package is "python-coverage" Fri Sep 22 21:46:46 2023 rev:60 rq:926 version:7.3.1 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2023-09-07 21:13:45.527488306 +0200 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.1770/python-coverage.changes 2023-09-22 21:47:06.376189810 +0200 @@ -1,0 +2,9 @@ +Mon Sep 18 09:20:10 UTC 2023 - Dirk Müller + +- update to 7.3.1: + * The semantics of stars in file patterns has been clarified in +the docs. A leading or trailing star matches any number of path +components, like a double star would. This is different than +the behavior of a star in the middle of a pattern. + +--- Old: coverage-7.3.0.tar.gz New: coverage-7.3.1.tar.gz Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.0n80Mm/_old 2023-09-22 21:47:07.512231052 +0200 +++ /var/tmp/diff_new_pack.0n80Mm/_new 2023-09-22 21:47:07.512231052 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-coverage -Version:7.3.0 +Version:7.3.1 Release:0 Summary:Code coverage measurement for Python License:Apache-2.0 ++ coverage-7.3.0.tar.gz -> coverage-7.3.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coverage-7.3.0/.readthedocs.yaml new/coverage-7.3.1/.readthedocs.yaml --- old/coverage-7.3.0/.readthedocs.yaml2023-08-12 18:08:23.0 +0200 +++ new/coverage-7.3.1/.readthedocs.yaml2023-09-06 14:03:22.0 +0200 @@ -22,3 +22,5 @@ python: install: - requirements: doc/requirements.pip +- method: pip + path: . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coverage-7.3.0/CHANGES.rst new/coverage-7.3.1/CHANGES.rst --- old/coverage-7.3.0/CHANGES.rst 2023-08-12 18:08:23.0 +0200 +++ new/coverage-7.3.1/CHANGES.rst 2023-09-06 14:03:22.0 +0200 @@ -19,6 +19,25 @@ .. scriv-start-here +.. _changes_7-3-1: + +Version 7.3.1 â 2023-09-06 +-- + +- The semantics of stars in file patterns has been clarified in the docs. A + leading or trailing star matches any number of path components, like a double + star would. This is different than the behavior of a star in the middle of a + pattern. This discrepancy was `identified by Sviatoslav Sydorenko + `_, who `provided patient detailed diagnosis `_ and + graciously agreed to a pragmatic resolution. + +- The API docs were missing from the last version. They are now `restored + `_. + +.. _apidocs: https://coverage.readthedocs.io/en/latest/api_coverage.html +.. _starbad: https://github.com/nedbat/coveragepy/issues/1407#issuecomment-1631085209 +.. _pull 1650: https://github.com/nedbat/coveragepy/pull/1650 + .. _changes_7-3-0: Version 7.3.0 â 2023-08-12 @@ -26,7 +45,7 @@ - Added a :meth:`.Coverage.collect` context manager to start and stop coverage data collection. - + - Dropped support for Python 3.7. - Fix: in unusual circumstances, SQLite cannot be set to asynchronous mode. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/coverage-7.3.0/PKG-INFO new/coverage-7.3.1/PKG-INFO --- old/coverage-7.3.0/PKG-INFO 2023-08-12 18:08:33.982700800 +0200 +++ new/coverage-7.3.1/PKG-INFO 2023-09-06 14:03:34.015134300 +0200 @@ -1,12 +1,12 @@ Metadata-Version: 2.1 Name: coverage -Version: 7.3.0 +Version: 7.3.1 Summary: Code coverage measurement for Python Home-page: https://github.com/nedbat/coveragepy Author: Ned Batchelder and 216 others Author-email: n...@nedbatchelder.com License: Apache-2.0 -Project-URL: Documentation, https://coverage.readthedocs.io/en/7.3.0 +Project-URL: Documentation, https://coverage.readthedocs.io/en/7.3.1 Project-URL: Funding, https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage_medium=referral_campaign=pypi Project-URL: Issues, https://github.com/nedbat/coveragepy/issues Project-URL: Mastodon, https://hachyderm.io/@coveragepy @@ -66,7 +66,7 @@ Documentation is on `Read the Docs`_. Code repository and issue tracker are on `GitHub`_. -.. _Read the Docs: https://coverage.readthedocs.io/en/7.3.0/ +.. _Read the Docs: https://coverage.readthedocs.io/en/7.3.1/ .. _GitHub:
commit python-coverage for openSUSE:Factory
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 2023-09-07 21:12:50 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.1766 (New) Package is "python-coverage" Thu Sep 7 21:12:50 2023 rev:59 rq:1109341 version:7.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2023-08-15 16:39:55.554954183 +0200 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.1766/python-coverage.changes 2023-09-07 21:13:45.527488306 +0200 @@ -340,0 +341,5 @@ +Mon Mar 14 10:47:55 UTC 2022 - John Paul Adrian Glaubitz + +- Update in SLE-15 (bsc#1195916, bsc#1196696, jsc#PM-3356, jsc#SLE-23972) + +--- Other differences: --
commit python-coverage for openSUSE:Factory
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 2023-08-15 16:39:50 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.11712 (New) Package is "python-coverage" Tue Aug 15 16:39:50 2023 rev:58 rq:1103928 version:7.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2023-08-13 19:17:46.896039002 +0200 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.11712/python-coverage.changes 2023-08-15 16:39:55.554954183 +0200 @@ -1,0 +2,30 @@ +Mon Aug 14 16:00:52 UTC 2023 - Matthias Fehring + +- specfile + * fix build on Leap 15 by moving sle15_python_module_pythons macro +to the top + +--- +Mon Aug 14 06:05:34 UTC 2023 - Arun Persaud + +- specfile: + * require python 3.8 + +- update to version 7.3.0: + * Added a Coverage.collect() context manager to start and stop +coverage data collection. + * Dropped support for Python 3.7. + * Fix: in unusual circumstances, SQLite cannot be set to +asynchronous mode. Coverage.py would fail with the error Safety +level may not be changed inside a transaction. This is now +avoided, closing issue 1646. Thanks to Michael Bell for the +detailed bug report. + * Docs: examples of configuration files now include separate +examples for the different syntaxes: .coveragerc, pyproject.toml, +setup.cfg, and tox.ini. + * Fix: added nosemgrep comments to our JavaScript code so that +semgrep-based SAST security checks wonât raise false alarms about +security problems that arenât problems. + * Added a CITATION.cff file, thanks to Ken Schackart. + +--- Old: coverage-7.2.7.tar.gz New: coverage-7.3.0.tar.gz Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.Xq4Ckt/_old 2023-08-15 16:39:56.194958548 +0200 +++ /var/tmp/diff_new_pack.Xq4Ckt/_new 2023-08-15 16:39:56.198958575 +0200 @@ -16,14 +16,15 @@ # +%{?sle15_python_module_pythons} Name: python-coverage -Version:7.2.7 +Version:7.3.0 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 -BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -34,7 +35,6 @@ Requires(postun):update-alternatives # coverage[toml] Recommends: python-tomli -%{?sle15_python_module_pythons} # SECTION test requirements BuildRequires: %{python_module flaky} BuildRequires: %{python_module hypothesis >= 6} ++ coverage-7.2.7.tar.gz -> coverage-7.3.0.tar.gz ++ 6382 lines of diff (skipped)
commit python-coverage for openSUSE:Factory
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 2023-08-13 19:17:41 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.11712 (New) Package is "python-coverage" Sun Aug 13 19:17:41 2023 rev:57 rq:1103606 version:7.2.7 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2023-05-11 12:31:55.546242930 +0200 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.11712/python-coverage.changes 2023-08-13 19:17:46.896039002 +0200 @@ -1,0 +2,28 @@ +Thu Aug 10 22:00:16 UTC 2023 - Arun Persaud + +- specfile: + * removed fix-tests.patch, included upstream + +- update to version 7.2.7: + * Fix: reverted a change from 6.4.3 that helped Cython, but also +increased the size of data files when using dynamic contexts, as +described in the now-fixed issue 1586. The problem is now avoided +due to a recent change (issue 1538). Thanks to Anders Kaseorg and +David Szotten for persisting with problem reports and detailed +diagnoses. + * Wheels are now provided for CPython 3.12. + +- changes from version 7.2.6: + * Fix: the lcov command could raise an IndexError exception if a +file is translated to Python but then executed under its own +name. Jinja2 does this when rendering templates. Fixes issue 1553. + * Python 3.12 beta 1 now inlines comprehensions. Previously they +were compiled as invisible functions and coverage.py would warn +you if they werenât completely executed. This no longer happens +under Python 3.12. + * Fix: the coverage debug sys command includes some environment +variables in its output. This could have included sensitive +data. Those values are now hidden with asterisks, closing issue +1628. + +--- Old: coverage-7.2.5.tar.gz fix-tests.patch New: coverage-7.2.7.tar.gz Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.IQWSgw/_old 2023-08-13 19:17:47.644043787 +0200 +++ /var/tmp/diff_new_pack.IQWSgw/_new 2023-08-13 19:17:47.648043813 +0200 @@ -16,16 +16,13 @@ # -%{?sle15_python_module_pythons} Name: python-coverage -Version:7.2.5 +Version:7.2.7 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 fix-tests.patch -- gh#nedbat/coveragepy@3fdda7d017ff -Patch0: fix-tests.patch BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} @@ -37,6 +34,7 @@ Requires(postun):update-alternatives # coverage[toml] Recommends: python-tomli +%{?sle15_python_module_pythons} # SECTION test requirements BuildRequires: %{python_module flaky} BuildRequires: %{python_module hypothesis >= 6} ++ coverage-7.2.5.tar.gz -> coverage-7.2.7.tar.gz ++ 5758 lines of diff (skipped)
commit python-coverage for openSUSE:Factory
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 2023-05-11 12:31:52 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.1533 (New) Package is "python-coverage" Thu May 11 12:31:52 2023 rev:56 rq:1086006 version:7.2.5 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2023-04-22 22:02:36.269985563 +0200 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.1533/python-coverage.changes 2023-05-11 12:31:55.546242930 +0200 @@ -1,0 +2,34 @@ +Wed May 10 08:06:33 UTC 2023 - Daniel Garcia + +- Add fix-tests.patch gh#nedbat/coveragepy@3fdda7d017ff +- Update to 7.2.5: + * Fix: html_report() could fail with an AttributeError on isatty if +run in an unusual environment where sys.stdout had been replaced. +This is now fixed. +- 7.2.4: + * Fix: with relative_files = true, specifying a specific file to +include or omit wouldn't work correctly (issue 1604). This is now +fixed, with testing help by Marc Gibbons. + * Fix: the XML report would have an incorrect element when +using relative files and the source option ended with a slash +(issue 1541). This is now fixed, thanks to Kevin Brown-Silva. + * When the HTML report location is printed to the terminal, it's now +a terminal-compatible URL, so that you can click the location to +open the HTML file in your browser. Finishes issue 1523 thanks to +Ricardo Newbery. + * Docs: a new :ref:`Migrating page ` with details about +how to migrate between major versions of coverage.py. It currently +covers the wildcard changes in 7.x. Thanks, Brian Grohe. +- 7.2.3: + * Fix: the :ref:`config_run_sigterm` setting was meant to capture +data if a process was terminated with a SIGTERM signal, but it +didn't always. This was fixed thanks to Lewis Gaul, closing issue +1599. + * Performance: HTML reports with context information are now much +more compact. File sizes are typically as small as one-third the +previous size, but can be dramatically smaller. This closes issue +1584 thanks to Oleh Krehel. + * Development dependencies no longer use hashed pins, closing issue +1592. + +--- Old: coverage-7.2.2.tar.gz New: coverage-7.2.5.tar.gz fix-tests.patch Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.5vsw9B/_old 2023-05-11 12:31:56.202246155 +0200 +++ /var/tmp/diff_new_pack.5vsw9B/_new 2023-05-11 12:31:56.210246194 +0200 @@ -18,12 +18,14 @@ %{?sle15_python_module_pythons} Name: python-coverage -Version:7.2.2 +Version:7.2.5 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 fix-tests.patch -- gh#nedbat/coveragepy@3fdda7d017ff +Patch0: fix-tests.patch BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} ++ coverage-7.2.2.tar.gz -> coverage-7.2.5.tar.gz ++ 7469 lines of diff (skipped) ++ fix-tests.patch ++ Index: coverage-7.2.5/tests/test_concurrency.py === --- coverage-7.2.5.orig/tests/test_concurrency.py +++ coverage-7.2.5/tests/test_concurrency.py @@ -768,10 +768,11 @@ class SigtermTest(CoverageTest): sigterm = true """) out = self.run_command("coverage run handler.py") -if env.LINUX: -assert out == "START\nSIGTERM\nTerminated\n" -else: -assert out == "START\nSIGTERM\n" +out_lines = out.splitlines() +assert len(out_lines) in [2, 3] +assert out_lines[:2] == ["START", "SIGTERM"] +if len(out_lines) == 3: +assert out_lines[2] == "Terminated" out = self.run_command("coverage report -m") expected = "handler.py 5 1 80% 6" assert self.squeezed_lines(out)[2] == expected
commit python-coverage for openSUSE:Factory
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 2023-04-22 22:01:31 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.1533 (New) Package is "python-coverage" Sat Apr 22 22:01:31 2023 rev:55 rq:1081957 version:7.2.2 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2023-03-29 23:26:14.503186203 +0200 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.1533/python-coverage.changes 2023-04-22 22:02:36.269985563 +0200 @@ -1,0 +2,10 @@ +Fri Apr 21 12:23:47 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +--- +Thu Apr 13 22:40:41 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +--- Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.OtRewQ/_old 2023-04-22 22:02:36.945989604 +0200 +++ /var/tmp/diff_new_pack.OtRewQ/_new 2023-04-22 22:02:36.949989628 +0200 @@ -16,6 +16,7 @@ # +%{?sle15_python_module_pythons} Name: python-coverage Version:7.2.2 Release:0
commit python-coverage for openSUSE:Factory
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 2023-03-29 23:26:08 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.31432 (New) Package is "python-coverage" Wed Mar 29 23:26:08 2023 rev:54 rq:1074499 version:7.2.2 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2023-03-17 17:02:29.561124058 +0100 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.31432/python-coverage.changes 2023-03-29 23:26:14.503186203 +0200 @@ -1,0 +2,15 @@ +Sun Mar 26 19:13:56 UTC 2023 - Dirk Müller + +- update to 7.2.2: + * Fix: if a virtualenv was created inside a source directory, +and a sourced package was installed inside the virtualenv, +then all of the third-party packages inside the virtualenv +would be measured. This was incorrect, but +has now been fixed: only the specified packages will be +measured. + * Fix: the ``coverage lcov`` command could create a .lcov file +with incorrect LF (lines found) and LH (lines hit) totals + * Fix: the ``coverage xml`` command on Windows could create a +.xml file with duplicate elements. + +--- Old: coverage-7.2.1.tar.gz New: coverage-7.2.2.tar.gz Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.96kCRA/_old 2023-03-29 23:26:15.095188985 +0200 +++ /var/tmp/diff_new_pack.96kCRA/_new 2023-03-29 23:26:15.099189003 +0200 @@ -17,7 +17,7 @@ Name: python-coverage -Version:7.2.1 +Version:7.2.2 Release:0 Summary:Code coverage measurement for Python License:Apache-2.0 ++ coverage-7.2.1.tar.gz -> coverage-7.2.2.tar.gz ++ 2675 lines of diff (skipped)
commit python-coverage for openSUSE:Factory
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 2023-03-17 17:02:08 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.31432 (New) Package is "python-coverage" Fri Mar 17 17:02:08 2023 rev:53 rq:1071881 version:7.2.1 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2023-02-05 19:20:07.947532573 +0100 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.31432/python-coverage.changes 2023-03-17 17:02:29.561124058 +0100 @@ -1,0 +2,26 @@ +Tue Mar 14 22:26:17 UTC 2023 - Dirk Müller + +- update to 7.2.1: + * Fix: the PyPI page had broken links to documentation pages, +but no longer does + * Fix: public members of the coverage module are now properly +indicated so that mypy will find them + * Added a new setting ``[report] exclude_also`` to let you add +more exclusions without overwriting the defaults. + * Added a :meth:`.CoverageData.purge_files` method to remove +recorded data for a particular file. + * Fix: when reporting commands fail, they will no longer +congratulate themselves with messages like "Wrote XML +report to file.xml" before spewing a traceback about +their failure. + * Fix: arguments in the public API that name file paths now +accept pathlib.Path objects. This includes the +``data_file`` and ``config_file`` arguments to +the Coverage constructor and the ``basename`` argument to +CoverageData. + * Fix: In some embedded environments, an IndexError could occur +on stop() when the originating thread exits before completion. +This is now fixed, thanks to + * Added a ``py.typed`` file to announce our type-hintedness. + +--- Old: coverage-7.1.0.tar.gz New: coverage-7.2.1.tar.gz Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.q91rIi/_old 2023-03-17 17:02:30.153127160 +0100 +++ /var/tmp/diff_new_pack.q91rIi/_new 2023-03-17 17:02:30.157127181 +0100 @@ -17,7 +17,7 @@ Name: python-coverage -Version:7.1.0 +Version:7.2.1 Release:0 Summary:Code coverage measurement for Python License:Apache-2.0 ++ coverage-7.1.0.tar.gz -> coverage-7.2.1.tar.gz ++ 3550 lines of diff (skipped)
commit python-coverage for openSUSE:Factory
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 2023-02-05 19:20:06 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.4462 (New) Package is "python-coverage" Sun Feb 5 19:20:06 2023 rev:52 rq:1063170 version:7.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2023-01-05 15:00:33.668928013 +0100 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.4462/python-coverage.changes 2023-02-05 19:20:07.947532573 +0100 @@ -1,0 +2,16 @@ +Sat Jan 28 13:38:32 UTC 2023 - Dirk Müller + +- update to 7.1.0: + * Added: the debug output file can now be specified with ``[run] +debug_file`` in the configuration file. Closes `issue 1319`_. + * Performance: fixed a slowdown with dynamic contexts that's been around +since 6.4.3. + * Typing: all product and test code has type annotations. + * Fix: On Python 3.7, a file with type annotations but no ``from +__future__ import annotations`` would be missing statements in +the coverage report. This is now fixed, closing `issue 1524`_. + * Performance: an internal cache of file names was accidentally disabled, +resulting in sometimes drastic reductions in performance. This is now fixed, + closing `issue 1527`_. + +--- Old: coverage-7.0.3.tar.gz New: coverage-7.1.0.tar.gz Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.T1S822/_old 2023-02-05 19:20:08.591536297 +0100 +++ /var/tmp/diff_new_pack.T1S822/_new 2023-02-05 19:20:08.627536505 +0100 @@ -17,7 +17,7 @@ Name: python-coverage -Version:7.0.3 +Version:7.1.0 Release:0 Summary:Code coverage measurement for Python License:Apache-2.0 ++ coverage-7.0.3.tar.gz -> coverage-7.1.0.tar.gz ++ 14115 lines of diff (skipped)
commit python-coverage for openSUSE:Factory
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 2023-01-05 15:00:20 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.1563 (New) Package is "python-coverage" Thu Jan 5 15:00:20 2023 rev:51 rq:1055949 version:7.0.3 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2022-12-29 13:08:54.480864355 +0100 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.1563/python-coverage.changes 2023-01-05 15:00:33.668928013 +0100 @@ -1,0 +2,7 @@ +Wed Jan 4 16:20:35 UTC 2023 - Dirk Müller + +- update to 7.0.3: + * Fix: when using pytest-cov or pytest-xdist, or perhaps both, the +combining step could fail with ``assert row is not None`` using 7.0.2. + +--- Old: coverage-7.0.1.tar.gz New: coverage-7.0.3.tar.gz Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.6hurQn/_old 2023-01-05 15:00:34.096930270 +0100 +++ /var/tmp/diff_new_pack.6hurQn/_new 2023-01-05 15:00:34.112930354 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-coverage # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-coverage -Version:7.0.1 +Version:7.0.3 Release:0 Summary:Code coverage measurement for Python License:Apache-2.0 ++ coverage-7.0.1.tar.gz -> coverage-7.0.3.tar.gz ++ 15461 lines of diff (skipped)
commit python-coverage for openSUSE:Factory
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 2022-12-29 13:08:48 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.1563 (New) Package is "python-coverage" Thu Dec 29 13:08:48 2022 rev:50 rq:1045546 version:7.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2022-10-03 20:08:19.817395588 +0200 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.1563/python-coverage.changes 2022-12-29 13:08:54.480864355 +0100 @@ -1,0 +2,78 @@ +Mon Dec 26 12:21:27 UTC 2022 - Ben Greiner + +- Update to 7.0.1 + * When checking if a file mapping resolved to a file that exists, +we werenât considering files in .whl files. This is now fixed, +closing issue 1511. + * File pattern rules were too strict, forbidding plus signs and +curly braces in directory and file names. This is now fixed, +closing issue 1513. + * Unusual Unicode or control characters in source files could +prevent reporting. This is now fixed, closing issue 1512. + * The PyPy wheel now installs on PyPy 3.7, 3.8, and 3.9, closing +issue 1510. +- Release 7.0.0 + * Changes to file pattern matching, which might require updating +your configuration: +- Previously, * would incorrectly match directory separators, + making precise matching difficult. This is now fixed, closing + issue 1407. +- Now ** matches any number of nested directories, including + none. + * Improvements to combining data files when using the [run] +relative_files setting, which might require updating your +configuration: +- During coverage combine, relative file paths are implicitly + combined without needing a [paths] configuration setting. + This also fixed issue 991. +- A [paths] setting like */foo will now match foo/bar.py so + that relative file paths can be combined more easily. +- The [run] relative_files setting is properly interpreted in + more places, fixing issue 1280. + * When remapping file paths with [paths], a path will be remapped +only if the resulting path exists. The documentation has long +said the prefix had to exist, but it was never enforced. This +fixes issue 608, improves issue 649, and closes issue 757. + * Reporting operations now implicitly use the [paths] setting to +remap file paths within a single data file. Combining multiple +files still requires the coverage combine step, but this +simplifies some single-file situations. Closes issue 1212 and +issue 713. + * The coverage report command now has a --format= option. The +original style is now --format=text, and is the default. +- Using --format=markdown will write the table in Markdown + format, thanks to Steve Oswald, closing issue 1418. +- Using --format=total will write a single total number to the + output. This can be useful for making badges or writing + status updates. + * Combining data files with coverage combine now hashes the data +files to skip files that add no new information. This can +reduce the time needed. Many details affect the speed-up, but +for coverage.pyâs own test suite, combining is about 40% +faster. Closes issue 1483. + * When searching for completely un-executed files, coverage.py +uses the presence of __init__.py files to determine which +directories have source that could have been imported. However, +implicit namespace packages donât require __init__.py. A new +setting [report] include_namespace_packages tells coverage.py +to consider these directories during reporting. Thanks to Felix +Horvat for the contribution. Closes issue 1383 and issue 1024. + * Fixed environment variable expansion in pyproject.toml files. +It was overly broad, causing errors outside of coverage.py +settings, as described in issue 1481 and issue 1345. This is +now fixed, but in rare cases will require changing your +pyproject.toml to quote non-string values that use environment +substitution. + * An empty file has a coverage total of 100%, but used to fail +with --fail-under. This has been fixed, closing issue 1470. + * The text report table no longer writes out two separator lines +if there are no files listed in the table. One is plenty. + * Fixed a mis-measurement of a strange use of wildcard +alternatives in match/case statements, closing issue 1421. + * Fixed internal logic that prevented coverage.py from running on +implementations other than CPython or PyPy (issue 1474). + * The deprecated [run] note setting has been completely removed. +- Make fit for devel:languages:python:backports + *
commit python-coverage for openSUSE:Factory
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 2022-10-03 20:08:18 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.2275 (New) Package is "python-coverage" Mon Oct 3 20:08:18 2022 rev:49 rq:1007714 version:6.5.0 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2022-09-12 19:08:18.290545880 +0200 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.2275/python-coverage.changes 2022-10-03 20:08:19.817395588 +0200 @@ -1,0 +2,23 @@ +Mon Oct 3 15:48:41 UTC 2022 - Dirk M??ller + +- update to 6.5.0: + - The JSON report now includes details of which branches were taken, and which +are missing for each file. Thanks, Christoph Blessing (`pull 1438`_). Closes +`issue 1425`_. + - Starting with coverage.py 6.2, ``class`` statements were marked as a branch. +This wasn't right, and has been reverted, fixing `issue 1449`_. Note this +will very slightly reduce your coverage total if you are measuring branch +coverage. + - Packaging is now compliant with `PEP 517`_, closing `issue 1395`_. + - A new debug option ``--debug=pathmap`` shows details of the remapping of +paths that happens during combine due to the ``[paths]`` setting. + - Fix an internal problem with caching of invalid Python parsing. Found by +OSS-Fuzz, fixing their `bug 50381`_. + .. _bug 50381: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381 + .. _PEP 517: https://peps.python.org/pep-0517/ + .. _issue 1395: https://github.com/nedbat/coveragepy/issues/1395 + .. _issue 1425: https://github.com/nedbat/coveragepy/issues/1425 + .. _pull 1438: https://github.com/nedbat/coveragepy/pull/1438 + .. _issue 1449: https://github.com/nedbat/coveragepy/issues/1449 + +--- Old: coverage-6.4.4.tar.gz New: coverage-6.5.0.tar.gz Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.WpJNYs/_old 2022-10-03 20:08:20.357396410 +0200 +++ /var/tmp/diff_new_pack.WpJNYs/_new 2022-10-03 20:08:20.361396416 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-coverage -Version:6.4.4 +Version:6.5.0 Release:0 Summary:Code coverage measurement for Python License:Apache-2.0 ++ coverage-6.4.4.tar.gz -> coverage-6.5.0.tar.gz ++ 2522 lines of diff (skipped)
commit python-coverage for openSUSE:Factory
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 2022-09-12 19:08:16 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.2083 (New) Package is "python-coverage" Mon Sep 12 19:08:16 2022 rev:48 rq:1002717 version:6.4.4 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2022-08-19 17:53:50.627769051 +0200 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.2083/python-coverage.changes 2022-09-12 19:08:18.290545880 +0200 @@ -1,0 +2,31 @@ +Sat Sep 10 15:31:21 UTC 2022 - Arun Persaud + +- update to version 6.4.4: + * Wheels are now provided for Python 3.11. + +- changes from version 6.4.3: + * Fix a failure when combining data files if the file names +contained glob-like patterns (pull 1405). Thanks, Michael Krebs +and Benjamin Schubert. + * Fix a messaging failure when combining Windows data files on a +different drive than the current directory. (pull 1430, fixing +issue 1428). Thanks, Lorenzo Mic??. + * Fix path calculations when running in the root directory, as you +might do in a Docker container: pull 1403, thanks Arthur Rio. + * Filtering in the HTML report wouldn???t work when reloading the +index page. This is now fixed (pull 1413). Thanks, Marc Legendre. + * Fix a problem with Cython code measurement (pull 1347, fixing +issue 972). Thanks, Matus Valo. + +- changes from version 6.4.2: + * Updated for a small change in Python 3.11.0 beta 4: modules now +start with a line with line number 0, which is ignored. This line +cannnot be executed, so coverage totals were thrown off. This line +is now ignored by coverage.py, but this also means that truly +empty modules (like __init__.py) have no lines in them, rather +than one phantom line. Fixes issue 1419. + * Internal debugging data added to sys.modules is now an actual +module, to avoid confusing code that examines everything in +sys.modules. Thanks, Yilei Yang (pull 1399). + +--- Old: coverage-6.4.1.tar.gz New: coverage-6.4.4.tar.gz Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.9j5CSb/_old 2022-09-12 19:08:19.142548275 +0200 +++ /var/tmp/diff_new_pack.9j5CSb/_new 2022-09-12 19:08:19.146548286 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-coverage -Version:6.4.1 +Version:6.4.4 Release:0 Summary:Code coverage measurement for Python License:Apache-2.0 ++ coverage-6.4.1.tar.gz -> coverage-6.4.4.tar.gz ++ 4404 lines of diff (skipped)
commit python-coverage for openSUSE:Factory
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 2022-08-19 17:52:56 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.2083 (New) Package is "python-coverage" Fri Aug 19 17:52:56 2022 rev:47 rq:997536 version:6.4.1 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2021-12-25 20:16:25.089238496 +0100 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.2083/python-coverage.changes 2022-08-19 17:53:50.627769051 +0200 @@ -1,0 +2,97 @@ +Sat Jul 9 14:27:53 UTC 2022 - Arun Persaud + +- update to version 6.4.1: + * Greatly improved performance on PyPy, and other environments that +need the pure Python trace function. Thanks, Carl Friedrich +Bolz-Tereick (pull 1381 and pull 1388). Slightly improved +performance when using the C trace function, as most environments +do. Closes issue 1339. + * The conditions for using tomllib from the standard library have +been made more precise, so that 3.11 alphas will continue to +work. Closes issue 1390. + +- changes from version 6.4: + * A new setting, [run] sigterm, controls whether a SIGTERM signal +handler is used. In 6.3, the signal handler was always installed, +to capture data at unusual process ends. Unfortunately, this +introduced other problems (see issue 1310). Now the signal handler +is only used if you opt-in by setting [run] sigterm = true. + * Small changes to the HTML report: ++ Added links to next and previous file, and more keyboard + shortcuts: [ and ] for next file and previous file; u for up to + the index; and ? to open/close the help panel. Thanks, + J. M. F. Tsang. ++ The timestamp and version are displayed at the top of the + report. Thanks, Ammar Askar. Closes issue 1351. + * A new debug option debug=sqldata adds more detail to debug=sql, +logging all the data being written to the database. + * Previously, running coverage report (or any of the reporting +commands) in an empty directory would create a .coverage data +file. Now they do not, fixing issue 1328. + * On Python 3.11, the [toml] extra no longer installs tomli, instead +using tomllib from the standard library. Thanks Shantanu. + * In-memory CoverageData objects now properly update(), closing +issue 1323. + +- changes from version 6.3.3 : + * Fix: Coverage.py now builds successfully on CPython 3.11 +(3.11.0b1) again. Closes issue 1367. Some results for generators +may have changed. + +--- +Sat Mar 12 05:47:59 UTC 2022 - Arun Persaud + +- specfile: + * update copyright year + * require python-base >= 3.7 + +- update to version 6.3.2: + * Fix: adapt to pypy3.9???s decorator tracing behavior. It now traces +function decorators like CPython 3.8: both the @-line and the +def-line are traced. Fixes issue 1326. + * Debug: added pybehave to the list of Diagnostics: coverage debug +and --debug options. + * Fix: show an intelligible error message if +--concurrency=multiprocessing is used without a configuration +file. Closes issue 1320. + +- changes from version 6.3.1: + * Fix: deadlocks could occur when terminating processes. Some of +these deadlocks (described in issue 1310) are now fixed. + * Fix: a signal handler was being set from multiple threads, causing +an error: ???ValueError: signal only works in main thread???. This is +now fixed, closing issue 1312. + * Fix: --precision on the command-line was being ignored while +considering --fail-under. This is now fixed, thanks to Marcelo +Trylesinski. + * Fix: releases no longer provide 3.11.0-alpha wheels. Coverage.py +uses CPython internal fields which are moving during the alpha +phase. Fixes issue 1316. + +- changes from version 6.3: + * Feature: Added the lcov command to generate reports in LCOV +format. Thanks, Bradley Burns. Closes issues 587 and 626. + * Feature: the coverage data file can now be specified on the +command line with the --data-file option in any command that reads +or writes data. This is in addition to the existing COVERAGE_FILE +environment variable. Closes issue 624. Thanks, Nikita +Bloshchanevich. + * Feature: coverage measurement data will now be written when a +SIGTERM signal is received by the process. This includes +Process.terminate, and other ways to terminate a +process. Currently this is only on Linux and Mac; Windows is not +supported. Fixes issue 1307. + * Dropped support for Python 3.6, which reached end-of-life on +2021-12-23. + * Updated Python 3.11 support to 3.11.0a4, fixing issue
commit python-coverage for openSUSE:Factory
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 2021-12-25 20:16:23 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.2520 (New) Package is "python-coverage" Sat Dec 25 20:16:23 2021 rev:46 rq:938526 version:6.2 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2021-05-12 19:31:34.463196155 +0200 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.2520/python-coverage.changes 2021-12-25 20:16:25.089238496 +0100 @@ -1,0 +2,184 @@ +Thu Dec 9 17:16:23 UTC 2021 - Ben Greiner + +- Update to version 6.2 + * Feature: Now the --concurrency setting can now have a list of +values, so that threads and another lightweight threading +package can be measured together, such as +--concurrency=gevent,thread. Closes issue 1012 and issue 1082. + * Fix: A module specified as the source setting is imported +during startup, before the user program imports it. This could +cause problems if the rest of the program isn't ready yet. For +example, issue 1203 describes a Django setting that is accessed +before settings have been configured. Now the early import is +wrapped in a try/except so errors then don't stop execution. + * Fix: A colon in a decorator expression would cause an exclusion +to end too early, preventing the exclusion of the decorated +function. This is now fixed. + * Fix: The HTML report now will not overwrite a .gitignore file +that already exists in the HTML output directory (follow-on for +issue 1244). + * API: The exceptions raised by Coverage.py have been +specialized, to provide finer-grained catching of exceptions by +third-party code. + * API: Using suffix=False when constructing a Coverage object +with multiprocessing wouldn't suppress the data file suffix +(issue 989). This is now fixed. + * Debug: The coverage debug data command will now sniff out +combinable data files, and report on all of them. + * Debug: The coverage debug command used to accept a number of +topics at a time, and show all of them, though this was never +documented. This no longer works, to allow for command-line +options in the future. +- Release notes for 6.1.2 + * Python 3.11 is supported (tested with 3.11.0a2). One still-open +issue has to do with exits through with-statements. + * Fix: When remapping file paths through the [paths] setting +while combining, the [run] relative_files setting was ignored, +resulting in absolute paths for remapped file names (issue +1147). This is now fixed. + * Fix: Complex conditionals over excluded lines could have +incorrectly reported a missing branch (issue 1271). This is now +fixed. + * Fix: More exceptions are now handled when trying to parse +source files for reporting. Problems that used to terminate +coverage.py can now be handled with [report] ignore_errors. +This helps with plugins failing to read files +(django_coverage_plugin issue 78). + * Fix: Removed another vestige of jQuery from the source tarball +(issue 840). + * Fix: Added a default value for a new-to-6.x argument of an +internal class. This unsupported class is being used by +coveralls (issue 1273). Although I'd rather not "fix" +unsupported interfaces, it's actually nicer with a default +value. +- Release notes for 6.1.1 + * Fix: The sticky header on the HTML report didn't work unless +you had branch coverage enabled. This is now fixed: the sticky +header works for everyone. (Do people still use coverage +without branch measurement!? j/k) + * Fix: When using explicitly declared namespace packages, the +"already imported a file that will be measured" warning would +be issued (issue 888). This is now fixed. +- Release notes for 6.1 + * Deprecated: The annotate command and the Coverage.annotate +function will be removed in a future version, unless people let +me know that they are using it. Instead, the html command gives +better-looking (and more accurate) output, and the report -m +command will tell you line numbers of missing lines. Please get +in touch if you have a reason to use annotate over those better +options: n...@nedbatchelder.com. + * Feature: Coverage now sets an environment variable, +COVERAGE_RUN when running your code with the coverage run +command. The value is not important, and may change in the +future. Closes issue 553. + * Feature: The HTML report pages for Python source files now have +a sticky header so the file name and controls are always +visible. + * Feature: The xml and json commands now describe what they wrote +
commit python-coverage for openSUSE:Factory
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 2021-05-12 19:31:25 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.2988 (New) Package is "python-coverage" Wed May 12 19:31:25 2021 rev:45 rq:892445 version:5.5 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2021-03-19 16:39:32.737821644 +0100 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.2988/python-coverage.changes 2021-05-12 19:31:34.463196155 +0200 @@ -1,0 +2,47 @@ +Wed May 12 09:29:03 UTC 2021 - Matej Cepl + +- Add change__file__report-dir.patch to fix another issue repored + in gh#nedbat/coveragepy#1161. + +--- +Tue May 11 10:44:16 UTC 2021 - Antonio Larrosa + +- Add a patch from upstream (slightly rebased) to make data + collection operations thread safe: + * 0001-make-data-collection-operations-thread-safe.patch + +--- +Sun May 9 22:27:19 UTC 2021 - Matej Cepl + +- Add traced_file_absolute.patch to fix gh#nedbat/coveragepy#1161. + +--- +Sat May 8 18:47:01 UTC 2021 - Matej Cepl + +- Switch off test_debug_trace started to avoid failure + (gh#nedbat/coveragepy#1161). + +--- +Sat May 8 14:15:04 UTC 2021 - Matej Cepl + +- Update to 5.5: + - coverage combine has a new option, --keep to keep the original data +files after combining them. The default is still to delete the files +after they have been combined. This was requested in issue 1108 and +implemented in pull request 1110. Thanks, ??ric Larivi??re. + - When reporting missing branches in coverage report, branches aren???t +reported that jump to missing lines. This adds to the long-standing +behavior of not reporting branches from missing lines. Now branches +are only reported if both the source and destination lines are +executed. Closes both issue 1065 and issue 955. + - Minor improvements to the HTML report: +- The state of the line visibility selector buttons is saved in + local storage so you don???t have to fiddle with them so often, + fixing issue 1123. +- It has a little more room for line numbers so that 4-digit numbers + work well, fixing issue 1124. + - Improved the error message when combining line and branch data, so +that users will be more likely to understand what???s happening, +closing issue 803. + +--- Old: coverage-5.4.tar.gz New: 0001-make-data-collection-operations-thread-safe.patch change__file__report-dir.patch coverage-5.5.tar.gz traced_file_absolute.patch Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.PWNF7d/_old 2021-05-12 19:31:34.891194253 +0200 +++ /var/tmp/diff_new_pack.PWNF7d/_new 2021-05-12 19:31:34.895194236 +0200 @@ -18,12 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-coverage -Version:5.4 +Version:5.5 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 traced_file_absolute.patch gh#nedbat/coveragepy#1161 mc...@suse.com +# traced file names seem to be absolute now? +Patch0: traced_file_absolute.patch +# PATCH-FIX-UPSTREAM 0001-make-data-collection-operations-thread-safe.patch gh#nedbat/coveragepy#commit-e36b42e2db46 alarr...@suse.com +# Make data collection operations thread safe +Patch1: 0001-make-data-collection-operations-thread-safe.patch +# PATCH-FIX-UPSTREAM change__file__report-dir.patch gh#nedbat/coveragepy#1161 mc...@suse.com +# Fix yet another regression in Python 3.8.10, this time about __file__ value for directories. +Patch2: change__file__report-dir.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module flaky} BuildRequires: %{python_module hypothesis >= 4.57} @@ -41,7 +50,7 @@ Requires: python-setuptools Requires: python-toml Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %python_subpackages %description @@ -50,7 +59,8 @@ library to determine which lines are executable, and which have been executed. %prep
commit python-coverage for openSUSE:Factory
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 2021-03-19 16:39:31 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.2401 (New) Package is "python-coverage" Fri Mar 19 16:39:31 2021 rev:44 rq:868480 version:5.4 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2020-12-23 14:19:04.713588593 +0100 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.2401/python-coverage.changes 2021-03-19 16:39:32.737821644 +0100 @@ -1,0 +2,18 @@ +Mon Feb 1 20:58:07 UTC 2021 - Dirk M??ller + +- update to 5.4: + - The text report produced by ``coverage report`` now always outputs a TOTAL +line, even if only one Python file is reported. This makes regex parsing +of the output easier. Thanks, Judson Neer. This had been requested a number +of times + - The ``skip_covered`` and ``skip_empty`` settings in the configuration file +can now be specified in the ``[html]`` section, so that text reports and HTML +reports can use separate settings. The HTML report will still use the +``[report]`` settings if there isn't a value in the ``[html]`` section. + - Combining files on Windows across drives how works properly + - Fix an obscure warning from deep in the _decimal module, as reported in +`issue 1084`_. + - Update to support Python 3.10 alphas in progress, including `PEP 626: Precise +line numbers for debugging and other tools `_. + +--- Old: coverage-5.3.1.tar.gz New: coverage-5.4.tar.gz Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.025TnW/_old 2021-03-19 16:39:33.353822476 +0100 +++ /var/tmp/diff_new_pack.025TnW/_new 2021-03-19 16:39:33.357822481 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-coverage # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 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 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-coverage -Version:5.3.1 +Version:5.4 Release:0 Summary:Code coverage measurement for Python License:Apache-2.0 ++ coverage-5.3.1.tar.gz -> coverage-5.4.tar.gz ++ 3479 lines of diff (skipped)
commit python-coverage for openSUSE:Factory
Hello community, here is the log from the commit of package python-coverage for openSUSE:Factory checked in at 2020-12-13 17:29:18 Comparing /work/SRC/openSUSE:Factory/python-coverage (Old) and /work/SRC/openSUSE:Factory/.python-coverage.new.2328 (New) Package is "python-coverage" Sun Dec 13 17:29:18 2020 rev:42 rq:854657 version:5.3 Changes: --- /work/SRC/openSUSE:Factory/python-coverage/python-coverage.changes 2020-12-04 21:27:31.462041866 +0100 +++ /work/SRC/openSUSE:Factory/.python-coverage.new.2328/python-coverage.changes 2020-12-13 17:29:19.832324647 +0100 @@ -1,0 +2,5 @@ +Thu Dec 10 18:42:00 UTC 2020 - Matej Cepl + +- Fix alternatives + +--- Other differences: -- ++ python-coverage.spec ++ --- /var/tmp/diff_new_pack.txbYmO/_old 2020-12-13 17:29:20.684325511 +0100 +++ /var/tmp/diff_new_pack.txbYmO/_new 2020-12-13 17:29:20.684325511 +0100 @@ -17,13 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# We redefine this locally, because we are sure that it is only used for files, -# which only the primary python3 flavor should provide for python3 multiflavor -# gh#openSUSE/python-rpm-macros#66 -%define python3_only() %%if "%%{python_flavor}" == "python3" || "%%{python_provides}" == "python3" \ -%** \ -%%endif - Name: python-coverage Version:5.3 Release:0 @@ -72,14 +65,9 @@ %install %python_install +rm -vf %{buildroot}%{_bindir}/coverage{2,3} %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 -%if 0%{?have_python3} && ! 0%{?skip_python3} -ln -sf coverage-%{python3_version} %{buildroot}%{_bindir}/coverage3 -%endif %check # GetZipBytesTest.test_get_encoded_zip_files - needs zip command @@ -108,7 +96,6 @@ export PYTHONPATH=":x" %pytest_arch -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 or test_encoding or test_multi or test_xdist_sys_path_nuttiness_is_fixed or test_debug_sys_ctracer)' - %post %python_install_alternative coverage @@ -119,8 +106,6 @@ %license LICENSE.txt %doc CHANGES.rst CONTRIBUTORS.txt README.rst howto.txt %python_alternative %{_bindir}/coverage -%python2_only %{_bindir}/coverage2 -%python3_only %{_bindir}/coverage3 %{python_sitearch}/coverage/ %{python_sitearch}/coverage-%{version}-py%{python_version}.egg-info ___ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org