Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4dd2978031 | ||
|
|
b397288b7e | ||
|
|
12b3cce0ce | ||
|
|
c93a106b3a | ||
|
|
52e2022638 | ||
|
|
699f939b5c |
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build and Check Package
|
- name: Build and Check Package
|
||||||
uses: hynek/build-and-inspect-python-package@v2.2
|
uses: hynek/build-and-inspect-python-package@v2.4
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: package
|
needs: package
|
||||||
|
|||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build and Check Package
|
- name: Build and Check Package
|
||||||
uses: hynek/build-and-inspect-python-package@v2.2
|
uses: hynek/build-and-inspect-python-package@v2.4
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: "v0.3.7"
|
rev: "v0.4.1"
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: ["--fix"]
|
args: ["--fix"]
|
||||||
|
|||||||
@@ -1,6 +1,16 @@
|
|||||||
|
pytest-xdist 3.6.1 (2024-04-28)
|
||||||
|
===============================
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
---------
|
||||||
|
|
||||||
|
- `#1071 <https://github.com/pytest-dev/pytest-xdist/issues/1071>`_: Add backward compatibility for deadlock issue with the ``execnet`` new ``main_thread_only`` "execmodel" triggered when pytest-cov accesses rinfo.
|
||||||
|
|
||||||
pytest-xdist 3.6.0 (2024-04-19)
|
pytest-xdist 3.6.0 (2024-04-19)
|
||||||
===============================
|
===============================
|
||||||
|
|
||||||
|
This release was YANKED due to a regression fixed in 3.6.1.
|
||||||
|
|
||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|||||||
@@ -312,6 +312,11 @@ class WorkerController:
|
|||||||
|
|
||||||
def setup(self) -> None:
|
def setup(self) -> None:
|
||||||
self.log("setting up worker session")
|
self.log("setting up worker session")
|
||||||
|
# Cache rinfo for backward compatibility, since pytest-cov
|
||||||
|
# accesses rinfo while the main thread is busy executing our
|
||||||
|
# remote_exec call, which triggers a deadlock error for the
|
||||||
|
# main_thread_only execmodel if the rinfo has not been cached.
|
||||||
|
self.gateway._rinfo()
|
||||||
spec = self.gateway.spec
|
spec = self.gateway.spec
|
||||||
args = [str(x) for x in self.config.invocation_params.args or ()]
|
args = [str(x) for x in self.config.invocation_params.args or ()]
|
||||||
option_dict = {}
|
option_dict = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user