Skip to content

chore(deps): update python test tooling - #637

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/python-test-tooling
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/python-test-tooling

Conversation

@renovate

@renovate renovate Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
coverage >=7.17.2 → >=7.17.5 age confidence
tox (changelog) >=4.67.13 → >=4.67.16 age confidence
tox-uv (changelog) >=1.37.7 → >=1.37.9 age confidence
types-pyyaml (changelog) >=6.0.12.20261111 → >=6.0.12.20261122 age confidence

Release Notes

coveragepy/coveragepy (coverage)

v7.17.5

Compare Source

  • Fix: the reporting commands (report, html, xml, json,
    lcov, and annotate) used to put the current directory first on
    sys.path, to let plugins import local files. Now the current directory
    is added only if plugins are configured, and at the end of sys.path, so
    local files can't replace other modules.

  • Fix: local plugins interfered with erase and combine as reported in
    issue 1726_ and issue 1979. This is now fixed (pull 2253).

  • Fix: with the sysmon core on Python 3.14, starting and stopping a second
    Coverage object stopped the first one from measuring code it had already
    run. Closes issue 2302_.

  • Fix: combining data files failed with "Conflicting file tracer name" when
    one data file only listed a file without measuring it (as unexecuted source
    files are) and another measured the same file with a plugin. This happened
    in pytest-cov's distributed testing. Now a file with no measurements doesn't
    conflict with a plugin's measurements. Fixes issue 2358_.

  • Fix: saving data while another thread started measuring a new file handled
    by a plugin could fail with "dictionary changed size during iteration".
    Fixed in pull 2382_.

  • Fix: a keyboard interrupt at just the wrong moment could leave a lock locked
    and prevent saving data, as reported in issue 2383. This is now fixed
    (pull 2396
    ).

.. _issue 1726: #​1726
.. _issue 1979: #​1979
.. _pull 2253: #​2253
.. _issue 2302: #​2302
.. _issue 2358: #​2358
.. _pull 2382: #​2382
.. _issue 2383: #​2383
.. _pull 2396: #​2396

.. _changelog-7.17.4:

v7.17.4

Compare Source

  • Fix: since 7.13.1, a parallel data file could be named with the hash of
    different data than it held, for example when nbval records a notebook's
    coverage into pytest-cov's data file. Combining could then skip it as a
    duplicate and lose its data. Now the hash comes from the data in the file
    when it is saved. Fixes issue 2370_ with pull 2387_.

  • Fix: lines or arcs recorded by other threads while data was being flushed
    (for example during Coverage.get_data(), Coverage.save(), or dynamic
    context switches) could be lost. This is now fixed, closing issue 2384_.

  • Fix: on Python 3.14 with the pure-Python tracer (COVERAGE_CORE=pytrace)
    and branch measurement, a function that returned right after an except*
    handler recorded an arc with no line number. Reporting on the data then
    failed with a TypeError. Now that arc is not recorded. pull 2403_.

  • Fix: in the JSON report with show_contexts, each function and class had
    the contexts for every line in the file. Now they only have the contexts for
    their own lines. Closes issue 2374_.

  • Fix: The first entry in a [paths] list is the result path, and must be an
    actual file path. If it contained wildcards, the rule could never be used
    and was silently ignored. It is now reported as a configuration error.
    Closes issue 1531_.

  • Fix: a configuration file (.coveragerc, setup.cfg, tox.ini or
    pyproject.toml) saved with a UTF-8 byte order mark couldn't be read.
    Now a leading BOM is ignored. pull 2388_.

.. _issue 1531: #​1531
.. _issue 2370: #​2370
.. _issue 2374: #​2374
.. _issue 2384: #​2384
.. _pull 2387: #​2387
.. _pull 2388: #​2388
.. _pull 2403: #​2403

.. _changelog-7.17.3:

v7.17.3

Compare Source

  • Fix: using patch = fork, a child process wasn't measured unless patch = subprocess was also used, as described in issue 2340. This is now fixed
    in pull 2342
    .

  • Fix: the JSON report keys functions and classes by name, but names can
    repeat, for example a property getter and setter. Only the last one was
    kept, so the others were missing from the report. Now repeated names get a
    @<line number> suffix, as in the LCOV report. pull 2353_.

  • Fix: when combining parallel data files, a file that disappears after it
    has been listed (for example, when the process writing it is still finishing
    its write) is now reported with a warning, instead of stopping the combine
    with a DataError. This was a regression in 7.17.1. Closes issue 2364_.

  • Fix: with patch = subprocess on Python 3.13, a measured subprocess that
    was stopped with SIGINT would exit with status 1 instead of dying from the
    signal. This was a regression in 7.17.1, and is now fixed, closing issue 2362_.

  • Performance: on Python 3.13 and later, using the C tracer should result in
    test suites running about 8% to 12% faster (pull 2371_).

.. _issue 2340: #​2340
.. _pull 2342: #​2342
.. _pull 2353: #​2353
.. _issue 2364: #​2364
.. _issue 2362: #​2362
.. _pull 2371: #​2371

.. _changes_7-17-2:

tox-dev/tox (tox)

v4.67.16

Compare Source

Bug fixes

Performance
  • Defer imports until the modules are needed on Python 3.15, reducing startup time for common CLI operations (#​4450) by @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.67.15

Compare Source

Bug fixes
  • Create the work directory with owner-only access on POSIX also when no package is built; under a permissive umask it was created group-writable, leaving the environments inside it reachable by other accounts (#​4449) by @​gaborbernat. (#​4444)

🐍 PyPI release

📜 Full Changelog

v4.67.14

Compare Source

Bug fixes
  • An environment name that combines an interpreter prefix with an explicit version, such as pypy-3.10, now works together with other factors. pypy-3.10-lint or tests-cpython-3.13 used to fail with conflicting factors, because the prefix and the version were read as two separate Python factors. With ignore_base_python_conflict, such an environment name now takes precedence over base_python as other Python factors already do, so pypy-3.10-lint runs on pypy3.10 instead of the configured base_python (#​4404) by @​syahra712 and @​gaborbernat.
  • A set_env entry with an empty name, such as =value in tox.ini or an environment file, or "" = "value" in a TOML table, now fails as invalid instead of passing an unnamed variable to the commands, which broke them on Windows (#​4423) by @​arindam77 and @​gaborbernat. (#​4422)
  • When tox writes set_env entries back out as lines, for example to combine a {[section]set_env} reference with an --override, a value ending in a backslash no longer swallows the environment marker that follows it, which made a variable scoped to one platform apply everywhere (#​4426) by @​anwang132 and @​gaborbernat. (#​4425)
  • An environment specific --override that appends with +=, such as testenv:py.deps+=pytest-xdist, now appends to the value the environment inherits from [testenv] or env_run_base instead of replacing it. Appending to a set such as labels adds to it, and appending to a single value such as description fails with an error, as it already did within one section (#​4434) by @​hemtilva and @​gaborbernat. (#​4432)
  • --use-feature in deps or a requirements file now accepts any feature name and leaves the check to pip, instead of rejecting every name other than 2020-resolver and fast-deps (#​4436) by @​Doomguy-BFG9000 and @​gaborbernat. (#​4435)
  • A duration just under a whole minute, hour or day, such as 59.999 seconds, is now shown as 1 minute instead of 60 seconds, and a hundredth of a second after a whole minute, hour or day, as in 1 minute 0.01 seconds, is no longer dropped (#​4420) by @​syahra712 and @​gaborbernat.
  • Changing system_site_packages now recreates the environment. Before, tox reused the existing environment, which kept the old setting because virtualenv applies it only when it creates one. An environment created with the setting on by an earlier tox release is recreated once after upgrading (#​4393) by @​abhishekcpp007 and @​gaborbernat.
  • Honor encoding declarations in the first two lines of requirements files before trying UTF-8 or the locale encoding. A declared encoding Python does not know fails the environment with an error naming the file instead of an internal error (#​4440) by @​Ramji-Purwar and @​gaborbernat.
  • Recognize reversed extra markers such as "dev" == extra when selecting package dependencies (#​4397) by @​Jinyong-Li and @​gaborbernat.
  • Report circular requirements and constraints file includes with a clear error instead of raising RecursionError (#​4439) by @​Ramji-Purwar and @​gaborbernat.
  • tox config and {[testenv:NAME]commands} references now keep the - and ! exit-code prefixes of commands, so an inherited ignored or inverted command no longer turns into a plain one (#​4421) by @​anubhavlal07 and @​gaborbernat.
  • {factor:label} now resolves a labeled factor value that contains a dash, such as flit-core, instead of falling back to its default (#​4406) by @​gaborbernat.
  • {factor:label} now resolves to the factor the label's group put in the environment name when two groups share a value. Before, with factors = [{ source = ["py312", "py313"] }, { target = ["py312", "py313"] }], the environment migrate-py313-py312 read py312 for both labels (#​4402) by @​Kernel-Hunter and @​gaborbernat.
  • tox now treats a Windows junction where a run environment's directory, or its log or tmp folder, should live as it treats a symlink: it replaces the junction without touching the files of its target, also when the target is missing. A junction at the environment directory itself makes tox fail with is a link where this environment should live unless -r is given, instead of raising FileExistsError (#​4418) by @​subotac and @​gaborbernat.

Documentation
  • Explain in the pkg_dir reference that it belongs to packaging environments and show how a run environment refers to it (#​4428) by @​vudigapranav and @​gaborbernat. (#​4424)
  • Document that package staging creates the work directory with owner-only access, why a process running as another account then fails to import from an environment, and how to opt out by creating the work directory or changing its mode (#​4448) by @​gaborbernat. (#​4444)

Packaging
New Contributors

🐍 PyPI release

📜 Full Changelog

tox-dev/tox-uv (tox-uv)

v1.37.9

Compare Source

Packaging
  • Include a CycloneDX SBOM in the tox-uv wheel, alongside the existing SBOM in tox-uv-bare
    (#​442) by @​gaborbernat.

v1.37.8

Compare Source

Fixed
Packaging

Configuration

📅 Schedule: (in timezone Europe/Stockholm)

  • Branch creation
    • Only on Monday (* * * * 1)
  • 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Nov 23, 2026
@renovate
renovate Bot force-pushed the renovate/python-test-tooling branch 4 times, most recently from b23290d to ce26dd7 Compare November 29, 2026 01:54
@renovate
renovate Bot force-pushed the renovate/python-test-tooling branch from ce26dd7 to afd17ee Compare November 30, 2026 16:42

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants