- Tox will now expand self-referential extras discovered in package deps to respect local modifications to package
metadata. This allows a package extra to explicitly depend on another package extra, which previously only worked with
non-static metadata - by :user:`masenf`. (:issue:`2904`)
v4.4.2 (2023-01-25)
Bugfixes - 4.4.2
Allow the user configuration file (default <appdir>/tox/config.ini) to be overridden via the
TOX_USER_CONFIG_FILE environment variable. Previously tox was looking at the TOX_CONFIG_FILE to override the
user configuration, however that environment variable is already used to override the main configuration - by
:user:masenf. (:issue:2890)
v4.4.1 (2023-01-25)
Bugfixes - 4.4.1
- In tox 4.4.0 ``constrain_package_deps`` was introduced with a default value of ``True``. This has been changed back to
``False``, which restores the original behavior of tox 4.3.5 - by :user:`masenf`. (:issue:`2897`)
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_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)
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 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.25.0 to 4.4.3.
Release notes
Sourced from tox's releases.
... (truncated)
Changelog
Sourced from tox's changelog.
... (truncated)
Commits
4408cff
release 4.4.30a7ce8b
docs/faq.rst: clarify how constrain_package_deps works (#2902)a77d137
Avoid pre-commit isort crash079f839
fix assertions in test_graph to actually test results (#2906)3295838
Support recursive extras defined in pyproject.toml (#2905)acadf36
[changelog.rst] typo fix402cf84
release 4.4.2ed39bd7
rename TOX_CONFIG_FILE to TOX_USER_CONFIG_FILE (#2896)b654be7
release 4.4.18155760
pip_install: constrain_package_deps is now False by default (#2899)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 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)