Skip to content

Comments

Bump tox from 4.41.0 to 4.42.0#3068

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/tox-4.42.0
Open

Bump tox from 4.41.0 to 4.42.0#3068
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/tox-4.42.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 20, 2026

Bumps tox from 4.41.0 to 4.42.0.

Release notes

Sourced from tox's releases.

v4.42.0

What's Changed

Full Changelog: tox-dev/tox@4.41.0...4.42.0

Changelog

Sourced from tox's changelog.

Features - 4.42.0

  • Platform-dependent commands can now be specified using factor syntax without requiring the platform name in the environment name. The current platform (sys.platform value like linux, darwin, win32) is automatically available as an implicit factor, allowing configurations like linux: pytest in INI or factor.linux in TOML conditional expressions to work in any environment. Additionally, TOML configurations can now use factor.NAME in conditional expressions to filter settings based on environment name factors, achieving feature parity with INI's factor system - by :user:gaborbernat. (:issue:2092)
  • Add {env_site_packages_dir_plat} / {envsitepackagesdir_plat} substitution that returns the platform-specific (platlib) site-packages directory. On some Linux distributions (Fedora, RHEL) this resolves to lib64 instead of lib, which is no longer symlinked since virtualenv 20.x - by :user:gaborbernat. (:issue:2302)
  • External packaging environments (package = external) now only run their build commands once per session, reusing the built package for all test environments that depend on them - by :user:gaborbernat. (:issue:2729)
  • Add default_base_python configuration key to specify a fallback Python interpreter when no Python factor or explicit base_python is defined. This allows projects to pin a default Python version for reproducibility across different machines without conflicting with pyXY factor-named environments - by :user:gaborbernat. (:issue:2846)
  • CLI options added by plugins listed in requires are now accepted during provisioning instead of failing with "unrecognized arguments" - by :user:gaborbernat. (:issue:2935)
  • Warn about unused configuration keys during tox run -v - by :user:gaborbernat. (:issue:3188)
  • Improve towncrier changelog structure with more granular categories: breaking, deprecation, feature, bugfix, doc, packaging, contrib, and misc - by :user:gaborbernat. (:issue:3200)
  • Add --skip-env-install CLI flag to skip dependency and package installation, allowing reuse of existing environments when offline or when installation is unnecessary - by :user:gaborbernat. (:issue:3310)
  • Add recreate_commands configuration option to run cleanup commands (e.g. clearing external caches like pre-commit) before the environment directory is removed during recreation (-r) - by :user:gaborbernat. (:issue:3423)
  • Environments with unavailable runners (missing plugins) are now gracefully skipped instead of causing a fatal error, shown with status "NOT AVAILABLE". If such an environment is explicitly requested with -e, a clear error message is shown indicating which runner is missing and that the plugin may not be installed. Unavailable environments in the configuration don't cause the overall run to fail - by :user:gaborbernat. (:issue:3504)
  • Add open-ended range expansion in generative env lists — py3{9-} expands up to the latest supported CPython minor version and py3{-13} expands down to the oldest supported one, both hardcoded at release time per the Python release cycle <https://devguide.python.org/versions/>_ - by :user:gaborbernat. (:issue:3583)
  • Add --no-capture (-i) CLI flag to disable output capture, allowing interactive programs like Python REPL to access the terminal directly. When enabled, subprocess inherits parent console handles instead of pipes, fixing issues where terminal APIs (e.g., querying console dimensions) fail on pipe handles. Mutually exclusive with --result-json and parallel mode - by :user:gaborjbernat. Fixes :issue:3635. (:issue:3635)
  • Add virtualenv_spec configuration key that allows pinning a specific virtualenv version per environment (e.g. virtualenv_spec = "virtualenv<20.22.0"). When set, tox bootstraps the specified version in an isolated environment and drives it via subprocess, enabling environments targeting Python versions incompatible with the installed virtualenv - by :user:gaborbernat. (:issue:3656)

Bug fixes - 4.42.0

  • Suppress BrokenPipeError during backend teardown when interrupted, preventing traceback spam during KeyboardInterrupt - by :user:gaborjbernat. Fixes :issue:2660. (:issue:2660)
  • Factor-specific multiline commands using backslash continuation (\) no longer leak continuation lines into environments that don't match the factor - by :user:gaborbernat. (:issue:2912)

... (truncated)

Commits
  • 09b4f60 release 4.42.0
  • c80c62f ✨ feat(env): add virtualenv_spec for per-env version pinning (#3794)
  • 7ea5bc1 ✨ feat(cli): add --skip-env-install flag for offline env reuse (#3792)
  • ee25113 ✨ feat(config): warn on unused config keys with -v (#3795)
  • 5ee23bf 📝 docs(faq): document Debian python3-venv limitation (#3789)
  • ae36881 ✨ feat(env): add recreate_commands config key (#3793)
  • 0c08af3 ✨ feat(cli): accept plugin CLI options during provisioning (#3791)
  • 80d2931 ✨ feat(changelog): add granular towncrier categories (#3785)
  • 326e14a ✨ feat(pkg): cache external packaging env build across envs (#3790)
  • 78eb394 🐛 fix(config): collapse continuation lines before factor filtering (#3787)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [tox](https://github.com/tox-dev/tox) from 4.41.0 to 4.42.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](tox-dev/tox@4.41.0...4.42.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-version: 4.42.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 20, 2026
@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.18%. Comparing base (41cda95) to head (7c34958).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3068   +/-   ##
=======================================
  Coverage   93.18%   93.18%           
=======================================
  Files         489      489           
  Lines       44942    44942           
  Branches     6191     6191           
=======================================
  Hits        41879    41879           
  Misses       1986     1986           
  Partials     1077     1077           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants