summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 4.0.0a44.0.0a4Bernát Gábor2021-01-1611-19/+32
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Support all requirement one arg flags to be specified without space (#1835)Bernát Gábor2021-01-163-33/+61
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Handle spaces in paths within requirement files (#1828)Bernát Gábor2021-01-164-6/+43
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add code style guide (#1827)Bernát Gábor2021-01-162-2/+19
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Use .tox/4 instead of .tox4 (#1825)Bernát Gábor2021-01-163-6/+10
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* rewrite (#1824)Bernát Gábor2021-01-166-46/+83
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Support legacy way of specifying constraint files (and expand constraint ↵Bernát Gábor2021-01-143-11/+40
| | | | | files too) (#1823) Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Colorize config and fix a circular config bug (#1821)Bernát Gábor2021-01-1311-42/+84
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Simplify td_human_readable function (#1819)Miroslav Šedivý2021-01-132-14/+13
|
* Fix readthedocsBernát Gábor2021-01-131-3/+0
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Release 4.0.0a34.0.0a3Bernát Gábor2021-01-139-36/+46
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Better handling of packaging env creation (#1807)Bernát Gábor2021-01-1334-362/+537
|
* Adopt same pass env list as tox 3 hasBernát Gábor2021-01-115-22/+32
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Better handling of set_env (#1784)Bernát Gábor2021-01-1143-134/+478
|
* This is not madness, this is Sparta (#1778)Miro Hrončok2021-01-081-1/+1
|
* Stable deps and eat-our-own dogfood4.0.0a2Bernát Gábor2021-01-088-51/+69
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Stable order dependenciesBernát Gábor2021-01-081-0/+1
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add tty replacerBernát Gábor2021-01-085-9/+43
| | | | | | | This allows users to force isatty until we fix https://github.com/tox-dev/tox/issues/1773. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix stdin (but loose isatty support for stdout/stderr)Bernát Gábor2021-01-087-49/+56
| | | | | | | For now sacrificed isatty support on subprocess-es, see https://github.com/tox-dev/tox/issues/1773 for more details. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix package env recreate not workingBernát Gábor2021-01-074-11/+10
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Requirement files support within depsBernát Gábor2021-01-0722-84/+545
| | | | | | | | | | | | | | | | | | | | | | | To support -r/-c/etc within deps we consider the deps section itself a requirements file. We forward this as such to the installer. We validate and traverse the entries within the requirements file, build the keys so we know when we need to rebuild the tox environment. If only add operation has been observed do not recreate the environment, bur rather just update it with a new requirement file install. Also added a mechanism into tox.pytest that allows enabling a short circuit into the execute API. This is useful for example to auto pass all install steps with success and a noop. All install steps now have a run id starting with install. Run ids have been altered to use the _ over the - as separator. This is to bring it inline with how the PEP-517 backend uses the function name as run it, and as such uses the _ as separator. Fold legacy dev build requires package install into install-deps from a dedicated step. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Allow running it on termuxBernát Gábor2021-01-044-4/+8
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add tests for the package dependency marker filtersBernát Gábor2021-01-046-111/+202
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add test for dependency removal triggers recreateBernát Gábor2021-01-032-2/+15
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix env_tmp_dir reset, set cwd in test runs, increase coverage on tox_env.apiBernát Gábor2021-01-035-9/+67
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Handle packaging is run too, and run used as packagingBernát Gábor2021-01-033-11/+34
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Better handling and error messages on backend failedBernát Gábor2021-01-0316-42/+122
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add keyboard interrupt support for parallelBernát Gábor2021-01-0330-420/+596
| | | | | | Part of this unify the sequential and parallel execution engines. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Increase code coverageBernát Gábor2021-01-0110-23/+113
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Allow changing the root folder and increase coverageBernát Gábor2021-01-0111-16/+81
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add test coverage for runner and show configBernát Gábor2020-12-313-26/+28
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add coverage for the delayed signal handlerBernát Gábor2020-12-313-2/+45
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Finish coverage for PEP-517Bernát Gábor2020-12-307-26/+212
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add base coverage for PEP-517Bernát Gábor2020-12-297-32/+277
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix some code coverage issuesBernát Gábor2020-12-2821-515/+593
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Improve coverageBernát Gábor2020-12-284-14/+15
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Rework and simplify local subprocess executor handlersBernát Gábor2020-12-278-59/+85
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Rework and simplify local subprocess executor handlersBernát Gábor2020-12-2710-201/+199
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix keyboard interrupt can failBernát Gábor2020-12-254-15/+21
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Improve code coverageBernát Gábor2020-12-242-6/+8
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* More Windows fixbgabor82020-12-242-5/+10
|
* Fix Windows overlapped I/O handling - no longer blocksbgabor82020-12-241-4/+13
|
* Windows fixesbgabor82020-12-247-15/+45
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* General rework of the parallel, execute and reportingBernát Gábor2020-12-2461-709/+1678
| | | | | | | | | | | | | | | | | | | | | - move environment marker always at start of output - use single char logging level representation - skip support for parallel runs - rework parallel run to collect output per env, and also collect logging lines, fix logging timestamps by materializing the log messages when they are emited (collect the resulting output, instead replaying the log records at a later stage) - support for the -c file to specify tox configuration file at custom path - fix PEP-517 implementation by implementing a new type hinted PEP-517 frontend/backend interface - add a executor for PEP-517 communication that starts up just one process and then reuses that one process for all subsequent messages, this also collects stdout/stderr for executed commands - introduce async executor for the commands (alongside the current sync) - add prefix to threads to ease of identification in debugging Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add parallel show output support, and don't display parallel output by defaultBernát Gábor2020-11-305-21/+69
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Implement parallel mode - without output redirectBernát Gábor2020-11-3013-230/+221
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* rewrite: Use time.monotonic for runtime durations (#1754)Miroslav Šedivý2020-11-292-8/+8
|
* tests: add test for the sequential run failingBernát Gábor2020-11-281-3/+18
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* show config: fix unused usage, add full coverageBernát Gábor2020-11-283-9/+19
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* quickstart: add current functionality testBernát Gábor2020-11-282-1/+13
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>