Skip to content

Latest commit

 

History

History
738 lines (587 loc) · 38.8 KB

changelog.rst

File metadata and controls

738 lines (587 loc) · 38.8 KB

Release History

v4.0.18 (2022-12-26)

Bugfixes - 4.0.18

v4.0.17 (2022-12-25)

Features - 4.0.17

Bugfixes - 4.0.17

v4.0.16 (2022-12-20)

Bugfixes - 4.0.16

v4.0.15 (2022-12-19)

Bugfixes - 4.0.15

v4.0.14 (2022-12-18)

Bugfixes - 4.0.14

v4.0.13 (2022-12-17)

Bugfixes - 4.0.13

v4.0.12 (2022-12-16)

Bugfixes - 4.0.12

Improved Documentation - 4.0.12

v4.0.11 (2022-12-14)

Features - 4.0.11

  • Modified handling of NO_COLOR environment variable, consistent with de facto conventions: any non-empty string will enable NO_COLOR (disable colorized output); no NO_COLOR variable or NO_COLOR with an empty string will disable NO_COLOR (enable colorized output) - by :user:`ptmcg`. (:issue:`2719`)

Bugfixes - 4.0.11

v4.0.10 (2022-12-14)

Features - 4.0.10

  • Add py_dot_ver and py_impl constants to environments to show the current Python implementation and dot version (e.g. 3.11) for the current environment. These can be also used as substitutions in tox.ini - by :user:`gaborbernat`. (:issue:`2640`)

Bugfixes - 4.0.10

  • --help now reports the default verbosity level (which is WARNING) correctly. (:issue:`2707`)

v4.0.9 (2022-12-13)

Features - 4.0.9

v4.0.8 (2022-12-11)

Bugfixes - 4.0.8

v4.0.7 (2022-12-11)

Bugfixes - 4.0.7

v4.0.6 (2022-12-10)

Features - 4.0.6

v4.0.5 (2022-12-09)

Bugfixes - 4.0.5

v4.0.4 (2022-12-09)

Bugfixes - 4.0.4

Improved Documentation - 4.0.4

  • Document that running --showconfig or --help-ini with the -v flag will add interleaved debugging information, whereas tox v3 added extra lines at the start - by :user:`jugmac00`. (:issue:`2622`)
  • Document that tox v4 errors when using -U when defining dependencies via deps - by :user:`jugmac00`. (:issue:`2631`)

v4.0.3 (2022-12-08)

Bugfixes - 4.0.3

Improved Documentation - 4.0.3

v4.0.2 (2022-12-07)

Bugfixes - 4.0.2

v4.0.1 (2022-12-07)

Bugfixes - 4.0.1

v4.0.0 (2022-12-07)

Bugfixes - 4.0.0

Improved Documentation - 4.0.0

v4.0.0rc4 (2022-12-06)

Bugfixes - 4.0.0rc4

Deprecations and Removals - 4.0.0rc4

v4.0.0rc3 (2022-12-05)

Features - 4.0.0rc3

  • Add --exit-and-dump-after flag that allows automatically killing tox if does not finish within the passed seconds, and dump the thread stacks (useful to debug tox when it seemingly hangs) - by :user:`gaborbernat`. (:issue:`2595`)

Bugfixes - 4.0.0rc3

  • Ensure that two parallel tox instance invocations on different tox environment targets will work by holding a file lock onto the packaging operations (e.g., in bash tox4 r -e py311 &; tox4 r -e py310) - by :user:`gaborbernat`. (:issue:`2594`)
  • Fix leaking backend processes when the build backend does not support editable wheels and fix failure when multiple environments exist that have a build backend that does not support editable wheels - by :user:`gaborbernat`. (:issue:`2595`)

v4.0.0rc2 (2022-12-04)

Features - 4.0.0rc2

Bugfixes - 4.0.0rc2

v4.0.0rc1 (2022-11-29)

Features - 4.0.0rc1

Bugfixes - 4.0.0rc1

v4.0.0b3 (2022-11-27)

Features - 4.0.0b3

Bugfixes - 4.0.0b3

Improved Documentation - 4.0.0b3

v4.0.0b2 (2022-04-11)

Features - 4.0.0b2

Bugfixes - 4.0.0b2

Improved Documentation - 4.0.0b2

v4.0.0b1 (2022-02-05)

Features - 4.0.0b1

Bugfixes - 4.0.0b1

Improved Documentation - 4.0.0b1

v4.0.0a10 (2022-01-04)

Features - 4.0.0a10

Bugfixes - 4.0.0a10

Deprecations and Removals - 4.0.0a10

  • tox_add_core_config and tox_add_env_config now take a state: State argument instead of a configuration one, and Config not longer provides the envs property (instead users should migrate to State.envs) - by :user:`gaborbernat`. (:pull:`2275`)

v4.0.0a9 (2021-09-16)

Features - 4.0.0a9

Bugfixes - 4.0.0a9

Improved Documentation - 4.0.0a9

  • Adopt furo theme, update our state diagram and description in user docs (SVG + light/dark variant), split the Python API into its own page from under the plugin page, and document plugin adoption under the tox-dev organization - by :user:`gaborbernat`. (:issue:`1881`)

v4.0.0a8 (2021-08-21)

Features - 4.0.0a8

Bugfixes - 4.0.0a8

Improved Documentation - 4.0.0a8

v4.0.0a7 (2021-07-28)

Features - 4.0.0a7

Bugfixes - 4.0.0a7

Improved Documentation - 4.0.0a7

v4.0.0a6 (2021-02-15)

Features - 4.0.0a6

Bugfixes - 4.0.0a6

Deprecations and Removals - 4.0.0a6

    • 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 :user:`gaborbernat` (:issue:`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 :user:`gaborbernat`. (:issue:`1841`)

v4.0.0a5 (2021-01-23)

Features - 4.0.0a5

Bugfixes - 4.0.0a5

  • Not all package dependencies are installed when different tox environments in the same run use different set of extras - by :user:`gaborbernat`. (:issue:`1868`)

  • Support = separator in requirement file flags, directories as requirements and correctly set the root of the requirements file when using the --root CLI flag to change the root - by :user:`gaborbernat`. (:issue:`1853`)

  • Cleanup local subprocess file handlers when exiting runs (fixes ResourceWarning: unclosed file errors when running with env PYTHONTRACEMALLOC=5 PYTHONDEVMODE=y under a Python built with --with-pydebug) - by :user:`gaborbernat`. (:issue:`1857`)

  • Various small bugfixes:

    • honor updating default environment variables set by internal tox via set env (PIP_DISABLE_PIP_VERSION_CHECK)
    • do not multi-wrap HandledError in the ini file loader,
    • skipped environments are logged now with their fail message at default verbosity level,
    • fix an error that made the show configuration command crash when making the string of a config value failed,
    • support empty-new lines within the set env configurations replacements,

    by :user:`gaborbernat`. (:pull:`1864`)

Improved Documentation - 4.0.0a5

v4.0.0a4 (2021-01-16)

Features - 4.0.0a4

  • Use .tox/4 instead of .tox4 folder (so ignores for tox 3 works for tox 4 too), reminder we'll rename this to just .tox before public release, however to encourage testing tox 4 in parallel with tox 3 this is helpful - by :user:`gaborbernat`. (:discussion:`1812`)
  • Colorize the config command: section headers are yellow, keys are green, values remained white, exceptions are light red and comments are cyan - by :user:`gaborbernat`. (:pull:`1821`)

Bugfixes - 4.0.0a4

  • Support legacy format (-cconstraint.txt) of constraint files in deps, and expand constraint files too when viewing inside the deps or calculating weather our environment is up to date or not - by :user:`gaborbernat`. (:issue:`1788`)
  • When specifying requirements/editable/constraint paths within deps escape space, unless already escaped to support running specifying transitive requirements files within deps - by :user:`gaborbernat`. (:issue:`1792`)
  • When using a provisioned tox environment requesting --recreate failed with AttributeError - by :user:`gaborbernat`. (:issue:`1793`)
  • Fix RequirementsFile from tox is rendered incorrectly in config command - by :user:`gaborbernat`. (:issue:`1820`)
  • Fix a bug in the configuration system where referring to the same named key in another env/section causes circular dependency error - by :user:`gaborbernat`. (:pull:`1821`)
  • Raise ValueError with descriptive message when a requirements file specified does not exist - by :user:`gaborbernat`. (:pull:`1828`)
  • Support all valid requirement file specification without delimiting space in the deps of the tox.ini - by :user:`gaborbernat`. (:issue:`1834`)

Improved Documentation - 4.0.0a4

v4.0.0a3 (2021-01-13)

Features - 4.0.0a3

  • Raise exception when set env enters into a circular reference - by :user:`gaborbernat`. (:issue:`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 --discover flag - by :user:`gaborbernat`. (:pull:`1784`)

Bugfixes - 4.0.0a3

  • Entries in the set_env does not reference environments from set_env - by :user:`gaborbernat`. (:issue:`1776`)

  • env substitution does not uses values from set_env - by :user:`gaborbernat`. (:issue:`1779`)

  • Adopt tox 3 base pass env list, by adding:

    • on all platforms: LANG, LANGUAGE, CURL_CA_BUNDLE, SSL_CERT_FILE , LD_LIBRARY_PATH and REQUESTS_CA_BUNLDE,
    • on Windows: SYSTEMDRIVE - by :user:`gaborbernat`. (:issue:`1780`)
  • Fixed a bug that crashed tox where calling tox with the recreate flag and when multiple environments were reusing the same package - by :user:`gaborbernat`. (:issue:`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) if backend-path is 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 :user:`gaborbernat`. (:pull:`1784`)
  • Rework how we handle Python packaging environments:

    • the base packaging environment changed from .package to .pkg,
    • merged the sdist, wheel and dev separate 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 sdist and dev packages,
    • 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 depends to use the packaging logic,
    • add support skip missing interpreters for depends and show config,

    by :user:`gaborbernat`. (:issue:`1804`)

v4.0.0a2 (2021-01-09)

Features - 4.0.0a2

Bugfixes - 4.0.0a2

  • Fix coverage generation in CI - by :user:`gaborbernat`. (:pull:`1551`)
  • Fix the CI failures:
    • drop Python 3.5 support as it's not expected to get to a release before EOL,
    • fix test using \n instead of os.linesep,
    • Windows Python 3.6 does not contain _overlapped.ReadFileInto
    • by :user:`gaborbernat`. (:pull:`1556`)

Improved Documentation - 4.0.0a2

v4.0.0a1

  • First version all is brand new.

Warning

The current tox is the second iteration of implementation. From version 0.5 all the way to 3.X we numbered the first iteration. Version 4.0.0a1 is a complete rewrite of the package, and as such this release history starts from there. The old changelog is still available in the legacy branch documentation.