summaryrefslogtreecommitdiff
path: root/src/tox/execute/request.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop python 3.6 support (#2275)Bernát Gábor2021-11-171-6/+8
|
* Add support for allowlist_externals (#2134)Bernát Gábor2021-08-021-2/+11
| | | | | | | | | | | | * Add support for allowlist_externals Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com> * Apply suggestions from code review Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com> Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net> Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
* Start plugin interface documentation and installer (#1991)Bernát Gábor2021-04-051-8/+19
| | | | | | | | - Add documentation for the plugin interface - Introduce the installer abstraction - Rework how we handle tox deps section, requirement and constraint files - Support for escaping comments in tox.ini configs Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Requirement files support within depsBernát Gábor2021-01-071-1/+4
| | | | | | | | | | | | | | | | | | | | | | | 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>
* Rework and simplify local subprocess executor handlersBernát Gábor2020-12-271-0/+3
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* General rework of the parallel, execute and reportingBernát Gábor2020-12-241-2/+14
| | | | | | | | | | | | | | | | | | | | | - 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>
* tests: add platform specific no pragma for platform branchesBernát Gábor2020-11-021-2/+2
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Better shell cmd report, fix list env not working with testsBernát Gábor2020-10-271-1/+7
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* TypingBernát Gábor2020-10-221-1/+7
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Improve documentationBernát Gábor2020-10-191-1/+4
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* First iteration of the rewrite4.0.0a1Bernat Gabor2020-03-301-0/+28
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>