pypi tox 4.67.17
v4.67.17

one hour ago

Bug fixes

  • Reject requested environment names with a stray dash, such as py310- or py310--lint, and suggest the name without it, instead of creating an environment with that name (#4476) by @lau0708 and @gaborbernat. (#4475)
  • A requirements file whose declared encoding (PEP 263 coding cookie) cannot decode its content now raises a descriptive error naming the file and the declared encoding, instead of surfacing a raw UnicodeDecodeError (#4468) by @waw666waw666 and @gaborbernat.
  • Accept a --root directory that does not exist again, instead of failing with FileNotFoundError (#4472) by @qianeric-backup and @gaborbernat.
  • Reject an override that has no key, such as -x =1, instead of silently ignoring it. In TOX_OVERRIDE or the user configuration file, such an entry now makes tox warn and ignore that list, as an entry without = already does (#4473) by @qianeric-backup and @gaborbernat.
  • Report a file in place of the work directory (from --workdir, work_dir or a stray .tox file), or a file passed as --root with the work directory under it, as a tox error instead of a traceback (#4474) by @ChaseZhang-ai and @gaborbernat.
  • Report labels given to -m or TOX_LABELS that no environment defines, with a suggestion for a close match, instead of selecting nothing (#4478) by @chiruu12 and @gaborbernat.

Documentation

  • Fix the tox_after_run_commands example in the plugin how-to, which failed the environment with an AttributeError, and correct the verbosity flags listed for each logging level (#4466) by @mmporong and @gaborbernat.
  • Give the -x example in the override how-to the section names for tox.toml, pyproject.toml and tox.ini, since an override that spells the section for another file format changes nothing (#4464) by @JROtto5 and @gaborbernat.

New Contributors

🐍 PyPI release

📜 Full Changelog

Don't miss a new tox release

NewReleases is sending notifications on new releases.