Skip to content

Update coverage to 7.7.0#89

Closed
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-coverage-7.6.10-to-7.7.0
Closed

Update coverage to 7.7.0#89
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-coverage-7.6.10-to-7.7.0

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates coverage from 7.6.10 to 7.7.0.

Changelog

7.7.0

--------------------------

- The Coverage object has a new method, :meth:`.Coverage.branch_stats` for
getting simple branch information for a module.  Closes `issue 1888`_.

- The :class:`Coverage constructor<.Coverage>` now has a ``plugins`` parameter
for passing in plugin objects directly, thanks to `Alex Gaynor <pull
1919_>`_.

- Many constant tests in if statements are now recognized as being optimized
away.  For example, previously ``if 13:`` would have been considered a branch
with one path not taken.  Now it is understood as always true and no coverage
is missing.

- The experimental sys.monitoring support now works for branch coverage if you
are using Python 3.14.0 alpha 6 or newer.  This should reduce the overhead
coverage.py imposes on your test suite. Set the environment variable
``COVERAGE_CORE=sysmon`` to try it out.

- Confirmed support for PyPy 3.11. Thanks Michał Górny.

.. _issue 1888: https://github.com/nedbat/coveragepy/issues/1888
.. _pull 1919: https://github.com/nedbat/coveragepy/pull/1919


.. _changes_7-6-12:

7.6.12

---------------------------

- Fix: some aarch64 distributions were missing (`issue 1927`_).  These are now
building reliably.

.. _issue 1927: https://github.com/nedbat/coveragepy/issues/1927

.. _changes_7-6-11:

7.6.11

---------------------------

- Fix: a memory leak in CTracer has been fixed.  The details are in `issue
1924`_ and `pytest-dev 676`_.  This should reduce the memory footprint for
everyone even if it hadn't caused a problem before.

- We now ship a py3-none-any.whl wheel file.  Thanks, `Russell Keith-Magee
<pull 1914_>`_.

.. _pull 1914: https://github.com/nedbat/coveragepy/pull/1914
.. _issue 1924: https://github.com/nedbat/coveragepy/issues/1924
.. _pytest-dev 676: https://github.com/pytest-dev/pytest-cov/issues/676

.. _changes_7-6-10:
Links

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #96

@pyup-bot pyup-bot closed this Mar 21, 2025
@asmfreak asmfreak deleted the pyup-update-coverage-7.6.10-to-7.7.0 branch March 21, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant