Accepting request 1071881 from devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/1071881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=53
This commit is contained in:
Dominique Leuenberger 2023-03-17 16:02:08 +00:00 committed by Git OBS Bridge
commit 1ff0f10967
4 changed files with 30 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10188fe543560ec4874f974b5305cd1a8bdcfa885ee00ea3a03733464c4ca265
size 809785

3
coverage-7.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c77f2a9093ccf329dd523a9b2b3c854c20d2a3d968b6def3b820272ca6732242
size 812219

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Mar 14 22:26:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Sat Jan 28 13:38:32 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -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