Update dependency coverage to v7.3.0 #62

Merged
jake merged 1 commit from renovate/coverage-7.x into master 2023-08-19 13:26:38 +01:00
Collaborator

This PR contains the following updates:

Package Update Change
coverage minor ==7.2.1 -> ==7.3.0

Release Notes

nedbat/coveragepy (coverage)

v7.3.0

Compare Source

  • 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.
    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 <pull 1641_>_.

.. _pull 1641: https://github.com/nedbat/coveragepy/pull/1641
.. _issue 1646: https://github.com/nedbat/coveragepy/issues/1646

.. _changes_7-2-7:

v7.2.7

Compare Source

  • Fix: reverted a change from 6.4.3 <pull 1347_>_ 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 <pull 1629_>_
    and David Szotten for persisting with problem reports and detailed diagnoses.

  • Wheels are now provided for CPython 3.12.

.. _issue 1586: https://github.com/nedbat/coveragepy/issues/1586
.. _pull 1629: https://github.com/nedbat/coveragepy/pull/1629

.. _changes_7-2-6:

v7.2.6

Compare Source

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

.. _issue 1553: https://github.com/nedbat/coveragepy/issues/1553
.. _issue 1628: https://github.com/nedbat/coveragepy/issues/1628

.. _changes_7-2-5:

v7.2.5

Compare Source

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

.. _changes_7-2-4:

v7.2.4

Compare Source

PyCon 2023 sprint fixes!

  • 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 <pull 1608_>
    .

  • Fix: the XML report would have an incorrect <source> element when using
    relative files and the source option ended with a slash (issue 1541).
    This is now fixed, thanks to Kevin Brown-Silva <pull 1608_>
    .

  • 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 <pull 1613_>_.

  • Docs: a new :ref:Migrating page <migrating> with details about how to
    migrate between major versions of coverage.py. It currently covers the
    wildcard changes in 7.x. Thanks, Brian Grohe <pull 1610_>_.

.. _issue 1523: https://github.com/nedbat/coveragepy/issues/1523
.. _issue 1541: https://github.com/nedbat/coveragepy/issues/1541
.. _issue 1604: https://github.com/nedbat/coveragepy/issues/1604
.. _pull 1608: https://github.com/nedbat/coveragepy/pull/1608
.. _pull 1609: https://github.com/nedbat/coveragepy/pull/1609
.. _pull 1610: https://github.com/nedbat/coveragepy/pull/1610
.. _pull 1613: https://github.com/nedbat/coveragepy/pull/1613

.. _changes_7-2-3:

v7.2.3

Compare Source

  • 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 <pull 1600_>, 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 <pull 1587_>_.

  • Development dependencies no longer use hashed pins, closing issue 1592_.

.. _issue 1584: https://github.com/nedbat/coveragepy/issues/1584
.. _pull 1587: https://github.com/nedbat/coveragepy/pull/1587
.. _issue 1592: https://github.com/nedbat/coveragepy/issues/1592
.. _issue 1599: https://github.com/nedbat/coveragepy/issues/1599
.. _pull 1600: https://github.com/nedbat/coveragepy/pull/1600

.. _changes_7-2-2:

v7.2.2

Compare Source

  • 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, thanks to
    Manuel Jacob <pull 1560_>_.

  • Fix: the coverage lcov command could create a .lcov file with incorrect
    LF (lines found) and LH (lines hit) totals. This is now fixed, thanks to
    Ian Moore <pull 1583_>_.

  • Fix: the coverage xml command on Windows could create a .xml file with
    duplicate <package> elements. This is now fixed, thanks to Benjamin Parzella <pull 1574_>, closing issue 1573.

.. _pull 1560: https://github.com/nedbat/coveragepy/pull/1560
.. _issue 1573: https://github.com/nedbat/coveragepy/issues/1573
.. _pull 1574: https://github.com/nedbat/coveragepy/pull/1574
.. _pull 1583: https://github.com/nedbat/coveragepy/pull/1583

.. _changes_7-2-1:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [coverage](https://github.com/nedbat/coveragepy) | minor | `==7.2.1` -> `==7.3.0` | --- ### Release Notes <details> <summary>nedbat/coveragepy (coverage)</summary> ### [`v7.3.0`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-730--2023-08-12) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.7...7.3.0) - 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. 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 <pull 1641_>`\_. .. \_pull 1641: https://github.com/nedbat/coveragepy/pull/1641 .. \_issue 1646: https://github.com/nedbat/coveragepy/issues/1646 .. \_changes\_7-2-7: ### [`v7.2.7`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-727--2023-05-29) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.6...7.2.7) - Fix: reverted a `change from 6.4.3 <pull 1347_>`\_ 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 <pull 1629_>`\_ and David Szotten for persisting with problem reports and detailed diagnoses. - Wheels are now provided for CPython 3.12. .. \_issue 1586: https://github.com/nedbat/coveragepy/issues/1586 .. \_pull 1629: https://github.com/nedbat/coveragepy/pull/1629 .. \_changes\_7-2-6: ### [`v7.2.6`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-726--2023-05-23) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.5...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`\_. .. \_issue 1553: https://github.com/nedbat/coveragepy/issues/1553 .. \_issue 1628: https://github.com/nedbat/coveragepy/issues/1628 .. \_changes\_7-2-5: ### [`v7.2.5`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-725--2023-04-30) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.4...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. .. \_changes\_7-2-4: ### [`v7.2.4`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-724--2023-04-28) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.3...7.2.4) PyCon 2023 sprint fixes! - 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 <pull 1608_>`*. - Fix: the XML report would have an incorrect `<source>` element when using relative files and the source option ended with a slash (`issue 1541`*). This is now fixed, thanks to `Kevin Brown-Silva <pull 1608_>`*. - 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 <pull 1613_>`\_. - Docs: a new :ref:`Migrating page <migrating>` with details about how to migrate between major versions of coverage.py. It currently covers the wildcard changes in 7.x. Thanks, `Brian Grohe <pull 1610_>`\_. .. \_issue 1523: https://github.com/nedbat/coveragepy/issues/1523 .. \_issue 1541: https://github.com/nedbat/coveragepy/issues/1541 .. \_issue 1604: https://github.com/nedbat/coveragepy/issues/1604 .. \_pull 1608: https://github.com/nedbat/coveragepy/pull/1608 .. \_pull 1609: https://github.com/nedbat/coveragepy/pull/1609 .. \_pull 1610: https://github.com/nedbat/coveragepy/pull/1610 .. \_pull 1613: https://github.com/nedbat/coveragepy/pull/1613 .. \_changes\_7-2-3: ### [`v7.2.3`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-723--2023-04-06) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.2...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 <pull 1600_>`*, 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 <pull 1587_>`\_. - Development dependencies no longer use hashed pins, closing `issue 1592`\_. .. \_issue 1584: https://github.com/nedbat/coveragepy/issues/1584 .. \_pull 1587: https://github.com/nedbat/coveragepy/pull/1587 .. \_issue 1592: https://github.com/nedbat/coveragepy/issues/1592 .. \_issue 1599: https://github.com/nedbat/coveragepy/issues/1599 .. \_pull 1600: https://github.com/nedbat/coveragepy/pull/1600 .. \_changes\_7-2-2: ### [`v7.2.2`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-722--2023-03-16) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.1...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, thanks to `Manuel Jacob <pull 1560_>`\_. - Fix: the `coverage lcov` command could create a .lcov file with incorrect LF (lines found) and LH (lines hit) totals. This is now fixed, thanks to `Ian Moore <pull 1583_>`\_. - Fix: the `coverage xml` command on Windows could create a .xml file with duplicate `<package>` elements. This is now fixed, thanks to `Benjamin Parzella <pull 1574_>`*, closing `issue 1573`*. .. \_pull 1560: https://github.com/nedbat/coveragepy/pull/1560 .. \_issue 1573: https://github.com/nedbat/coveragepy/issues/1573 .. \_pull 1574: https://github.com/nedbat/coveragepy/pull/1574 .. \_pull 1583: https://github.com/nedbat/coveragepy/pull/1583 .. \_changes\_7-2-1: </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zOS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
renovate added 1 commit 2023-08-12 20:00:43 +01:00
jake merged commit d4a1da0097 into master 2023-08-19 13:26:38 +01:00
jake deleted branch renovate/coverage-7.x 2023-08-19 13:26:38 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: repos/website#62
No description provided.