Skip to content

Commit 3540665

Browse files
authored
Build(deps-dev): Update tox requirement from >=4.56.4 to >=4.57.2 (#365)
Updates the requirements on [tox](https://github.com/tox-dev/tox) to permit the latest version. <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.57.2</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <ul> <li>🐛 fix(session): fix package env failure cascade and state corruption by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3991">tox-dev/tox#3991</a></li> <li>🐛 fix(pkg): repair editable fallback and sdist-wheel root handling by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3992">tox-dev/tox#3992</a></li> <li>🐛 fix(pylock): install exactly what the lock file specifies by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3994">tox-dev/tox#3994</a></li> <li>🐛 fix(cache): self-heal wrong-shape tox-info content by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3996">tox-dev/tox#3996</a></li> <li>🐛 fix(config): rebuild loader chains per config set by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3993">tox-dev/tox#3993</a></li> <li>🐛 fix(pip): stable rendering of set options in install cache by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3995">tox-dev/tox#3995</a></li> <li>🐛 fix(pep723): honor metadata behind a BOM, fail cleanly on bad blocks by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3997">tox-dev/tox#3997</a></li> <li>🐛 fix(run): honor the fail-fast contract, resilient teardown by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3999">tox-dev/tox#3999</a></li> <li>🐛 fix(cli): honor tox c -o, clean devenv ALL error, correct provision pin by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/3998">tox-dev/tox#3998</a></li> <li>🐛 fix(ux): four run-edge polish fixes by <a href="https://github.com/gaborbernat"><code>@​gaborbernat</code></a> in <a href="https://redirect.github.com/tox-dev/tox/pull/4000">tox-dev/tox#4000</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/tox-dev/tox/compare/4.57.1...4.57.2">https://github.com/tox-dev/tox/compare/4.57.1...4.57.2</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>Bug fixes - 4.57.2</h1> <ul> <li> <p>Fix package environment creation failures being misreported:</p> <ul> <li>discard the partially registered configuration on failure, so the real error surfaces instead of a spurious <code>duplicate configuration definition</code>;</li> <li>report the first creation failure in definition order, not a hash-random one;</li> <li>build the PEP 517 frontend lazily, so <code>tox c</code> and <code>tox l</code> work when <code>pyproject.toml</code> cannot be read. (:issue:<code>3987</code>)</li> </ul> </li> <li> <p>Fix state corruption in the environment creation machinery:</p> <ul> <li>a failed run environment build no longer removes shared package environments other run environments still use;</li> <li>a run environment registers with its package environment once, not twice with triple-counted usage;</li> <li>circular <code>depends</code> reports the cycle as an error instead of a raw traceback;</li> <li><code>Skip</code> raised by a plugin for a package environment marks the run environment package-skipped instead of crashing with <code>UnboundLocalError</code>. (:issue:<code>3991</code>)</li> </ul> </li> <li> <p>Fix two packaging regressions:</p> <ul> <li><code>package = editable</code> on a build backend without PEP-660 support now falls back to <code>editable-legacy</code> with a warning instead of crashing, also when the project metadata is static;</li> <li>editable and wheel environments running after an <code>sdist-wheel</code> environment build from the project sources again, instead of a stale temporary copy that made source edits invisible. (:issue:<code>3992</code>)</li> </ul> </li> <li> <p>An environment serving as both a run environment and a package environment now behaves predictably:</p> <ul> <li>one defined through a <code>[testenv:...]</code>-style section and referenced by <code>package_env</code> inherits from <code>pkgenv</code>/<code>env_pkg_base</code> as documented, instead of silently keeping run environment defaults;</li> <li>one listed in <code>env_list</code> while referenced as a package environment is reported as a configuration conflict up front, instead of failing late with <code>cannot run packaging environment</code> or silently disappearing from <code>tox l</code>. (:issue:<code>3993</code>)</li> </ul> </li> <li> <p><code>pylock.toml</code> installs now match the lock file:</p> <ul> <li>a package locked once per Python range installs only the version matching the environment's interpreter;</li> <li>packages locked to a local directory, VCS repository, or archive install from that source instead of resolving the name against the package index;</li> <li>locked hashes are verified when every entry carries one;</li> <li>changing a pip environment variable such as <code>PIP_INDEX_URL</code> reinstalls, as it already did for <code>deps</code>. (:issue:<code>3994</code>)</li> </ul> </li> <li> <p>Re-running tox no longer rebuilds an environment at random when <code>deps</code> uses <code>--no-binary</code> or <code>--only-binary</code> with more than one package name. (:issue:<code>3995</code>)</p> </li> <li> <p>A corrupted environment status file (<code>.tox-info.json</code>) now always triggers an environment recreation instead of crashing tox with an internal error for some corruption shapes. (:issue:<code>3996</code>)</p> </li> <li> <p>PEP 723 scripts saved with a UTF-8 byte order mark now have their inline metadata honored (previously <code>requires-python</code> and <code>dependencies</code> were silently ignored), and a script with invalid metadata reports a clear configuration error instead of an internal one. (:issue:<code>3997</code>)</p> </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/2d8d5aef8a95e17278d61c284b49f40adc186523"><code>2d8d5ae</code></a> release 4.57.2</li> <li><a href="https://github.com/tox-dev/tox/commit/b74d78b034e94a33ce92210f64e83c2ec4d2da3b"><code>b74d78b</code></a> 🐛 fix(ux): four run-edge polish fixes (<a href="https://redirect.github.com/tox-dev/tox/issues/4000">#4000</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/09dad3d69d7a376f6432306deab84ddd15191849"><code>09dad3d</code></a> 🐛 fix(cli): honor tox c -o, clean devenv ALL error, correct provision pin (<a href="https://redirect.github.com/tox-dev/tox/issues/3">#3</a>...</li> <li><a href="https://github.com/tox-dev/tox/commit/fa6ec2bb6b5e013a3b4865ddd85564929beaca9b"><code>fa6ec2b</code></a> 🐛 fix(run): honor the fail-fast contract, resilient teardown (<a href="https://redirect.github.com/tox-dev/tox/issues/3999">#3999</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/b1b0159a3f9e84db4c080dfffa8f6d372cc91bdd"><code>b1b0159</code></a> 🐛 fix(pep723): honor metadata behind a BOM, fail cleanly on bad blocks (<a href="https://redirect.github.com/tox-dev/tox/issues/3997">#3997</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/a111ec6bd3fba592f138ccbf4169064e0128b382"><code>a111ec6</code></a> 🐛 fix(pip): stable rendering of set options in install cache (<a href="https://redirect.github.com/tox-dev/tox/issues/3995">#3995</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/e9697237467768dbdb6825bb42f832878f181890"><code>e969723</code></a> 🐛 fix(config): rebuild loader chains per config set (<a href="https://redirect.github.com/tox-dev/tox/issues/3993">#3993</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/6a9b6a57e75b4b60404e51809f1296e5ff38a97d"><code>6a9b6a5</code></a> 🐛 fix(cache): self-heal wrong-shape tox-info content (<a href="https://redirect.github.com/tox-dev/tox/issues/3996">#3996</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/fd4931a36baf73c6ea91cc6b6b3b9a541558d240"><code>fd4931a</code></a> 🐛 fix(pylock): install exactly what the lock file specifies (<a href="https://redirect.github.com/tox-dev/tox/issues/3994">#3994</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/821ca18f675deee9a2665b481424d01303618b58"><code>821ca18</code></a> 🐛 fix(pkg): repair editable fallback and sdist-wheel root handling (<a href="https://redirect.github.com/tox-dev/tox/issues/3992">#3992</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tox-dev/tox/compare/4.56.4...4.57.2">compare view</a></li> </ul> </details> <br /> 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>
2 parents 214acd7 + 3066cfa commit 3540665

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dev = [
5050
"pytest-xdist[psutil]>=3.8.0",
5151
"ruff>=0.15.22",
5252
"sphinx>=9.0.4",
53-
"tox>=4.56.4",
53+
"tox>=4.57.2",
5454
"tox-gh-actions>=3.5.0",
5555
]
5656

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)