Commit 84886db
authored
Build(deps): Bump tox from 4.40.0 to 4.42.0 (#801)
Bumps [tox](https://github.com/tox-dev/tox) from 4.40.0 to 4.42.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tox-dev/tox/releases">tox's
releases</a>.</em></p>
<blockquote>
<h2>v4.42.0</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<ul>
<li>🐛 fix(interrupt): suppress BrokenPipeError during teardown by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3778">tox-dev/tox#3778</a></li>
<li>✨ feat(cli): add --no-capture flag for interactive programs by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3777">tox-dev/tox#3777</a></li>
<li>✨ feat(config): add platform-dependent factor support by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3779">tox-dev/tox#3779</a></li>
<li>✨ feat(env): gracefully skip environments with unavailable runners
by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3781">tox-dev/tox#3781</a></li>
<li>🐛 fix(env): restore compound factor conditionals by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3782">tox-dev/tox#3782</a></li>
<li>✨ feat(config): add default_base_python config key by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3783">tox-dev/tox#3783</a></li>
<li>✨ feat(config): add env_site_packages_dir_plat substitution by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3784">tox-dev/tox#3784</a></li>
<li>🐛 fix(parallel): show --list-dependencies output by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3786">tox-dev/tox#3786</a></li>
<li>✨ feat(config): add open-ended generative ranges by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3788">tox-dev/tox#3788</a></li>
<li>🐛 fix(config): collapse continuation lines before factor filtering
by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3787">tox-dev/tox#3787</a></li>
<li>✨ feat(pkg): cache external packaging env build across envs by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3790">tox-dev/tox#3790</a></li>
<li>✨ feat(changelog): add granular towncrier categories by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3785">tox-dev/tox#3785</a></li>
<li>✨ feat(cli): accept plugin CLI options during provisioning by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3791">tox-dev/tox#3791</a></li>
<li>✨ feat(env): add recreate_commands config key by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3793">tox-dev/tox#3793</a></li>
<li>📝 docs(faq): document Debian python3-venv limitation by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3789">tox-dev/tox#3789</a></li>
<li>✨ feat(config): warn on unused config keys with -v by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3795">tox-dev/tox#3795</a></li>
<li>✨ feat(cli): add --skip-env-install flag for offline env reuse by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3792">tox-dev/tox#3792</a></li>
<li>✨ feat(env): add virtualenv_spec for per-env version pinning by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3794">tox-dev/tox#3794</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/tox-dev/tox/compare/4.41.0...4.42.0">https://github.com/tox-dev/tox/compare/4.41.0...4.42.0</a></p>
<h2>v4.41.0</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<ul>
<li>Prefer TOML-native config over legacy_tox_ini in pyproject.toml by
<a
href="https://github.com/rahuldevikar"><code>@rahuldevikar</code></a>
in <a
href="https://redirect.github.com/tox-dev/tox/pull/3776">tox-dev/tox#3776</a></li>
<li>✨ feat(config): add <code>package = "deps-only"</code>
mode by <a
href="https://github.com/gaborbernat"><code>@gaborbernat</code></a> in
<a
href="https://redirect.github.com/tox-dev/tox/pull/3774">tox-dev/tox#3774</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/tox-dev/tox/compare/4.40.0...4.41.0">https://github.com/tox-dev/tox/compare/4.40.0...4.41.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tox-dev/tox/blob/main/docs/changelog.rst">tox's
changelog</a>.</em></p>
<blockquote>
<h1>Features - 4.42.0</h1>
<ul>
<li>Platform-dependent commands can now be specified using factor syntax
without requiring the platform name in the
environment name. The current platform (<code>sys.platform</code> value
like <code>linux</code>, <code>darwin</code>, <code>win32</code>) is
automatically
available as an implicit factor, allowing configurations like
<code>linux: pytest</code> in INI or <code>factor.linux</code> in TOML
conditional expressions to work in any environment. Additionally, TOML
configurations can now use <code>factor.NAME</code> in
conditional expressions to filter settings based on environment name
factors, achieving feature parity with INI's
factor system - by :user:<code>gaborbernat</code>.
(:issue:<code>2092</code>)</li>
<li>Add <code>{env_site_packages_dir_plat}</code> /
<code>{envsitepackagesdir_plat}</code> substitution that returns the
platform-specific
(platlib) site-packages directory. On some Linux distributions (Fedora,
RHEL) this resolves to <code>lib64</code> instead of
<code>lib</code>, which is no longer symlinked since virtualenv 20.x -
by :user:<code>gaborbernat</code>. (:issue:<code>2302</code>)</li>
<li>External packaging environments (<code>package = external</code>)
now only run their build commands once per session, reusing
the built package for all test environments that depend on them - by
:user:<code>gaborbernat</code>. (:issue:<code>2729</code>)</li>
<li>Add <code>default_base_python</code> configuration key to specify a
fallback Python interpreter when no Python factor or
explicit <code>base_python</code> is defined. This allows projects to
pin a default Python version for reproducibility across
different machines without conflicting with <code>pyXY</code>
factor-named environments - by :user:<code>gaborbernat</code>.
(:issue:<code>2846</code>)</li>
<li>CLI options added by plugins listed in <code>requires</code> are now
accepted during provisioning instead of failing with
"unrecognized arguments" - by :user:<code>gaborbernat</code>.
(:issue:<code>2935</code>)</li>
<li>Warn about unused configuration keys during <code>tox run -v</code>
- by :user:<code>gaborbernat</code>. (:issue:<code>3188</code>)</li>
<li>Improve towncrier changelog structure with more granular categories:
<code>breaking</code>, <code>deprecation</code>, <code>feature</code>,
<code>bugfix</code>, <code>doc</code>, <code>packaging</code>,
<code>contrib</code>, and <code>misc</code> - by
:user:<code>gaborbernat</code>. (:issue:<code>3200</code>)</li>
<li>Add <code>--skip-env-install</code> CLI flag to skip dependency and
package installation, allowing reuse of existing
environments when offline or when installation is unnecessary - by
:user:<code>gaborbernat</code>. (:issue:<code>3310</code>)</li>
<li>Add <code>recreate_commands</code> configuration option to run
cleanup commands (e.g. clearing external caches like pre-commit)
before the environment directory is removed during recreation
(<code>-r</code>) - by :user:<code>gaborbernat</code>.
(:issue:<code>3423</code>)</li>
<li>Environments with unavailable runners (missing plugins) are now
gracefully skipped instead of causing a fatal error,
shown with status "NOT AVAILABLE". If such an environment is
explicitly requested with <code>-e</code>, a clear error message
is shown indicating which runner is missing and that the plugin may not
be installed. Unavailable environments in the
configuration don't cause the overall run to fail - by
:user:<code>gaborbernat</code>. (:issue:<code>3504</code>)</li>
<li>Add open-ended range expansion in generative env lists —
<code>py3{9-}</code> expands up to the latest supported CPython minor
version and <code>py3{-13}</code> expands down to the oldest supported
one, both hardcoded at release time per the <code>Python release cycle
<https://devguide.python.org/versions/></code>_ - by
:user:<code>gaborbernat</code>. (:issue:<code>3583</code>)</li>
<li>Add <code>--no-capture</code> (<code>-i</code>) CLI flag to disable
output capture, allowing interactive programs like Python REPL to
access the terminal directly. When enabled, subprocess inherits parent
console handles instead of pipes, fixing issues
where terminal APIs (e.g., querying console dimensions) fail on pipe
handles. Mutually exclusive with
<code>--result-json</code> and parallel mode - by
:user:<code>gaborjbernat</code>. Fixes :issue:<code>3635</code>.
(:issue:<code>3635</code>)</li>
<li>Add <code>virtualenv_spec</code> configuration key that allows
pinning a specific virtualenv version per environment (e.g.
<code>virtualenv_spec = "virtualenv<20.22.0"</code>). When
set, tox bootstraps the specified version in an isolated environment
and drives it via subprocess, enabling environments targeting Python
versions incompatible with the installed
virtualenv - by :user:<code>gaborbernat</code>.
(:issue:<code>3656</code>)</li>
</ul>
<h1>Bug fixes - 4.42.0</h1>
<ul>
<li>Suppress <code>BrokenPipeError</code> during backend teardown when
interrupted, preventing traceback spam during
KeyboardInterrupt - by :user:<code>gaborjbernat</code>. Fixes
:issue:<code>2660</code>. (:issue:<code>2660</code>)</li>
<li>Factor-specific multiline commands using backslash continuation
(<code>\</code>) no longer leak continuation lines into
environments that don't match the factor - by
:user:<code>gaborbernat</code>. (:issue:<code>2912</code>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tox-dev/tox/commit/09b4f60bdb946de3f7a3b7c4e7b17f164dff9dd2"><code>09b4f60</code></a>
release 4.42.0</li>
<li><a
href="https://github.com/tox-dev/tox/commit/c80c62f60d7017f91c2a7d035d045170f8523362"><code>c80c62f</code></a>
✨ feat(env): add virtualenv_spec for per-env version pinning (<a
href="https://redirect.github.com/tox-dev/tox/issues/3794">#3794</a>)</li>
<li><a
href="https://github.com/tox-dev/tox/commit/7ea5bc1d23c54241485f08f87f3c44329f629904"><code>7ea5bc1</code></a>
✨ feat(cli): add --skip-env-install flag for offline env reuse (<a
href="https://redirect.github.com/tox-dev/tox/issues/3792">#3792</a>)</li>
<li><a
href="https://github.com/tox-dev/tox/commit/ee25113aba97cec5f98b15a83684554eab16b233"><code>ee25113</code></a>
✨ feat(config): warn on unused config keys with -v (<a
href="https://redirect.github.com/tox-dev/tox/issues/3795">#3795</a>)</li>
<li><a
href="https://github.com/tox-dev/tox/commit/5ee23bf617d12fb232bac6afe7aa8d28a533734c"><code>5ee23bf</code></a>
📝 docs(faq): document Debian python3-venv limitation (<a
href="https://redirect.github.com/tox-dev/tox/issues/3789">#3789</a>)</li>
<li><a
href="https://github.com/tox-dev/tox/commit/ae36881e95c5d34061cbddb411a983ae8937232a"><code>ae36881</code></a>
✨ feat(env): add recreate_commands config key (<a
href="https://redirect.github.com/tox-dev/tox/issues/3793">#3793</a>)</li>
<li><a
href="https://github.com/tox-dev/tox/commit/0c08af311dd989612e6af977936c2fa5567f9feb"><code>0c08af3</code></a>
✨ feat(cli): accept plugin CLI options during provisioning (<a
href="https://redirect.github.com/tox-dev/tox/issues/3791">#3791</a>)</li>
<li><a
href="https://github.com/tox-dev/tox/commit/80d29317aee5b148d1b87657a9bcfb9335792d9a"><code>80d2931</code></a>
✨ feat(changelog): add granular towncrier categories (<a
href="https://redirect.github.com/tox-dev/tox/issues/3785">#3785</a>)</li>
<li><a
href="https://github.com/tox-dev/tox/commit/326e14aa8f5dc871e11e321080868b4e79a9d4a7"><code>326e14a</code></a>
✨ feat(pkg): cache external packaging env build across envs (<a
href="https://redirect.github.com/tox-dev/tox/issues/3790">#3790</a>)</li>
<li><a
href="https://github.com/tox-dev/tox/commit/78eb3948c496e5944d485fd0f37d3908e4e5f9d7"><code>78eb394</code></a>
🐛 fix(config): collapse continuation lines before factor filtering (<a
href="https://redirect.github.com/tox-dev/tox/issues/3787">#3787</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tox-dev/tox/compare/4.40.0...4.42.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 28df022 commit 84886db
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
0 commit comments