summaryrefslogtreecommitdiff
path: root/src/tox/util
Commit message (Collapse)AuthorAgeFilesLines
* Fix the type annotation for `color` param of `Spinner.finalize()` (#2879)Kurt McKee2023-01-171-1/+1
| | | Closes https://github.com/tox-dev/tox/issues/2878
* Packaging inherits from pkgenv, deps and document tox 4 packaging changes ↵Bernát Gábor2023-01-031-1/+6
| | | | | (#2813) Resolves https://github.com/tox-dev/tox/issues/2543
* Show installed packages after setup in CI envs (#2794)Bernát Gábor2022-12-301-0/+29
| | | Resolves https://github.com/tox-dev/tox/issues/2685
* Create session views of the build wheel/sdist into temp_dir (#2614)Bernát Gábor2022-12-071-0/+37
| | | Resolves https://github.com/tox-dev/tox/issues/2612
* Lock parallel package operations (#2593)Bernát Gábor2022-12-051-1/+3
|
* Drop python 3.6 support (#2275)Bernát Gábor2021-11-174-16/+22
|
* Use pyproject-api package (#2274)Bernát Gábor2021-11-165-498/+0
|
* Update setup changelogBernát Gábor2021-11-162-7/+17
| | | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Support for external packages and builders (#2235)Bernát Gábor2021-09-261-1/+1
|
* Expose the configuration load mechanism to plugins (#2217)Bernát Gábor2021-09-152-7/+7
|
* Support for plugin before and after, fix ASCII report fails (#2214)Bernát Gábor2021-09-111-4/+15
|
* When cleaning dirs clean only their content (#2140)Bernát Gábor2021-08-062-3/+26
| | | | | | Instead only delete their content. This allows the user to cd into these and them being still valid after a new run. Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Add support for allowlist_externals (#2134)Bernát Gábor2021-08-021-1/+1
| | | | | | | | | | | | * 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>
* Move from toml to tomli (#2118)Bernát Gábor2021-07-261-2/+3
|
* Use importlib.import_module instead of __import__David Mendek2021-04-181-1/+2
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Replace .format with f-strings (#2011)Miroslav Šedivý2021-04-101-3/+3
| | | | | * Use f-strings * Use textwrap.shorten
* Docs: define which files to keep py2 compatible (#2015)Miroslav Šedivý2021-04-101-1/+5
|
* Start plugin interface documentation and installer (#1991)Bernát Gábor2021-04-051-15/+0
| | | | | | | | - 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>
* Smarter tox env finish status report (#1910)Bernát Gábor2021-02-131-6/+8
| | | | | | - do not report when interrupted - do not report for the final env Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Support running python 2 targets (#1900)Bernát Gábor2021-02-092-12/+34
|
* Add more flake8 checks (#1899)Bernát Gábor2021-02-063-5/+5
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Simplify td_human_readable function (#1819)Miroslav Šedivý2021-01-131-11/+9
|
* Better handling of set_env (#1784)Bernát Gábor2021-01-111-1/+3
|
* Add tests for the package dependency marker filtersBernát Gábor2021-01-041-0/+68
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Better handling and error messages on backend failedBernát Gábor2021-01-033-13/+16
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add keyboard interrupt support for parallelBernát Gábor2021-01-036-104/+71
| | | | | | Part of this unify the sequential and parallel execution engines. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add coverage for the delayed signal handlerBernát Gábor2020-12-311-1/+2
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Finish coverage for PEP-517Bernát Gábor2020-12-302-16/+30
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add base coverage for PEP-517Bernát Gábor2020-12-293-27/+38
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix some code coverage issuesBernát Gábor2020-12-282-7/+11
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Rework and simplify local subprocess executor handlersBernát Gábor2020-12-271-7/+1
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Rework and simplify local subprocess executor handlersBernát Gábor2020-12-271-0/+45
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* General rework of the parallel, execute and reportingBernát Gábor2020-12-245-9/+388
| | | | | | | | | | | | | | | | | | | | | - 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>
* Implement parallel mode - without output redirectBernát Gábor2020-11-302-18/+19
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* tests: add coverage for spinner and graph util librariesBernát Gábor2020-11-042-33/+33
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Add tests for cpu.py file (#1729)Gleb Nikonorov2020-11-041-2/+2
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* tests: add platform specific no pragma for platform branchesBernát Gábor2020-11-021-3/+3
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fixbgabor82020-10-221-4/+4
| | | | | | | Signed-off-by: bgabor8 <bgabor8@bloomberg.net> Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net> Signed-off-by: bgabor8 <bgabor8@bloomberg.net> Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* TypingBernát Gábor2020-10-223-40/+44
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Improve documentationBernát Gábor2020-10-195-63/+2
| | | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix CI (#1556)Bernát Gábor2020-07-244-11/+11
|
* Setup CI for tox 4 (#1551)Bernát Gábor2020-04-174-7/+0
|
* First iteration of the rewrite4.0.0a1Bernat Gabor2020-03-306-0/+313
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>