Skip to content

4.0.0a8

Pre-release
Pre-release

Choose a tag to compare

@gaborbernat gaborbernat released this 18 Oct 18:45
· 1397 commits to main since this release
Immutable release. Only release title and notes can be modified.

Features

  • Add support for allowlist_externals, commands not matching error by @gaborbernat. (#1127)
  • Add outcome of environments into the result json (--result-json) under the result key containing success boolean, exit_code integer and duration float value by @gaborbernat. (#1405)
  • Add exec subcommand that allows users to run an arbitrary command within the tox environment (without needing to modify their configuration) by @gaborbernat. (#1790)
  • Add check to validate the base Python names and the environments name do not conflict Python spec wise, when they do raise error if ignore_base_python_conflict is not set or False by @gaborbernat. (#1840)
  • Allow any Unix shell-style wildcards expression for pass_env by @gaborbernat. (#2121)
  • Add support for args_are_paths flag by @gaborbernat. (#2122)
  • Add support for env_log_dir (compared to tox 3 extend content and keep only last run entries) by @gaborbernat. (#2123)
  • Add support for {:} substitution in ini files as placeholder for the OS path separator by @gaborbernat. (#2125)
  • When cleaning directories (for tox environment, env_log_dir, env_tmp_dir and packaging metadata folders) do not delete the directory itself and recreate, but instead just delete its content (this allows the user to cd into it and still be in a valid folder after a new run) by @gaborbernat. (#2139)
  • Changes to help plugin development: simpler tox env creation argument list, expose python creation directly, allow skipping list dependencies install command for pip and executable is only part of the python cache for virtualenv by @gaborbernat. (#2172)

Bug fixes

  • Support # character in path for the tox project by @gaborbernat. (#763)
  • If the command expression fails to parse with shlex fallback to literal pass through of the remaining elements by @gaborbernat. (#1944)
  • tox config fails on --recreate flag, and once specified the output does not reflect the impact of the CLI flags by @gaborbernat. (#2037)
  • Virtual environment creation for Python is always triggered at every run by @gaborbernat. (#2041)
  • Add support for setting suicide_timeout, interrupt_timeout and terminate_timeout by @gaborbernat. (#2124)
  • Parallel show output not working when there's a packaging phase in the run by @gaborbernat. (#2161)

Documentation

  • Note constraint files are a subset of requirement files by @gaborbernat. (#1939)
  • Add a note about having a package with different Python requirements than tox and not specifying base_python by @gaborbernat. (#1975)
  • Fix --runner is missing default value and documentation unclear by @gaborbernat. (#2004)

🐍 PyPI release

📜 Full Changelog