- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=102
This commit is contained in:
Dirk Mueller 2022-10-03 15:49:25 +00:00 committed by Git OBS Bridge
parent 71eb8a48cd
commit a129f6b80f
4 changed files with 27 additions and 4 deletions

View File

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

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

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

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Oct 3 15:48:41 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Sat Sep 10 15:31:21 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

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