Repository navigation
4.0.0a6
Pre-release
Pre-release
·
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_commandsettings in the virtual env test environments by @gaborbernat. (#1832) - Add support for the
package_rootsetupdir( Python scoped) configuration that sets the root directory used for packaging (the location of the historicalsetup.pyand modernpyproject.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
--installpkgCLI flag by @gaborbernat. (#1839) - Add support for the
list_dependencies_commandsettings in the virtual env test environments by @gaborbernat. (#1842) - Add support for the
ignore_errorssettings in tox test environments by @gaborbernat. (#1843) - Add support for the
pip_presettings for virtual environment based tox environments by @gaborbernat. (#1844) - Add support for the
platformsettings in tox test environments by @gaborbernat. (#1845) - Add support for the
recreatesettings 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_THREADenvironment 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
testenvsection and our target istestenv:fix) by @gaborbernat. (#1833) --alwayscopyand--sitepackageslegacy only flags do not work by @gaborbernat. (#1839)- Fix handling of
commands_pre/commands/commands_postto be in line with tox 3 (returned incorrect exit codes and post was not always executed) by @gaborbernat. (#1843) - Support requirement files containing
--hashconstraints 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
sdistsrcflag because introduces a significant complexity and is barely used (5 hits on a github search). --skip-missing-interpreters,--notest,--sdistonly,--installpkg,--developand--skip-pkg-installCLI flags are no longer available fordevenv(enforce the only sane value for these). By @gaborbernat (#1839)
- Drop support for
- 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)