Skip to content

Update tox requirement from ~=4.34.1 to ~=4.40.0#14

Closed
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/tox-approx-eq-4.40.0
Closed

Update tox requirement from ~=4.34.1 to ~=4.40.0#14
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/tox-approx-eq-4.40.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Updates the requirements on tox to permit the latest version.

Release notes

Sourced from tox's releases.

v4.40.0

What's Changed

Full Changelog: tox-dev/tox@4.39.0...4.40.0

Changelog

Sourced from tox's changelog.

Features - 4.40.0

  • Add {glob:PATTERN} substitution to expand file system glob/wildcard patterns in configuration values. Supports default values, recursive ** matching, and both INI string syntax and TOML dict syntax ({ replace = "glob", pattern = "..." }) - by :user:gaborbernat. (:issue:1571)
  • Add commands_retry configuration option to automatically retry failed commands - by :user:gaborbernat. (:issue:1578)
  • Automatically create a .gitignore file containing * in the tox work directory (typically .tox/) and in environment info directories, so that tox-managed files are not tracked by git - by :user:rahuldevikar. (:issue:2530)
  • Add conditional value selection via replace = "if" in TOML configuration. Supports a condition expression with env.VAR lookups, ==/!= comparisons, and and/or/not boolean logic to select between then and else values - by :user:gaborbernat. (:issue:3650)
  • Add sdist-wheel package type that builds a wheel from a source distribution, ensuring the sdist is complete and the package can be correctly built from it — by :user:rahuldevikar. (:issue:3687)

Bugfixes - 4.40.0

  • Use positive exit code (1) instead of -1 when reporting failures across multiple environments. On Windows, cmd.exe's IF ERRORLEVEL 1 only matches exit codes >= 1, so the previous negative exit code was silently treated as success - by :user:radevika. Fixes :issue:2945. (:issue:2945)
  • When set_env both inherits via cross-section substitution (e.g., {[testenv]set_env}) and explicitly overrides the same variable, the explicit value was incorrectly replaced by the inherited one because load() moved the key from the raw dict to the materialized dict before the deferred substitution ran, making the protection check ineffective - by :user:gaborjbernat. Fixes :issue:3773. (:issue:3773)

v4.39.0 (2026-02-18)


Features - 4.39.0

  • Create a CACHEDIR.TAG file in the tox work directory (.tox) so that backup and archiving tools (e.g., tar --exclude-caches, Borg, restic) can automatically skip it - by :user:radevika. (:issue:3334)

Bugfixes - 4.39.0

  • On Windows, ANSI color codes from child processes (like pytest, mypy) are now rendered correctly in terminals by enabling VT100 processing mode for subprocess output streams - by :user:gaborbernat. (:issue:2337)
  • Concurrent tox processes no longer corrupt the provision environment (.tox) -- a file lock now serializes provisioning across processes - by :user:gaborbernat. (:issue:2515)
  • Config files (tox.ini, setup.cfg) with unicode characters are now read correctly on Windows when running tox with python -m -I (isolation mode) - by :user:gaborbernat. (:issue:2692)
  • set_env values explicitly defined in a section now take precedence over values inherited via cross-section substitution (e.g., {[testenv]set_env}) - by :user:gaborbernat. (:issue:2831)
  • The -e flag now supports brace expansion (e.g. tox -e 'py{38,39}-pytest{6.x,7.x}') instead of incorrectly

... (truncated)

Commits
  • db17069 release 4.40.0
  • 5929bdb 🐛 fix(config): set_env override lost after load (#3775)
  • a310c11 ✨ feat(run): add commands_retry config option (#3772)
  • 4e822c5 Create .gitignore in work_dir and info file directories (#3770)
  • 421c09c ✨ feat(config): add conditional replace for TOML (#3771)
  • 17d3c1e Add package=sdist-wheel package type (#3741)
  • 8929382 ✨ feat(config): add {glob:PATTERN} substitution (#3769)
  • a514a12 Use positive exit code for multi-env failures (#3768)
  • 6e29444 release 4.39.0
  • 87165b6 🧪 test(config): verify unicode support in config files (#3767)
  • Additional commits viewable in compare view

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)

Updates the requirements on [tox](https://github.com/tox-dev/tox) to permit the latest version.
- [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.34.1...4.40.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-version: 4.40.0
  dependency-type: direct:development
...

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 19, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Feb 20, 2026

Superseded by #15.

@dependabot dependabot bot closed this Feb 20, 2026
@dependabot dependabot bot deleted the dependabot/pip/tox-approx-eq-4.40.0 branch February 20, 2026 08:36
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