Skip to content

Commit 28df022

Browse files
Build(deps): Bump tox from 4.38.0 to 4.40.0 (#800)
Bumps [tox](https://github.com/tox-dev/tox) from 4.38.0 to 4.40.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.40.0</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <ul> <li>Use positive exit code for multi-env failures by <a href="https://github.com/rahuldevikar"><code>@​rahuldevikar</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3768">tox-dev/tox#3768</a></li> <li>✨ feat(config): add {glob:PATTERN} substitution by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3769">tox-dev/tox#3769</a></li> <li>Add package=sdist-wheel package type by <a href="https://github.com/rahuldevikar"><code>@​rahuldevikar</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3741">tox-dev/tox#3741</a></li> <li>✨ feat(config): add conditional replace for TOML by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3771">tox-dev/tox#3771</a></li> <li>Create .gitignore in work_dir and info file directories by <a href="https://github.com/rahuldevikar"><code>@​rahuldevikar</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3770">tox-dev/tox#3770</a></li> <li>✨ feat(run): add commands_retry config option by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3772">tox-dev/tox#3772</a></li> <li>🐛 fix(config): set_env override lost after load by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3775">tox-dev/tox#3775</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/tox-dev/tox/compare/4.39.0...4.40.0">https://github.com/tox-dev/tox/compare/4.39.0...4.40.0</a></p> <h2>v4.39.0</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <ul> <li>🐛 fix(ci): suppress Pygments DeprecationWarning on Python 3.15 by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3733">tox-dev/tox#3733</a></li> <li>🐛 fix(deps): apply --force-dep to package metadata dependencies by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3734">tox-dev/tox#3734</a></li> <li>fix(ci): drop module scope from commonprefix warning filter by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3735">tox-dev/tox#3735</a></li> <li>🐛 fix(config): resolve overrides with alias config keys by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3736">tox-dev/tox#3736</a></li> <li>🐛 fix(config): set_env cross-section substitution loses values by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3737">tox-dev/tox#3737</a></li> <li>🐛 fix(legacy): --parallel-no-spinner no longer suppresses output by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3738">tox-dev/tox#3738</a></li> <li>🐛 fix(config): set_env cross-section substitution precedence by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3739">tox-dev/tox#3739</a></li> <li>🐛 fix(config): set_env file| no longer overrides later values by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3740">tox-dev/tox#3740</a></li> <li>🐛 fix(config): setup.cfg without [tox:tox] no longer blocks discovery by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3742">tox-dev/tox#3742</a></li> <li>🐛 fix(env): posargs with colon no longer crash inactive envs by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3744">tox-dev/tox#3744</a></li> <li>🐛 fix(provision): skip requires with false environment markers by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3745">tox-dev/tox#3745</a></li> <li>🐛 fix(config): env variable substitution in package envs by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3746">tox-dev/tox#3746</a></li> <li>🐛 fix(config): set_env substitution honors skip_missing_interpreters by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3747">tox-dev/tox#3747</a></li> <li>🐛 fix(config): resolve cross-section refs in caller context by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3748">tox-dev/tox#3748</a></li> <li>🐛 fix(config): break changedir/posargs circular dependency by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3749">tox-dev/tox#3749</a></li> <li>🐛 fix(cli): support brace expansion in -e flag by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3750">tox-dev/tox#3750</a></li> <li>🐛 fix(config): factor filter fallback to default value by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3751">tox-dev/tox#3751</a></li> <li>🐛 fix(env): preserve shared pkg env on recreate by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3752">tox-dev/tox#3752</a></li> <li>🐛 fix(env): reject partial testenv section matches by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3753">tox-dev/tox#3753</a></li> <li>🐛 fix(config): support base inherit in TOML format by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3754">tox-dev/tox#3754</a></li> <li>🐛 fix(cli): make multiple -e flags additive by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3755">tox-dev/tox#3755</a></li> <li>🐛 fix(provision): serialize concurrent provisioning by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3756">tox-dev/tox#3756</a></li> <li>📝 docs: document interactive terminal programs limitation by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3757">tox-dev/tox#3757</a></li> <li>🐛 fix(config): defer TOML set_env string substitution by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3759">tox-dev/tox#3759</a></li> <li>🐛 fix(config): handle cross-drive posargs on Windows by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3760">tox-dev/tox#3760</a></li> <li>🐛 fix(plugin): skip toxfile.py with unknown hooks by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3762">tox-dev/tox#3762</a></li> <li>🐛 fix(config): skip non-tox sections in env discovery by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3761">tox-dev/tox#3761</a></li> <li>🐛 fix(config): treat backslash-space as path separator on Windows by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3764">tox-dev/tox#3764</a></li> <li>🐛 fix(config): preserve colors in provisioned tox on Windows by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3765">tox-dev/tox#3765</a></li> <li>create a cachedir.tag file in the tox work directory by <a href="https://github.com/rahuldevikar"><code>@​rahuldevikar</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3763">tox-dev/tox#3763</a></li> <li>🐛 fix(execute): render ANSI colors from subprocesses on Windows by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3766">tox-dev/tox#3766</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.40.0</h1> <ul> <li>Add <code>{glob:PATTERN}</code> substitution to expand file system glob/wildcard patterns in configuration values. Supports default values, recursive <code>**</code> matching, and both INI string syntax and TOML dict syntax (<code>{ replace = &quot;glob&quot;, pattern = &quot;...&quot; }</code>) - by :user:<code>gaborbernat</code>. (:issue:<code>1571</code>)</li> <li>Add <code>commands_retry</code> configuration option to automatically retry failed commands - by :user:<code>gaborbernat</code>. (:issue:<code>1578</code>)</li> <li>Automatically create a <code>.gitignore</code> file containing <code>*</code> in the tox work directory (typically <code>.tox/</code>) and in environment info directories, so that tox-managed files are not tracked by git - by :user:<code>rahuldevikar</code>. (:issue:<code>2530</code>)</li> <li>Add conditional value selection via <code>replace = &quot;if&quot;</code> in TOML configuration. Supports a <code>condition</code> expression with <code>env.VAR</code> lookups, <code>==</code>/<code>!=</code> comparisons, and <code>and</code>/<code>or</code>/<code>not</code> boolean logic to select between <code>then</code> and <code>else</code> values - by :user:<code>gaborbernat</code>. (:issue:<code>3650</code>)</li> <li>Add <code>sdist-wheel</code> package type that builds a wheel from a source distribution, ensuring the sdist is complete and the package can be correctly built from it — by :user:<code>rahuldevikar</code>. (:issue:<code>3687</code>)</li> </ul> <h1>Bugfixes - 4.40.0</h1> <ul> <li>Use positive exit code (<code>1</code>) instead of <code>-1</code> when reporting failures across multiple environments. On Windows, <code>cmd.exe</code>'s <code>IF ERRORLEVEL 1</code> only matches exit codes <code>&gt;= 1</code>, so the previous negative exit code was silently treated as success - by :user:<code>radevika</code>. Fixes :issue:<code>2945</code>. (:issue:<code>2945</code>)</li> <li>When <code>set_env</code> both inherits via cross-section substitution (e.g., <code>{[testenv]set_env}</code>) and explicitly overrides the same variable, the explicit value was incorrectly replaced by the inherited one because <code>load()</code> moved the key from the raw dict to the materialized dict before the deferred substitution ran, making the protection check ineffective - by :user:<code>gaborjbernat</code>. Fixes :issue:<code>3773</code>. (:issue:<code>3773</code>)</li> </ul> <hr /> <p>v4.39.0 (2026-02-18)</p> <hr /> <h1>Features - 4.39.0</h1> <ul> <li>Create a <code>CACHEDIR.TAG</code> file in the tox work directory (<code>.tox</code>) so that backup and archiving tools (e.g., <code>tar --exclude-caches</code>, Borg, restic) can automatically skip it - by :user:<code>radevika</code>. (:issue:<code>3334</code>)</li> </ul> <h1>Bugfixes - 4.39.0</h1> <ul> <li>On Windows, ANSI color codes from child processes (like pytest, mypy) are now rendered correctly in terminals by enabling VT100 processing mode for subprocess output streams - by :user:<code>gaborbernat</code>. (:issue:<code>2337</code>)</li> <li>Concurrent tox processes no longer corrupt the provision environment (<code>.tox</code>) -- a file lock now serializes provisioning across processes - by :user:<code>gaborbernat</code>. (:issue:<code>2515</code>)</li> <li>Config files (<code>tox.ini</code>, <code>setup.cfg</code>) with unicode characters are now read correctly on Windows when running tox with <code>python -m -I</code> (isolation mode) - by :user:<code>gaborbernat</code>. (:issue:<code>2692</code>)</li> <li><code>set_env</code> values explicitly defined in a section now take precedence over values inherited via cross-section substitution (e.g., <code>{[testenv]set_env}</code>) - by :user:<code>gaborbernat</code>. (:issue:<code>2831</code>)</li> <li>The <code>-e</code> flag now supports brace expansion (e.g. <code>tox -e 'py{38,39}-pytest{6.x,7.x}'</code>) instead of incorrectly</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/db17069e6705dedbc93f0808d0a04e0a2b26724b"><code>db17069</code></a> release 4.40.0</li> <li><a href="https://github.com/tox-dev/tox/commit/5929bdb54f70edca0d88dc2145337faacc49d697"><code>5929bdb</code></a> 🐛 fix(config): set_env override lost after load (<a href="https://redirect.github.com/tox-dev/tox/issues/3775">#3775</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/a310c11ab42d29ccdfd07aa9d9d1cba4efbe2b18"><code>a310c11</code></a> ✨ feat(run): add commands_retry config option (<a href="https://redirect.github.com/tox-dev/tox/issues/3772">#3772</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/4e822c556b6be2966342bf536ed40c8adde3e507"><code>4e822c5</code></a> Create .gitignore in work_dir and info file directories (<a href="https://redirect.github.com/tox-dev/tox/issues/3770">#3770</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/421c09c82d3b2840e77085e2f1b7705d20971d0d"><code>421c09c</code></a> ✨ feat(config): add conditional replace for TOML (<a href="https://redirect.github.com/tox-dev/tox/issues/3771">#3771</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/17d3c1e89b00eaf55242e4525e0fd35cecf7a144"><code>17d3c1e</code></a> Add package=sdist-wheel package type (<a href="https://redirect.github.com/tox-dev/tox/issues/3741">#3741</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/8929382716195dc3290a28d5486333dd2f245885"><code>8929382</code></a> ✨ feat(config): add {glob:PATTERN} substitution (<a href="https://redirect.github.com/tox-dev/tox/issues/3769">#3769</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/a514a12d2572aea323eb9fa48cdcfa7a427ac30c"><code>a514a12</code></a> Use positive exit code for multi-env failures (<a href="https://redirect.github.com/tox-dev/tox/issues/3768">#3768</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/6e29444da465211338eafea747aac1b384b0d47f"><code>6e29444</code></a> release 4.39.0</li> <li><a href="https://github.com/tox-dev/tox/commit/87165b6ebad0326d158b4a59ce727d39ed4ab721"><code>87165b6</code></a> 🧪 test(config): verify unicode support in config files (<a href="https://redirect.github.com/tox-dev/tox/issues/3767">#3767</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tox-dev/tox/compare/4.38.0...4.40.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tox&package-manager=pip&previous-version=4.38.0&new-version=4.40.0)](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 34de49d commit 28df022

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

requirements/ci-wheel.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
coverage==7.13.4
44
pytest-cov==7.0.0
5-
tox==4.38.0
5+
tox==4.40.0

0 commit comments

Comments
 (0)