summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Bump pre-commit, fix errors (#1586)Bernát Gábor2020-05-201-3/+3
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Do not interpolate values from tox --showconfig (#1585)Albin Vass2020-05-201-0/+1
|
* Documentation: Fix Incorrect Sentence (#1580)Abhishek Jaisingh2020-05-111-1/+1
|
* docs: Correct section link (#1577)Stephen Finucane2020-05-081-1/+1
| | | Signed-off-by: Stephen Finucane <stephen@that.guru>
* release 3.15.03.15.0Bernat Gabor2020-05-029-8/+34
|
* Passenv PIP_EXTRA_INDEX_URL by default (#1562)George Alton2020-05-022-1/+2
|
* docs: Add prelude section on testenvs to config guide (#1573)Stephen Finucane2020-05-023-13/+45
|
* Respect attempts to change PATH via setenv (#1563)Andrzej Klajnert2020-04-211-0/+1
|
* Allow parallel mode without arguments (#1559)Sorin Sbarnea2020-04-201-0/+1
| | | | | | | | | | Allows calling tox with `tox -p` in order to use auto mode. Previously it was mandatory to mention `auto` in order to enable parallel mode. This will not change behavior of tox when called without `-p`, which will still keep the non-parallel mode. Fixes: 1418 Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
* expand section names (#1545)Charles Brunet2020-04-173-0/+45
| | | | | | | | | | | * expand section names * fix linting * Added changelog * trim whitespaces around factor names * added docs
* Fix changelog for 3.14.6 (#1543)Anthony Sottile2020-03-273-1/+3
|
* Fix exeception when command is empty (#1544)Charles Brunet2020-03-271-0/+1
| | | | | | | * Fix exeception when command is empty * simplify expression * add changelog
* Fixed irrelevant Error message for invalid argument when runnin… (#1547)NAVEEN S R2020-03-271-0/+1
| | | | | | | * Fixed #1546 * Added Changelog * Solved CI Failure
* Fix parsing of architecture in python interpreter name (#1542)Charles Brunet2020-03-261-0/+1
| | | | | | | | | * Fix parsing of architecture in python interpreter name * add myself to contributors * added entry to changelog * updated changelog filename
* release 3.14.63.14.6Bernat Gabor2020-03-253-3/+13
|
* Fix ValueError: max() arg is an empty sequence on (#1529)Jeff Quast2020-03-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix ValueError: max() arg is an empty sequence When running `tox -l` with a tox.ini file not containing any default environments, instead of an empty output, an exception is raised: ``` $ tox -l tox -l Traceback (most recent call last): File "/Users/jq/.pyenv/versions/py38/bin/tox", line 8, in <module> sys.exit(cmdline()) File "/Users/jq/.pyenv/versions/3.8.1/envs/py38/lib/python3.8/site-packages/tox/session/__init__.py", line 44, in cmdline main(args) File "/Users/jq/.pyenv/versions/3.8.1/envs/py38/lib/python3.8/site-packages/tox/session/__init__.py", line 68, in main exit_code = session.runcommand() File "/Users/jq/.pyenv/versions/3.8.1/envs/py38/lib/python3.8/site-packages/tox/session/__init__.py", line 189, in runcommand self.showenvs(all_envs=False, description=show_description) File "/Users/jq/.pyenv/versions/3.8.1/envs/py38/lib/python3.8/site-packages/tox/session/__init__.py", line 293, in showenvs show_envs(self.config, all_envs=all_envs, description=description) File "/Users/jq/.pyenv/versions/3.8.1/envs/py38/lib/python3.8/site-packages/tox/session/commands/show_env.py", line 14, in show_envs max_length = max((len(env) for env in (default + extra))) ValueError: max() arg is an empty sequence ``` * trying to follow contributing guidelines * add test, fails without merge, succeeds after Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Exclude virtualenvs vers w/ regressions 20.0.[0-7] (#1537)Sviatoslav Sydorenko2020-03-221-0/+2
| | | | | * Exclude virtualenvs vers w/ regressions 20.0.[0-7] * Add a change fragment
* Fix `tox --help` and `tox --help-ini` shows an error when run o… (#1539)NAVEEN S R2020-03-221-0/+1
| | | | | | | | | | | | | | | * solved #1509 #1540 * added test for fixed help command * added changelog * solved CI error the problem is with psutil==5.7.0 in pypy . * solved lint problem :confounded: Co-authored-by: nkpro2000sr <naveennotes2000sr@gmail.com>
* release 3.14.53.14.5Bernat Gabor2020-02-162-2/+11
|
* Allow user to inject specific Pythons to try as step 1 during discoveryBernat Gabor2020-02-161-0/+2
| | | | | | | | | | | | | At the moment it's unecessarily hard to specify a specific python executable to use for a given spec. While mangling with the path might work for environments for tox environments that require a python differing the host tox python version; for environments matching the host tox interpreter it's impossible to use any other interpreter than what tox uses. Here we add a CLI argument (fallback to some environment variable for CI usage) that allows the user to inject custom python interpreters as step 1 of the discovery mechanism. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* release 3.14.43.14.4Bernat Gabor2020-02-135-5/+22
|
* Avoid incompatible six (#1519)Sorin Sbarnea2020-02-131-0/+2
| | | | | Avoids problem introduced by newer virtualenv which broke installation of tox on systems that already had a six version >1.0 installed but which was older than minimal needed by tox.
* Correcting dependency and import for pytest (#1514)pierreluctg2020-02-131-2/+1
| | | | | | | | | | * Adding correct dependency and import for pytest * fix unused import Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* fix pypy CI failure (#1521)Sorin Sbarnea2020-02-131-0/+1
| | | | | | | | | | | | * Avoid pypy test failure due to undefined printout var Fixes CI error seen with other patches. * provision pypy3 on pypy Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* Fix formatting (#1512)Ofek Lev2020-02-041-2/+2
|
* doc: fix grammar with timeout options (#1507)Daniel Hahler2020-01-221-3/+3
|
* Include HTTP proxy environment variables in default passenv (#1500)Paul Moore2020-01-222-1/+3
|
* Add documentation for 'download' testenv option (#1494)Florian Bruhin2020-01-111-0/+7
| | | In #1283, the 'download' option was added, but without documentation.
* Allow to config the behavior on CTRL+C (#1493)Mehdi ABAAKOUK2020-01-092-0/+16
| | | | | | | | | | | | | | | By default, we run SIGKILL after 0.5 seconds. Most of the time is enough. But if the interrupted command have a complex processes tree, it might not be enough to propagate the signal. In such case processes are left behind and never killed. If theses processes use static network port or keep file open. Next call of tox will fail until the all processes left behind are manually killed. This change adds some configuration to be able to config the timeout before signals are sent. If the approach work for you, I will polish the PR (doc+test)
* release 3.14.33.14.3Bernat Gabor2019-12-282-1/+15
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Update guide with instructions to disable spinner (#1480)jacobtolar2019-12-071-1/+2
| | | | | | | | * Update guide with instructions to disable spinner This is in the command-line help, but can't be found anywhere obvious in the documentation. * Oops, delete trailing space
* clarify legacy setup.py error message further (#1478)Thomas Grainger2019-12-061-0/+1
| | | a follow up to #1467
* release 3.14.2 (#1475)Bernát Gábor2019-12-026-5/+23
|
* mark poetry tests as xfail on windows (#1474)Ronny Pfannschmidt2019-12-021-0/+1
| | | | | | | | | | | | * Mark poetry tests as xfail on windows * Update tests/integration/test_package_int.py Co-Authored-By: Anthony Sottile <asottile@umich.edu> * fix formatting Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* use get_python_info for consistency and caching (#1462)Daniel Hahler2019-12-021-0/+1
| | | | | | * use get_python_info for consistency and caching * changelog
* fix colouring on windows (#1471)1138-4EB2019-12-021-0/+1
|
* use latest version of importlib_metadata (#1472)kammala2019-12-021-0/+1
|
* Fix global configuration fallback in Jenkins runs (#1466)Dane Hillard2019-11-281-0/+1
| | | | | | | | | | Fixes #1428 When running in Jenkins and using `setup.cfg`, tox would not fall back to the [tox:tox] configuration properly. This was due to how the fallback section name was calculated in this specific combination of characteristics. on-behalf-of: @ithaka <dane.hillard@ithaka.org>
* release 3.14.13.14.1Bernat Gabor2019-11-137-11/+30
|
* fix the failing CI on master (#1456)Bernát Gábor2019-11-132-1/+2
| | | | | | | | | | * fix Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * suppress proc related failures on pypy Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Adds SSL proxy variables to default passenv (#1439)Sorin Sbarnea2019-11-112-2/+5
| | | | | | | | | This shouls avoid SSL failures with HTTP requests from pip, requests or other libraries. Also sorts existing values in order to make it easier to update the list in the future. Fixes: #1437
* Fix provisioning from pyvenv interpreter (#1452)Ilya Kulakov2019-11-111-0/+1
| | | | | | | | | | | | | | | | | | When the original interpreter [0] tox is called with is actually a pyvenv it will set the `__PYVENV_LAUNCHER__` environment variable to the path of pyvenv interpreter. If tox configuration specifies `requires` and the requirements are not satifsfied by [0], tox will create an intermediate virtual environment [1]. After setting up [1] tox will delegate the original call by spawning a new [1] interpreter with the identical identical list of arguments. It will also pass the value of `__PYVENV_LAUNCHER__` if present. This in turn causes `sys.executable` to resolve to [0] instead of [1] therefore ignoring all modifications including installed requirements. The fix is to make sure that when [0] spawns [1], `__PYVENV_LAUNCHER__` is removed from the environment.
* Fix reporting exit due to (real) signal (#1401)Daniel Hahler2019-11-111-0/+1
| | | | | | `subprocess` reports a negative exit code for signals. Still handle "128 + X" for processes indicating that they received a signal themselves.
* Use _TOX_PARALLEL_ENV environment variable to control the behav… (#1446)Miro Hrončok2019-11-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | ...but keep the TOX_PARALLEL_ENV variable for others to consume. The problem with using environment variables to let tox know it's being run as a parallel worker is the following: Either you don't pass the environment variable, but the test frameworks and test suites are unaware that tox is running in parallel. This makes it hard for cases like pytest-django: https://github.com/tox-dev/tox/pull/1139 Or you pass the environment variable, but it makes tox invoked within tox think it is a parallel worker even when it isn't. This makes it hard to test various tox plugins that invoke tox in their integration test suite: Fixes https://github.com/tox-dev/tox/issues/1444 By introducing two variables we can use one ("private", _TOX_PARALLEL_ENV) to control the behavior of tox (and don't pass it) and another ("public", TOX_PARALLEL_ENV) to let the tests and test frameworks know tox is running in parallel (and pass it by default). The integration test is a tad complicated invoking subprocess.Popen instead of subprocess.run, to support Python 2.7 and 3.4.
* fix code markup (#1445)Éric Araujo2019-10-211-1/+1
|
* Upgrade minimal virtualenv version to 16.0.0 (#1429)Sviatoslav Sydorenko2019-09-261-0/+2
| | | | | | | | * Upgrade minimal virtualenv version to 16.0.0 Fixes #1425 * Add a change note about the virtualenv bump
* fix typo in doc on factored configuration (#1419)Fred Drake2019-09-101-1/+1
|
* release 3.14.03.14.0Bernat Gabor2019-09-0313-13/+48
|
* Correctly recognize interpreters that has suffixes (#1416)Pablo Galindo2019-09-031-0/+1
|
* Fix various spelling mistakes across the tree (#1408)Faidon Liambotis2019-08-306-15/+15
| | | | | | | As identified by Debian's lintian: - comand -> command - suceeds -> succeeds - intepreter -> interpreter - allow(s) to -> allow(s) you/one to