Repository navigation
4.0.0a3
Pre-release
Pre-release
·
1516 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Features
- Raise exception when set env enters into a circular reference by @gaborbernat. (#1779)
-
- Raise exception when variable substitution enters into a circle.
- Add
{/}as substitution for os specific path separator. - Add
{env_bin_dir}constant substitution. - Implement support for
--discoverflag by @gaborbernat. (#1784)
Bug fixes
- Entries in the
set_envdoes not reference environments fromset_envby @gaborbernat. (#1776) envsubstitution does not uses values fromset_envby @gaborbernat. (#1779)- Adopt tox 3 base pass env list, by adding:
- on all platforms:
LANG,LANGUAGE,CURL_CA_BUNDLE,SSL_CERT_FILE,LD_LIBRARY_PATHandREQUESTS_CA_BUNLDE, - on Windows:
SYSTEMDRIVEby @gaborbernat. (#1780)
- on all platforms:
- Fixed a bug that crashed tox where calling tox with the recreate flag and when multiple environments were reusing the same package by @gaborbernat. (#1782)
-
- Python version markers are stripped in package dependencies (after wrongfully being detected as an extra marker).
- In packaging APIs do not set
PYTHONPATH(to empty string) ifbackend-pathis empty. - Fix commands parsing on Windows (do not auto-escape
\- instead users should use the new{\}, and on parsed arguments strip both'and"quoted outcomes). - Allow windows paths in substitution set/default (the
:character used to separate substitution arguments may also be present in paths on Windows - do not support single capital letter values as substitution arguments) by @gaborbernat. (#1784)
- Rework how we handle Python packaging environments:
- the base packaging environment changed from
.packageto.pkg, - merged the
sdist,wheelanddevseparate packaging implementations into one, and internally dynamically pick the one that's needed, - the base packaging environment always uses the same Python environment as tox is installed into,
- the base packaging environment is used to get the metadata of the project (via PEP-517) and to build
sdistanddevpackages, - for building wheels introduced a new per env configurable option
wheel_build_env, if the target Python major/minor and implementation for the run tox environment and the base package tox environment matches set this to.pkg, otherwise this is.pkg-{implementation}{major}{minor}, - internally now packaging environments can create further packaging environments they are responsible of managing,
- updated
dependsto use the packaging logic, - add support skip missing interpreters for depends and show config, by @gaborbernat. (#1804)
- the base packaging environment changed from