Update tox requirement from <3.25,>=3.20 to >=3.20,<4.5
Updates the requirements on tox to permit the latest version.
Release notes
Sourced from tox's releases.
4.4.0
What's Changed
- Add more explanation to
list_dependencies_commandconfiguration option by@Czakiin tox-dev/tox#2883- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin tox-dev/tox#2889- Enforce constraints during install_package_deps by
@masenfin tox-dev/tox#2888- Windows shlex fix by
@masenfin tox-dev/tox#2895New Contributors
@Czakimade their first contribution in tox-dev/tox#2883Full Changelog: https://github.com/tox-dev/tox/compare/4.3.5...4.4.0
Changelog
Sourced from tox's changelog.
v4.4.0 (2023-01-25)
Features - 4.4.0
- Test environments now recognize boolean config keys ``constrain_package_deps`` (default=true) and ``use_frozen_constraints`` (default=false), which control how tox generates and applies constraints files when performing ``install_package_deps``.If
constrain_package_depsis true (default), then tox will write out{env_dir}{/}constraints.txtand pass it topipduringinstall_package_deps. Ifuse_frozen_constraintsis false (default), the constraints will be taken from the specifications listed underdeps(and inside any requirements or constraints file referenced indeps). Otherwise,list_dependencies_command(pip freeze) is used to enumerate exact package specifications which will be written to the constraints file.In previous releases, conflicting package dependencies would silently override the
depsnamed in the configuration, resulting in test runs against unexpected dependency versions, particularly when using tox factors to explicitly test with different versions of dependencies - by :user:masenf. (:issue:2386)Bugfixes - 4.4.0
When parsing command lines, use
shlex(..., posix=True), even on windows platforms, since non-POSIX mode does not handle escape characters and quoting like a shell would. This improves cross-platform configurations without hacks or esoteric quoting.To make this transition easier, on Windows, the backslash path separator will not treated as an escape character unless it preceeds a quote, whitespace, or another backslash chracter. This allows paths to mostly be written in single or double backslash style.
Note that double-backslash will no longer be escaped to a single backslash in substitutions, instead the double backslash will be consumed as part of command splitting, on either posix or windows platforms.
In some instances superfluous double or single quote characters may be stripped from arg arrays in ways that do not occur in the default windows
cmd.exeshell - by :user:masenf. (:issue:2635)Improved Documentation - 4.4.0
- Add infromation when command from ``list_dependencies_command`` configuration option is used. (:issue:`2883`)v4.3.5 (2023-01-18)
Bugfixes - 4.3.5
- When building a ``wheel`` or ``editable`` package with a PEP 517 backend, no longer pass an empty ``metadata_directory`` to the backend ``build_wheel`` or ``build_editable`` endpoint.Some backends, such as PDM and poetry, will not generate package metadata in the presence of a
metadata_directory, even if it is empty. </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary><ul> <li><a href="https://github.com/tox-dev/tox/commit/e29217a0f8303f21993f792988413345a7afff0a"><code>e29217a</code></a> release 4.4.0</li> <li><a href="https://github.com/tox-dev/tox/commit/ea12bf43b990ef3a7df087edb8b45d6514585d76"><code>ea12bf4</code></a> Windows shlex fix (<a href="https://github-redirect.dependabot.com/tox-dev/tox/issues/2895">#2895</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/8736549a48c8467045ea2a56edddc9d4b17a4546"><code>8736549</code></a> Enforce constraints during install_package_deps (<a href="https://github-redirect.dependabot.com/tox-dev/tox/issues/2888">#2888</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/d291752f6fb45a70415e45d92e0ade3023fec392"><code>d291752</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github-redirect.dependabot.com/tox-dev/tox/issues/2889">#2889</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/7753e72528bd52f536ded9d734518bf3276a9225"><code>7753e72</code></a> Add more explanation to <code>list_dependencies_command</code> configuration option (<a href="https://github-redirect.dependabot.com/tox-dev/tox/issues/2883">#2883</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/7eec0251e6885fd025f745949c584f8ca44ffbb6"><code>7eec025</code></a> release 4.3.5</li> <li><a href="https://github.com/tox-dev/tox/commit/8323aaa78a00425b598b093ea0eae82b228fe6d6"><code>8323aaa</code></a> Include WHEEL metadata when using PDM and poetry backends (<a href="https://github-redirect.dependabot.com/tox-dev/tox/issues/2881">#2881</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/23510dc61a2e5e4fc5381a957e75f17796ace265"><code>23510dc</code></a> release 4.3.4</li> <li><a href="https://github.com/tox-dev/tox/commit/d53f0623ea88ed3dbd7f990131b2d716816e464a"><code>d53f062</code></a> Fix the type annotation for <code>color</code> param of <code>Spinner.finalize()</code> (<a href="https://github-redirect.dependabot.com/tox-dev/tox/issues/2879">#2879</a>)</li> <li><a href="https://github.com/tox-dev/tox/commit/2a87375617a228d655b31856c6a39d9957fb9484"><code>2a87375</code></a> Provision cwd (<a href="https://github-redirect.dependabot.com/tox-dev/tox/issues/2877">#2877</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tox-dev/tox/compare/3.20.0...4.4.0">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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)