summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* venv: Do not fail for test commands that don't exist with "-" leader (#2316)masterChris Down2022-01-131-1/+11
|
* Do not reinstall in develop mode without setup.py (#2273)Vincent Vanlaer2021-12-291-0/+4
|
* Fix typos (#2253)Kian Meng Ang2021-12-032-2/+2
| | | Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
* venv: do not prepend a truncated shebang interpreter (#2203)James Knight2021-09-161-3/+7
|
* Only respect ALL environments when not in parallel (#2207)guahki2021-09-131-3/+4
|
* ASCII output for --parallel report lines (#2164)Brett Smith2021-08-211-21/+19
| | | | | | | | | | | * Add SpinnerMessage helper class This class provides a single interface for spinner strings where we ideally want to report Unicode but want to fall back to ASCII when the terminal doesn't support it. * Add ASCII messages for OK/FAIL/SKIP lines Fixes #1421.
* Add LC_ALL to implicit tox passenv (#2162)Sorin Sbarnea2021-08-181-0/+1
| | | | | This is needed because LANG by itself is not enough to help newer pip from failing on py36. Forcing tox users to manually alter not only their system configuration but also their tox.ini files to avoid that bug is not quite desired. As we already pass `LANG` and `LANGUAGE` I see not reason why we should not do the same for `LC_ALL` too. Related: https://github.com/pypa/pip/issues/10219
* Alow backend build system to omit `get_requires_for_build_sdist` hook (#2131)oczkoisse2021-07-311-1/+8
| | | | | | | | | | | * Fix isolated build with backends missing optional hooks * Add a test for verifying that tox works with enscons * Remove a redundant comment * Add name to CONTRIBUTORS * Add changelog entry
* Add Python3.10 to CI and handle distutils deprecationBernát Gábor2021-07-141-2/+16
| | | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Fix show config when package names are not canonical (#2103)Bernát Gábor2021-07-131-5/+3
|
* Use sysconfig instead of distutils for Python 3.10 compatability (#2100)Rebecca Turner2021-07-131-2/+2
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate (#2068)pre-commit-ci[bot]2021-05-253-10/+8
| | | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Anthony Sottile <asottile@umich.edu>
* Do not modify provisioned envdir when --devenv is specified (#2066)Isaac Pedisich2021-05-241-1/+4
| | | Co-authored-by: Isaac Pedisich <ipedisich@grammatech.com>
* Fix when there is no 4th arg passed to build_isolated (#2056)Antoine Dechaume2021-05-051-1/+1
| | | | Co-authored-by: Antoine DECHAUME <antoine.dechaume@irt-saintexupery.com> Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* Remove redundant character escape in some regexes (#2051)Marc Hernández2021-05-032-6/+6
|
* [pre-commit.ci] pre-commit autoupdate (#2046)pre-commit-ci[bot]2021-04-305-7/+7
| | | | | | | | | | | | | | | | * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v2.12.0 → v2.13.0](https://github.com/asottile/pyupgrade/compare/v2.12.0...v2.13.0) - [github.com/psf/black: 20.8b1 → 21.4b0](https://github.com/psf/black/compare/20.8b1...21.4b0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove redundant quotes Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
* Set daemon attribute instead of using setDaemon method that was deprecated ↵Karthikeyan Singaravelan2021-04-181-1/+1
| | | | | | | in Python 3.10 (#2033) * Set daemon attribute instead of using setDaemon method that was deprecated in Python 3.10 * Add myself to contributors.
* Use {env}/bin instead of {env}/Scripts when Python is from MSYS2 on Windows. ↵Jesse Schwartzentruber2021-04-063-0/+9
| | | | (#1983)
* Use UTF-8 encoding when parsing pyproject.toml (#1940)Dominic Davis-Foster2021-03-032-2/+10
|
* Add --no-provision flag (#1922)Miro Hrončok2021-03-031-2/+34
| | | | | | | | | tox can now be invoked with a new --no-provision flag that prevents provision, if requires or minversion are not satisfied, tox will fail; if a path is specified as an argument to the flag (e.g. as `tox --no-provision missing.json`) and provision is prevented, provision metadata are written as JSON to that path. Fixes https://github.com/tox-dev/tox/issues/1921
* Expose tox requires via the config object (#1919)Miro Hrončok2021-02-161-2/+2
| | | | | | Fixes https://github.com/tox-dev/tox/issues/1918 This also fixes broken __str__ of MissingRequirement, which is never actually used but is helpful when debugging.
* Handle sigterm by killing the commands subprocess (#1860)David Diaz Barquero2021-01-201-0/+13
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Newer coverage plugin updates env-vars, ignore in pytest plugin (#1854)Bernát Gábor2021-01-191-1/+1
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* config: Prevent .tox in envlistJohn Vandenberg2021-01-121-0/+6
| | | | Fixes https://github.com/tox-dev/tox/issues/1684
* config: Revert removal of {packages}/{opts} hackJohn Vandenberg2021-01-121-0/+6
| | | | | | | | This was removed in e4d0d600, and replaced with a neater approach, however the newer approach doesnt work for replacements from other sections. Fixes https://github.com/tox-dev/tox/issues/1777
* config: Fix parsing posargs default with colonJohn Vandenberg2021-01-111-0/+7
| | | | | | | | | e4d0d60 introduced a regression when posargs default contained a colon, as the common substitution arg regex splits on the colon, and uses different replace types depending on the number of colons found. Fixes https://github.com/tox-dev/tox/issues/1785
* Fix CI (#1774)Bernát Gábor2021-01-081-1/+2
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix download=True option (#1558) (#1766)Alexander Morley2021-01-031-0/+2
| | | No test yet.
* Revert "Parse [tox:testenv] sections in setup.cfg" (#1726)Bernát Gábor2020-10-301-12/+6
|
* Fix congratulations message that occurs on KeyboardInterrupt during package ↵Gleb Nikonorov2020-10-301-0/+6
| | | | installation (#1725)
* Parse [tox:testenv] sections in setup.cfg (#1724)Mauricio Villegas2020-10-301-6/+12
|
* Improve substitution recursion check (#1720)John Vandenberg2020-10-272-11/+16
| | | | | | | Creates SubstitutionStackError and trace recursion from the beginning of substitution, allowing prevention of the recursion to halt sooner, and avoid None in error message. Related to https://github.com/tox-dev/tox/issues/1716
* Raise MissingSubstitution on access (#1717)John Vandenberg2020-10-263-6/+28
|
* Dont pass around re match object (#1712)John Vandenberg2020-10-261-10/+9
|
* Prevent {} and tighten parsing of {:} (#1715)John Vandenberg2020-10-241-6/+12
| | | Fixes https://github.com/tox-dev/tox/issues/1711
* Fix using platform with install_command (#1707)John Vandenberg2020-10-231-0/+7
| | | Fixes https://github.com/tox-dev/tox/issues/1464
* Add substitution {/} to os.sep (#1701)John Vandenberg2020-10-211-0/+2
| | | Closes https://github.com/tox-dev/tox/issues/1700
* Fix escaping brackets in setenv (#1691)John Vandenberg2020-10-212-5/+20
|
* Allow {posargs} in setenv (#1697)John Vandenberg2020-10-181-22/+40
|
* Allow escaping of {} in defaults (#1696)John Vandenberg2020-10-181-1/+1
| | | Fixes https://github.com/tox-dev/tox/issues/1502
* Support environment files and comments in setenv (#1668)Bernát Gábor2020-09-011-5/+13
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* New formattersBernat Gabor2020-09-0113-48/+142
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Merge pull request #1656 from mkenigs/escape-braces-in-setenvBernát Gábor2020-08-311-1/+3
|\ | | | | Allow escaping curly braces in setenv
| * Allow escaping curly braces in setenvMatthew Kenigsberg2020-08-221-1/+3
| | | | | | | | | | | | | | Currently braces can be escaped, but the backslashes are not removed, making it impossible to add a plain curly brace Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* | Spelling fixes (#1665)Ville Skyttä2020-08-281-1/+1
| |
* | Fix support of the PEP517 backend-path key (#1655)Nicolas Vivet2020-08-202-0/+14
|/
* Fix: accept hyphens in generative section names (#1647)Tyagdit2020-08-071-1/+1
|
* Allow to use --devenv without tox config (#1644)Miro Hrončok2020-08-061-1/+6
| | | Fixes https://github.com/tox-dev/tox/issues/1643
* Do not use setup.cfg file that does not have tox:tox namespace (#1642)Miro Hrončok2020-08-061-1/+13
|
* Implement support for PEP517 backend-path setting (#1614)Sviatoslav Sydorenko2020-07-302-2/+41
|