github tox-dev/tox 4.67.18
v4.67.18

47 minutes ago

Features

  • Read a dotted patch version after an interpreter name, such as py3.12.1 or cpython-3.12.1, from an environment name, and refuse an undeclared -e environment whose Python version tox cannot read, such as py3121, 3.12.1 or 3, instead of running it on the fallback interpreter (#4532) by @ericdelorefice and @gaborbernat.

Changes

  • Make the legacy tox --showconfig -a and tox --help-ini -a show every defined environment, and fix the --showconfig help, which claimed that was the default; without -a they show env_list (#4540) by @gaborbernat and @xixi-box. (#4538)
  • Limit tox -p and tox --parallel without a value to the CPU count, as -p auto does, instead of running every selected environment at once (#4480) by @cansentay.
  • Report factors passed to -f that appear in no environment name, with a close match, instead of selecting nothing without saying why. As with -m, one unknown factor fails the command even when another -f group selects environments (#4537) by @Harp404 and @gaborbernat.

Bug fixes

  • On Python 3.11.0–3.11.3, extract a source distribution the way the data tar filter does: ignore archived owners, strip unsafe permissions, normalize paths and refuse special files and hard links to non-regular files (#4487) by @xixi-box and @gaborbernat. (#4484)
  • Keep a joined --conf=<path>, -c<path> or --root=<path> during shell completion instead of loading the current directory's project (#4486) by @xixi-box and @gaborbernat. (#4485)
  • Load a TOML file passed with -c under another name, such as a copy of tox.toml, instead of reading it as INI (#4530) by @Harp404 and @gaborbernat. (#4529)
  • Name only the environments that form the cycle in the circular depends error, not the ones that lead into it (#4479) by @JROtto5 and @gaborbernat.
  • Reject a --hashseed above 4294967295, and ignore one from TOX_HASH_SEED or the user config, instead of letting the interpreter abort (#4517) by @qianeric-backup and @gaborbernat.
  • Reject a negative commands_retry with an error, instead of skipping every command and reporting the environment as passed (#4536) by @Harp404 and @gaborbernat.
  • Reject an out-of-range --exit-and-dump-after (negative, or past the thread timeout limit) with a usage error, and ignore one from TOX_EXIT_AND_DUMP_AFTER or the user config, instead of crashing in faulthandler (#4533) by @qianeric-backup and @gaborbernat.
  • Report the output path and filesystem error when tox config -o cannot write the requested file (#4483) by @qianeric-backup.

Security

New Contributors

🐍 PyPI release

📜 Full Changelog

Don't miss a new tox release

NewReleases is sending notifications on new releases.