Tox

Latest version: v4.24.1

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 16 of 20

2.0.0

-------------------

- (new) introduce environment variable isolation:
tox now only passes the PATH and PIP_INDEX_URL variable from the tox
invocation environment to the test environment and on Windows
also ``SYSTEMROOT``, ``PATHEXT``, ``TEMP`` and ``TMP`` whereas
on unix additionally ``TMPDIR`` is passed. If you need to pass
through further environment variables you can use the new ``passenv`` setting,
a space-separated list of environment variable names. Each name
can make use of fnmatch-style glob patterns. All environment
variables which exist in the tox-invocation environment will be copied
to the test environment.

- a new ``--help-ini`` option shows all possible testenv settings and
their defaults.

- (new) introduce a way to specify on which platform a testenvironment is to
execute: the new per-venv "platform" setting allows one to specify
a regular expression which is matched against sys.platform.
If platform is set and doesn't match the platform spec in the test
environment the test environment is ignored, no setup or tests are attempted.

- (new) add per-venv "ignore_errors" setting, which defaults to False.
If ``True``, a non-zero exit code from one command will be ignored and
further commands will be executed (which was the default behavior in tox <
2.0). If ``False`` (the default), then a non-zero exit code from one command
will abort execution of commands for that environment.

- show and store in json the version dependency information for each venv

- remove the long-deprecated "distribute" option as it has no effect these days.

- fix `233 <https://github.com/tox-dev/tox/issues/233>`_: avoid hanging with tox-setuptools integration example. Thanks simonb.

- fix `120 <https://github.com/tox-dev/tox/issues/120>`_: allow substitution for the commands section. Thanks
Volodymyr Vitvitski.

- fix `235 <https://github.com/tox-dev/tox/issues/235>`_: fix AttributeError with --installpkg. Thanks
Volodymyr Vitvitski.

- tox has now somewhat pep8 clean code, thanks to Volodymyr Vitvitski.

- fix `240 <https://github.com/tox-dev/tox/issues/240>`_: allow one to specify empty argument list without it being
rewritten to ".". Thanks Daniel Hahler.

- introduce experimental (not much documented yet) plugin system
based on pytest's externalized "pluggy" system.
See tox/hookspecs.py for the current hooks.

- introduce parser.add_testenv_attribute() to register an ini-variable
for testenv sections. Can be used from plugins through the
tox_add_option hook.

- rename internal files -- tox offers no external API except for the
experimental plugin hooks, use tox internals at your own risk.

- DEPRECATE distshare in documentation

1.9.2

-------------------

- backout ability that --force-dep substitutes name/versions in
requirement files due to various issues.
This fixes `228 <https://github.com/tox-dev/tox/issues/228>`_, fixes `#230 <https://github.com/tox-dev/tox/issues/230>`_, fixes `#231 <https://github.com/tox-dev/tox/issues/231>`_
which popped up with 1.9.1.

1.9.1

-------------------

- use a file instead of a pipe for command output in "--result-json".
Fixes some termination issues with python2.6.

- allow --force-dep to override dependencies in "-r" requirements
files. Thanks Sontek for the PR.

- fix `227 <https://github.com/tox-dev/tox/issues/227>`_: use "-m virtualenv" instead of "-mvirtualenv" to make
it work with pyrun. Thanks Marc-Andre Lemburg.

1.9.0

-------------------

- fix `193 <https://github.com/tox-dev/tox/issues/193>`_: Remove ``--pre`` from the default ``install_command``; by
default tox will now only install final releases from PyPI for unpinned
dependencies. Use ``pip_pre = true`` in a testenv or the ``--pre``
command-line option to restore the previous behavior.

- fix `199 <https://github.com/tox-dev/tox/issues/199>`_: fill resultlog structure ahead of virtualenv creation

- refine determination if we run from Jenkins, thanks Borge Lanes.

- echo output to stdout when ``--report-json`` is used

- fix `11 <https://github.com/tox-dev/tox/issues/11>`_: add a ``skip_install`` per-testenv setting which
prevents the installation of a package. Thanks Julian Krause.

- fix `124 <https://github.com/tox-dev/tox/issues/124>`_: ignore command exit codes; when a command has a "-" prefix,
tox will ignore the exit code of that command

- fix `198 <https://github.com/tox-dev/tox/issues/198>`_: fix broken envlist settings, e.g. {py26,py27}{-lint,}

- fix `191 <https://github.com/tox-dev/tox/issues/191>`_: lessen factor-use checks

1.8.1

-------------------

- fix `190 <https://github.com/tox-dev/tox/issues/190>`_: allow setenv to be empty.

- allow escaping curly braces with "\". Thanks Marc Abramowitz for the PR.

- allow "." names in environment names such that "py27-django1.7" is a
valid environment name. Thanks Alex Gaynor and Alex Schepanovski.

- report subprocess exit code when execution fails. Thanks Marius
Gedminas.

1.8.0

-------------------

- new multi-dimensional configuration support. Many thanks to
Alexander Schepanovski for the complete PR with docs.
And to Mike Bayer and others for testing and feedback.

- fix `148 <https://github.com/tox-dev/tox/issues/148>`_: remove "__PYVENV_LAUNCHER__" from os.environ when starting
subprocesses. Thanks Steven Myint.

- fix `152 <https://github.com/tox-dev/tox/issues/152>`_: set VIRTUAL_ENV when running test commands,
thanks Florian Ludwig.

- better report if we can't get version_info from an interpreter
executable. Thanks Floris Bruynooghe.

Page 16 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.