Skip to content

4.0.0a6

Pre-release
Pre-release

Choose a tag to compare

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

Features

  • Add basic quickstart implementation (just use pytest with the current Python version) by @gaborbernat. (#1829)
  • Support comments via the # character within the ini configuration (to force a literal # use \#) by @gaborbernat. (#1831)
  • Add support for the install_command settings in the virtual env test environments by @gaborbernat. (#1832)
  • Add support for the package_root setupdir ( Python scoped) configuration that sets the root directory used for packaging (the location of the historical setup.py and modern pyproject.toml). This can be set at root level, or at tox environment level (the later takes precedence over the former) by @gaborbernat. (#1838)
  • Implement support for the --installpkg CLI flag by @gaborbernat. (#1839)
  • Add support for the list_dependencies_command settings in the virtual env test environments by @gaborbernat. (#1842)
  • Add support for the ignore_errors settings in tox test environments by @gaborbernat. (#1843)
  • Add support for the pip_pre settings for virtual environment based tox environments by @gaborbernat. (#1844)
  • Add support for the platform settings in tox test environments by @gaborbernat. (#1845)
  • Add support for the recreate settings in tox test environments by @gaborbernat. (#1846)
  • Allow Python test and packaging environments with version 2.7 by @gaborbernat. (#1900)
  • Do not construct a requirements file for deps in virtualenv, instead pass content as CLI argument to pip by @gaborbernat. (#1906)
  • Do not display status update environment reports when interrupted or for the final environment ran (because at the final report will be soon printed and makes the status update redundant) by @gaborbernat. (#1909)
  • The _TOX_SHOW_THREAD environment variable can be used to print alive threads when tox exists (useful to debug when tox hangs because of some non-finished thread) and also now prints the pid of the local subprocess when reporting the outcome of an execution by @gaborbernat. (#1915)

Bug fixes

  • Normalize description text to collapse newlines and one or more than whitespace to a single space by @gaborbernat. (#1829)
  • Support aliases in show config key specification (will print with the primary key) by @gaborbernat. (#1831)
  • Show config no longer marks as unused keys that are inherited (e.g. if the key is coming from testenv section and our target is testenv:fix) by @gaborbernat. (#1833)
  • --alwayscopy and --sitepackages legacy only flags do not work by @gaborbernat. (#1839)
  • Fix handling of commands_pre/commands/commands_post to be in line with tox 3 (returned incorrect exit codes and post was not always executed) by @gaborbernat. (#1843)
  • Support requirement files containing --hash constraints by @gaborbernat. (#1903)
  • Fix a bug that caused tox to never finish when pulling configuration from a tox run environment that was never executed by @gaborbernat. (#1915)

Deprecations

    • Drop support for sdistsrc flag because introduces a significant complexity and is barely used (5 hits on a github search).
    • --skip-missing-interpreters, --notest, --sdistonly, --installpkg, --develop and --skip-pkg-install CLI flags are no longer available for devenv (enforce the only sane value for these). By @gaborbernat (#1839)
  • Remove Jenkins override support: this feature goes against the spirit of tox - blurring the line between the CI and local runs. It also singles out a single CI provider, which opens the door for other CIs wanting similar functionality. Finally, only 54 code file examples came back on a Github search, showing this is a not widely used feature. People who still want Jenkins override support may create a tox plugin to achieve this functionality by @gaborbernat. (#1841)

🐍 PyPI release

📜 Full Changelog