github tox-dev/tox 4.67.20
v4.67.20

one hour ago

Bug fixes

  • Refuse a configured environment name with a stray dash, such as env_list = py310-, and suggest the name without it, instead of creating an environment with that name (#4552) by @Appdev14 and @gaborbernat. (#4544)
  • Accept a --root directory that does not exist when the work directory lives outside it, instead of failing with FileNotFoundError. Its nearest existing parent stands in for the project when tox checks who can change the work directory (#4550) by @waw666waw666 and @gaborbernat.
  • Ignore a skip_missing_interpreters value from TOX_SKIP_MISSING_INTERPRETERS or the user config that is neither config nor a boolean, with a warning, instead of failing with a traceback when an interpreter is missing (#4549) by @vinilpolepalli and @gaborbernat.
  • Refuse to run tox quickstart in a folder whose tox.toml, pyproject.toml or setup.cfg already configures tox, as the new tox.ini would take precedence and hide that configuration (#4547) by @phatstraws and @gaborbernat.
  • Reject true, false and a number with a fraction where a TOML setting declares an integer, and true or false where it declares a float, instead of silently using them as numbers: the same value in an INI file already fails to load (#4551) by @qianeric-backup and @gaborbernat.
  • Reject a TOML product exclude that is not a list of strings: false, 0, an empty string or an empty table used to be ignored, and a non-string entry was ignored or failed with unhashable type (#4548) by @bunnyloop7 and @gaborbernat.
  • Skip a blank entry between commas in -e and env_list (-e "a, ", env_list = a, , b), as tox already does for an empty one, instead of failing on an environment with no name (#4553) by @Harp404 and @gaborbernat.
  • package = "deps-only" now reads static package dependencies from the packaging environment's package_root, like the other package types, instead of the core package_root (tox_root by default) (#4554) by @ericdelorefice.

New Contributors

🐍 PyPI release

📜 Full Changelog

Don't miss a new tox release

NewReleases is sending notifications on new releases.