- 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_deps is true (default), then tox will write out {env_dir}{/}constraints.txt and pass it to
pip during install_package_deps. If use_frozen_constraints is false (default), the constraints will be taken
from the specifications listed under deps (and inside any requirements or constraints file referenced in deps).
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 deps named 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.exe shell - 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.24.0...4.4.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=3.24.0&new-version=4.4.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)
---
Dependabot commands and options
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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)
Bumps tox from 3.24.0 to 4.4.0.
Release notes
Sourced from tox's releases.
... (truncated)
Changelog
Sourced from tox's changelog.