Skip to content

Commit 43d65b1

Browse files
authored
various fixes related to sub-process handling (#1186)
1 parent ef9c0ca commit 43d65b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+813
-369
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ variables:
55
CI_NAME: Azure Pipelines
66
CI_BUILD_ID: $(Build.BuildId)
77
CI_BUILD_URL: "https://toxdev.visualstudio.com/tox/_build/results?buildId=$(Build.BuildId)"
8-
PYTEST_ADDOPTS: "-vv -ra --showlocals"
8+
PYTEST_ADDOPTS: "-v -v -ra --showlocals"
99
GIT_BRANCH: $[ coalesce(variables['System.PullRequest.SourceBranch'], variables['Build.SourceBranchName'], 'not-found') ]
1010
GIT_COMMIT_SHA: $[ coalesce(variables['System.PullRequest.SourceCommitId'], variables['Build.SourceVersion'], 'not-found') ]
1111

docs/changelog/1137.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed bug of children process calls logs clashing (log already exists) - by :user:`gaborbernat`

docs/changelog/1139.feature.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
tox will inject the ``TOX_PARALLEL_ENV`` environment variable, set to the current running tox environment name, only when running in parallel mode.
1+
tox will inject the ``TOX_PARALLEL_ENV`` environment variable, set to the current running tox environment name,
2+
only when running in parallel mode. - by :user:`gaborbernat`

docs/changelog/1143.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Parallel children now save their output to a disk logfile - by :user:`gaborbernat`

docs/changelog/1150.bugfix.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Interpreter discovery and virtualenv creation process calls that failed will now print out on the screen their output
2+
(via the logfile we automatically save) - by :user:`gaborbernat`

docs/changelog/1159.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Parallel children now are added to ``--result-json`` - by :user:`gaborbernat`

docs/changelog/1163.doc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Add a ``poetry`` examples to packaging.
1+
Add a ``poetry`` examples to packaging - by :user:`gaborbernat`

docs/changelog/1172.bugfix.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Interrupting a tox call (e.g. via CTRL+C) now will ensure that spawn child processes (test calls, interpreter discovery,
2+
parallel sub-instances, provisioned hosts) are correctly stopped before exiting (via the pattern of INTERRUPT - 300 ms,
3+
TERMINATE - 200 ms, KILL signals) - by :user:`gaborbernat`

docs/changelog/1203.feature.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Setting the environment variable ``TOX_REPORTER_TIMESTAMP`` to ``1`` will enable showing for each output line its delta
2+
since the tox startup. This can be especially handy when debugging parallel runs.- by :user:`gaborbernat`

docs/changelog/998.feature.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
tox now auto-provisions itself if needed (see :ref:`auto-provision`). Plugins or minimum version of tox no longer
2-
need to be manually satisfied by the user, increasing their ease of use.
2+
need to be manually satisfied by the user, increasing their ease of use. - by :user:`gaborbernat`

0 commit comments

Comments
 (0)