tox 2.8.1


pip install tox==2.8.1

Project Links

Meta
Author: holger krekel

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

License
  • OSI Approved :: MIT License

Operating System
  • POSIX
  • Microsoft :: Windows
  • MacOS :: MacOS X

Topic
  • Software Development :: Testing
  • Software Development :: Libraries
  • Utilities

Programming Language
  • Python :: 2
  • Python :: 2.6
  • Python :: 2.7
  • Python :: 3
  • Python :: 3.3
  • Python :: 3.4
  • Python :: 3.5
  • Python :: 3.6

What is Tox?

https://img.shields.io/pypi/v/tox.svg https://img.shields.io/pypi/pyversions/tox.svg https://travis-ci.org/tox-dev/tox.svg?branch=master https://img.shields.io/appveyor/ci/RonnyPfannschmidt/tox/master.svg

Tox is a generic virtualenv management and test command line tool you can use for:

  • checking your package installs correctly with different Python versions and interpreters

  • running your tests in each of the environments, configuring your test tool of choice

  • acting as a frontend to Continuous Integration servers, greatly reducing boilerplate and merging CI and shell-based testing.

For more information and the repository please checkout:

Changelog (last 5 releases - full changelog)

2.8.1 (2017-09-04)

  • #p599: fix problems with implementation of #515.

    Substitutions from other sections were not made anymore if they were not in envlist. Thanks to Clark Boylan (@cboylan) for helping to get this fixed (#p597).

2.8.0 (2017-09-01)

  • #276: Remove easy_install from docs (TL;DR: use pip).

    Thanks Martin Andrysík (@sifuraz).

  • #301: Expand nested substitutions in tox.ini

    Thanks @vlaci. Thanks to Eli Collins (@eli-collins) for creating a reproducer.

  • #315: add –help and –version to helptox-quickstart

    Thanks @vlaci.

  • #326: Fix OSError ‘Not a directory’ when creating env on Jython 2.7.0.

    Thanks Nick Douma (@LordGaav).

  • #429: Forward MSYSTEM by default on Windows

    Thanks Marius Gedminas (@mgedmin) for reporting this.

  • #449: add multi platform example to the docs.

    Thanks Aleks Bunin (@sashkab) and @rndr.

  • #474: Start using setuptools_scm for tag based versioning.

  • #484: Renamed py.test to pytest throughout the project

    Thanks Slam (@3lnc).

  • #504: With -a: do not show additional environments header if there are none

    Thanks @rndr.

  • #515: Don’t require environment variables in test environments where they

    are not used. Thanks André Caron (@AndreLouisCaron).

  • #517: Forward NUMBER_OF_PROCESSORS by default on Windows to fix

    multiprocessor.cpu_count(). Thanks André Caron (@AndreLouisCaron).

  • #518: Forward USERPROFILE by default on Windows.

    Thanks André Caron (@AndreLouisCaron).

  • #p528: Fix some of the warnings displayed by pytest 3.1.0.

    Thanks Bruno Oliveira (@nicoddemus).

  • #p547: Add regression test for #137

    Thanks Martin Andrysík (@sifuraz).

  • #p553: Add an XFAIL test to reproduce upstream bug #203

    Thanks Bartolomé Sánchez Salado (@bartsanchez).

  • #p556: Report more meaningful errors on why virtualenv creation failed

    Thanks @vlaci. Also thanks to Igor Sadchenko (@igor-sadchenko) for pointing out a problem with that PR before it hit the masses :)

  • #575: Add announcement doc to end all announcement docs

    (using only CHANGELOG and Github issues since 2.5 already)

  • #p580: Do not ignore Sphinx warnings anymore

    Thanks Gábor Bernát (@gaborbernat).

  • #585: Expand documentation to explain pass through of flags from deps to pip

    (e.g. -rrequirements.txt, -cconstraints.txt) Thanks Alexander Loechel (@loechel).

  • #588: Run pytest wit xfail_strict and adapt affected tests.

2.7.0 (2017-04-02)

  • #p450: Stop after the first installdeps and first testenv create hooks succeed. This changes the default behaviour of tox_testenv_create and tox_testenv_install_deps to not execute other registered hooks when the first hook returns a result that is not None. Thanks Anthony Sottile (@asottile).

  • #271 and #464: Improve environment information for users.

    New command line parameter: -a show all defined environments - not just the ones defined in (or generated from) envlist.

    New verbosity settings for -l and -a: show user defined descriptions of the environments. This also works for generated environments from factors by concatenating factor descriptions into a complete description.

    Note that for backwards compatibility with scripts using the output of -l it’s output remains unchanged.

    Thanks Gábor Bernát (@gaborbernat).

  • #464: Fix incorrect egg-info location for modified package_dir in setup.py. Thanks Selim Belhaouane (@selimb).

  • #431: Add ‘LANGUAGE’ to default passed environment variables. Thanks Paweł Adamczak (@pawalad).

  • #455: Add a Vagrantfile with a customized Arch Linux box for local testing. Thanks Oliver Bestwalter (@obestwalter).

  • #454: Revert #407, empty commands is not treated as an error. Thanks Anthony Sottile (@asottile).

  • #446: (infrastructure) Travis CI tests for tox now also run on OS X now. Thanks Jason R. Coombs (@jaraco).

2.6.0 (2017-02-04)

  • add “alwayscopy” config option to instruct virtualenv to always copy files instead of symlinking. Thanks Igor Duarte Cardoso (@igordcard).

  • pass setenv variables to setup.py during a usedevelop install. Thanks Eli Collins (@eli-collins).

  • replace all references to testrun.org with readthedocs ones. Thanks Oliver Bestwalter (@obestwalter).

  • fix #323 by avoiding virtualenv14 is not used on py32 (although we don’t officially support py32). Thanks Jason R. Coombs (@jaraco).

  • add Python 3.6 to envlist and CI. Thanks Andrii Soldatenko (@andriisoldatenko).

  • fix glob resolution from TOX_TESTENV_PASSENV env variable Thanks Allan Feldman (@a-feld).

2.5.0 (2016-11-16)

  • slightly backward incompatible: fix #310: the {posargs} substitution now properly preserves the tox command line positional arguments. Positional arguments with spaces are now properly handled. NOTE: if your tox invocation previously used extra quoting for positional arguments to work around #310, you need to remove the quoting. Example: tox – “‘some string’” # has to now be written simply as tox – “some string” thanks holger krekel. You can set minversion = 2.5.0 in the [tox] section of tox.ini to make sure people using your tox.ini use the correct version.

  • fix #359: add COMSPEC to default passenv on windows. Thanks @anthrotype.

  • add support for py36 and py37 and add py36-dev and py37(nightly) to travis builds of tox. Thanks John Vandenberg.

  • fix #348: add py2 and py3 as default environments pointing to “python2” and “python3” basepython executables. Also fix #347 by updating the list of default envs in the tox basic example. Thanks Tobias McNulty.

  • make “-h” and “–help-ini” options work even if there is no tox.ini, thanks holger krekel.

  • add {:} substitution, which is replaced with os-specific path separator, thanks Lukasz Rogalski.

  • fix #305: downloadcache test env config is now ignored as pip-8 does caching by default. Thanks holger krekel.

  • output from install command in verbose (-vv) mode is now printed to console instead of being redirected to file, thanks Lukasz Rogalski

  • fix #399. Make sure {envtmpdir} is created if it doesn’t exist at the start of a testenvironment run. Thanks Manuel Jacob.

  • fix #316: Lack of commands key in ini file is now treated as an error. Reported virtualenv status is ‘nothing to do’ instead of ‘commands succeeded’, with relevant error message displayed. Thanks Lukasz Rogalski.

4.31.0 Oct 09, 2025
4.30.3 Oct 02, 2025
4.30.2 Sep 04, 2025
4.30.1 Sep 03, 2025
4.30.0 Sep 03, 2025
4.29.0 Aug 29, 2025
4.28.4 Jul 31, 2025
4.28.3 Jul 26, 2025
4.28.2 Jul 25, 2025
4.28.1 Jul 23, 2025
4.28.0 Jul 20, 2025
4.27.0 Jun 17, 2025
4.26.0 May 13, 2025
4.25.0 Mar 27, 2025
4.24.2 Mar 07, 2025
4.24.1 Jan 21, 2025
4.24.0 Jan 21, 2025
4.23.2 Oct 22, 2024
4.23.1 Oct 22, 2024
4.23.0 Oct 17, 2024
4.22.0 Oct 15, 2024
4.21.2 Oct 03, 2024
4.21.1 Oct 02, 2024
4.21.0 Oct 01, 2024
4.20.0 Sep 19, 2024
4.19.0 Sep 17, 2024
4.18.1 Sep 07, 2024
4.18.0 Aug 13, 2024
4.17.1 Aug 07, 2024
4.17.0 Aug 05, 2024
4.16.0 Jul 03, 2024
4.15.1 Jun 06, 2024
4.15.0 Apr 26, 2024
4.14.2 Mar 22, 2024
4.14.1 Mar 06, 2024
4.14.0 Mar 05, 2024
4.13.0 Feb 17, 2024
4.12.1 Jan 17, 2024
4.12.0 Jan 12, 2024
4.11.4 Nov 28, 2023
4.11.3 Sep 08, 2023
4.11.2 Sep 08, 2023
4.11.1 Sep 01, 2023
4.11.0 Aug 29, 2023
4.10.0 Aug 21, 2023
4.9.0 Aug 16, 2023
4.8.0 Aug 12, 2023
4.7.0 Aug 08, 2023
4.6.4 Jul 06, 2023
4.6.3 Jun 20, 2023
4.6.2 Jun 17, 2023
4.6.1 Jun 15, 2023
4.6.0 Jun 05, 2023
4.5.2 May 27, 2023
4.5.1.1 Aug 31, 2023
4.5.1 Apr 26, 2023
4.5.0 Apr 24, 2023
4.4.12 Apr 13, 2023
4.4.11 Apr 05, 2023
4.4.10 Apr 05, 2023
4.4.9 Apr 05, 2023
4.4.8 Mar 26, 2023
4.4.7 Mar 12, 2023
4.4.6 Feb 21, 2023
4.4.5 Feb 08, 2023
4.4.4 Jan 31, 2023
4.4.3 Jan 31, 2023
4.4.2 Jan 25, 2023
4.4.1 Jan 25, 2023
4.4.0 Jan 25, 2023
4.3.5 Jan 18, 2023
4.3.4 Jan 17, 2023
4.3.3 Jan 16, 2023
4.3.2 Jan 16, 2023
4.3.1 Jan 16, 2023
4.3.0 Jan 16, 2023
4.2.8 Jan 12, 2023
4.2.7 Jan 11, 2023
4.2.6 Jan 06, 2023
4.2.5 Jan 06, 2023
4.2.4 Jan 05, 2023
4.2.3 Jan 05, 2023
4.2.2 Jan 04, 2023
4.2.1 Jan 04, 2023
4.2.0 Jan 04, 2023
4.1.3 Jan 02, 2023
4.1.2 Dec 31, 2022
4.1.1 Dec 29, 2022
4.1.0 Dec 29, 2022
4.0.19 Dec 28, 2022
4.0.18 Dec 26, 2022
4.0.17 Dec 26, 2022
4.0.16 Dec 20, 2022
4.0.15 Dec 19, 2022
4.0.14 Dec 18, 2022
4.0.13 Dec 18, 2022
4.0.12 Dec 16, 2022
4.0.11 Dec 15, 2022
4.0.10 Dec 15, 2022
4.0.9 Dec 13, 2022
4.0.8 Dec 11, 2022
4.0.7 Dec 11, 2022
4.0.6 Dec 11, 2022
4.0.5 Dec 10, 2022
4.0.4 Dec 09, 2022
4.0.3 Dec 08, 2022
4.0.2 Dec 08, 2022
4.0.1 Dec 08, 2022
4.0.0 Dec 07, 2022
4.0.0rc4 Dec 07, 2022
4.0.0rc3 Dec 06, 2022
4.0.0rc2 Dec 05, 2022
4.0.0rc1 Nov 29, 2022
4.0.0b3 Nov 28, 2022
4.0.0b2 Apr 11, 2022
4.0.0b1 Feb 06, 2022
4.0.0a10 Jan 04, 2022
4.0.0a9 Sep 16, 2021
4.0.0a8 Aug 21, 2021
4.0.0a7 Jul 28, 2021
4.0.0a6 Feb 15, 2021
4.0.0a5 Jan 23, 2021
4.0.0a4 Jan 16, 2021
4.0.0a3 Jan 13, 2021
4.0.0a2 Jan 08, 2021
3.28.0 Dec 17, 2022
3.27.1 Nov 14, 2022
3.27.0 Oct 26, 2022
3.26.0 Sep 08, 2022
3.25.1 Jun 29, 2022
3.25.0 Apr 11, 2022
3.24.5 Dec 29, 2021
3.24.4 Sep 16, 2021
3.24.3 Aug 21, 2021
3.24.2 Aug 18, 2021
3.24.1 Jul 31, 2021
3.24.0 Jul 14, 2021
3.23.1 May 05, 2021
3.23.0 Mar 03, 2021
3.22.0 Feb 16, 2021
3.21.4 Feb 02, 2021
3.21.3 Jan 28, 2021
3.21.2 Jan 19, 2021
3.21.1 Jan 13, 2021
3.21.0 Jan 08, 2021
3.20.1 Oct 09, 2020
3.20.0 Sep 01, 2020
3.19.0 Aug 06, 2020
3.18.1 Jul 28, 2020
3.18.0 Jul 23, 2020
3.17.1 Jul 15, 2020
3.17.0 Jul 14, 2020
3.16.1 Jun 29, 2020
3.16.0 Jun 26, 2020
3.15.2 Jun 06, 2020
3.15.1 May 20, 2020
3.15.0 May 02, 2020
3.14.6 Mar 25, 2020
3.14.5 Feb 17, 2020
3.14.4 Feb 13, 2020
3.14.3 Dec 28, 2019
3.14.2 Dec 02, 2019
3.14.1 Nov 13, 2019
3.14.0 Sep 03, 2019
3.13.2 Jul 01, 2019
3.13.1 Jun 25, 2019
3.13.0 Jun 25, 2019
3.12.1 May 23, 2019
3.12.0 May 23, 2019
3.11.1 May 16, 2019
3.11.0 May 15, 2019
3.10.0 May 13, 2019
3.9.0 Apr 17, 2019
3.8.6 Apr 03, 2019
3.8.5 Apr 03, 2019
3.8.4 Apr 01, 2019
3.8.3 Mar 29, 2019
3.8.2 Mar 29, 2019
3.8.1 Mar 28, 2019
3.8.0 Mar 27, 2019
3.7.0 Jan 11, 2019
3.6.1 Dec 24, 2018
3.6.0 Dec 13, 2018
3.5.3 Oct 28, 2018
3.5.2 Oct 09, 2018
3.5.1 Oct 08, 2018
3.5.0 Oct 08, 2018
3.4.0 Sep 20, 2018
3.3.0 Sep 11, 2018
3.2.1 Aug 10, 2018
3.2.0 Aug 10, 2018
3.1.3 Aug 03, 2018
3.1.2 Jul 12, 2018
3.1.1 Jul 09, 2018
3.1.0 Jul 08, 2018
3.0.0 Apr 02, 2018
3.0.0rc4 Mar 23, 2018
3.0.0rc3 Mar 22, 2018
3.0.0rc2 Mar 03, 2018
3.0.0rc1 Jan 28, 2018
2.9.1 Sep 29, 2017
2.9.0 Sep 29, 2017
2.9.0rc1 Sep 14, 2017
2.8.2 Sep 10, 2017
2.8.1 Sep 04, 2017
2.8.0 Sep 01, 2017
2.8.0rc2 Aug 26, 2017
2.8.0rc1 Aug 13, 2017
2.7.0 Apr 06, 2017
2.6.0 Feb 03, 2017
2.5.0 Nov 16, 2016
2.4.1 Oct 13, 2016
2.4.0 Oct 12, 2016
2.3.2 Nov 30, 2016
2.3.1 Dec 14, 2015
2.3.0 Dec 11, 2015
2.2.1 Nov 11, 2015
2.2.0 Nov 11, 2015
2.1.1 Jun 23, 2015
2.1.0 Jun 19, 2015
2.0.2 Jun 03, 2015
2.0.1 May 12, 2015
2.0.0 May 12, 2015
1.9.2 Mar 23, 2015
1.9.1 Mar 23, 2015
1.9.0 Feb 24, 2015
1.8.1 Oct 24, 2014
1.8.0 Sep 24, 2014
1.7.2 Jul 15, 2014
1.7.1 Mar 28, 2014
1.7.0 Jan 29, 2014
1.6.1 Sep 04, 2013
1.6.0 Aug 15, 2013
1.5.0 Jun 22, 2013
1.4.3 Mar 01, 2013
1.4.2 Jul 20, 2012
1.4.1 Jul 03, 2012
1.4 Jun 13, 2012
1.3 Dec 21, 2011
1.2 Nov 10, 2011
1.1 Jul 09, 2011
1.0 May 28, 2011
0.9 Nov 25, 2010
0.8 Jul 31, 2010
0.7 Jul 14, 2010
0.6 Jul 12, 2010
0.5 Jul 12, 2010
0.0.0 Oct 07, 2018

Wheel compatibility matrix

Platform Python 2 Python 3
any

Files in release

Extras: None
Dependencies:
pluggy (<1.0,>=0.3.0)
py (>=1.4.17)
virtualenv (>=1.11.2)
argparse
virtualenv (<14,>=1.11.2)