Tox

Latest version: v4.24.2

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

Scan your dependencies

Page 8 of 20

3.12.1

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

Bugfixes
^^^^^^^^

- Ensure ``TOX_WORK_DIR`` is a native string in ``os.environ`` - by :user:`asottile`.
`1313 <https://github.com/tox-dev/tox/issues/1313>`_
- Fix import and usage of ``winreg`` for python2.7 on windows - by :user:`asottile`.
`1315 <https://github.com/tox-dev/tox/issues/1315>`_
- Fix Windows selects incorrect spec on first discovery - by :user:`gaborbernat`
`1317 <https://github.com/tox-dev/tox/issues/1317>`_

3.12.0

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

Bugfixes
^^^^^^^^

- When using ``--parallel`` with ``--result-json`` the test results are now included the same way as with serial runs - by :user:`fschulze`
`1295 <https://github.com/tox-dev/tox/issues/1295>`_
- Turns out the output of the ``py -0p`` is not stable yet and varies depending on various edge cases. Instead now we read the interpreter values directly from registry via `PEP-514 <https://www.python.org/dev/peps/pep-0514>`_ - by :user:`gaborbernat`.
`1306 <https://github.com/tox-dev/tox/issues/1306>`_


Features
^^^^^^^^

- Adding ``TOX_PARALLEL_NO_SPINNER`` environment variable to disable the spinner in parallel mode for the purposes of clean output when using CI tools - by :user:`zeroshift`
`1184 <https://github.com/tox-dev/tox/issues/1184>`_

3.11.1

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

Bugfixes
^^^^^^^^

- When creating virtual environments we no longer ask the python to tell its path, but rather use the discovered path.
`1301 <https://github.com/tox-dev/tox/issues/1301>`_

3.11.0

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

Features
^^^^^^^^

- ``--showconfig`` overhaul:

- now fully generated via the config parser, so anyone can load it by using the built-in python config parser
- the ``tox`` section contains all configuration data from config
- the ``tox`` section contains a ``host_python`` key detailing the path of the host python
- the ``tox:version`` section contains the versions of all packages tox depends on with their version
- passing ``-l`` now allows only listing default target envs
- allows showing config for a given set of tox environments only via the ``-e`` cli flag or the ``TOXENV`` environment
variable, in this case the ``tox`` and ``tox:version`` section is only shown if at least one verbosity flag is passed

this should help inspecting the options.
`1298 <https://github.com/tox-dev/tox/issues/1298>`_

3.10.0

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

Bugfixes
^^^^^^^^

- fix for ``tox -l`` command: do not allow setting the ``TOXENV`` or the ``-e`` flag to override the listed default environment variables, they still show up under extra if non defined target - by :user:`gaborbernat`
`720 <https://github.com/tox-dev/tox/issues/720>`_
- tox ignores unknown CLI arguments when provisioning is on and outside of the provisioned environment (allowing
provisioning arguments to be forwarded freely) - by :user:`gaborbernat`
`1270 <https://github.com/tox-dev/tox/issues/1270>`_


Features
^^^^^^^^

- Virtual environments created now no longer upgrade pip/wheel/setuptools to the latest version. Instead the start
packages after virtualenv creation now is whatever virtualenv has bundled in. This allows faster virtualenv
creation and builds that are easier to reproduce.
`448 <https://github.com/tox-dev/tox/issues/448>`_
- Improve python discovery and add architecture support:
- UNIX:

- First, check if the tox host Python matches.
- Second, check if the the canonical name (e.g. ``python3.7``, ``python3``) matches or the base python is an absolute path, use that.
- Third, check if the the canonical name without version matches (e.g. ``python``, ``pypy``) matches.

- Windows:

- First, check if the tox host Python matches.
- Second, use the ``py.exe`` to list registered interpreters and any of those match.
- Third, check if the the canonical name (e.g. ``python3.7``, ``python3``) matches or the base python is an absolute path, use that.
- Fourth, check if the the canonical name without version matches (e.g. ``python``, ``pypy``) matches.
- Finally, check for known locations (``c:\python{major}{minor}\python.exe``).


tox environment configuration generation is now done in parallel (to alleviate the slowdown due to extra
checks).
`1290 <https://github.com/tox-dev/tox/issues/1290>`_

3.9.0

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

Bugfixes
^^^^^^^^

- Fix ``congratulations`` when using ``^C`` during virtualenv creation - by :user:`asottile`
`1257 <https://github.com/tox-dev/tox/issues/1257>`_


Features
^^^^^^^^

- Allow having inline comments in :conf:`deps` — by :user:`webknjaz`
`1262 <https://github.com/tox-dev/tox/issues/1262>`_

Page 8 of 20

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.