Skip to content

Commit 19e2092

Browse files
committed
do not use pytest-xdist for cleaner test logs
1 parent ee310fa commit 19e2092

File tree

6 files changed

+19
-28
lines changed

6 files changed

+19
-28
lines changed

dev/env-py38.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ dependencies:
88
- bioimageio.spec>=0.5.3.6
99
- black
1010
- crick # uncommented
11-
- filelock
1211
- h5py
1312
- imagecodecs
1413
- imageio>=2.5
@@ -30,7 +29,6 @@ dependencies:
3029
- pyright
3130
- pytest
3231
- pytest-cov
33-
- pytest-xdist
3432
- python=3.8 # changed
3533
- pytorch>=2.1,<3
3634
- requests

dev/env-tf.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ dependencies:
88
- bioimageio.spec>=0.5.3.6
99
- black
1010
# - crick # currently requires python<=3.9
11-
- filelock
1211
- h5py
1312
- imagecodecs
1413
- imageio>=2.5
@@ -30,7 +29,6 @@ dependencies:
3029
- pyright
3130
- pytest
3231
- pytest-cov
33-
- pytest-xdist
3432
# - python=3.9 # removed
3533
# - pytorch>=2.1,<3 # removed
3634
- requests

dev/env-wo-python.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ dependencies:
88
- bioimageio.spec>=0.5.3.6
99
- black
1010
# - crick # currently requires python<=3.9
11-
- filelock
1211
- h5py
1312
- imagecodecs
1413
- imageio>=2.5
@@ -30,7 +29,6 @@ dependencies:
3029
- pyright
3130
- pytest
3231
- pytest-cov
33-
- pytest-xdist
3432
# - python=3.9 # removed
3533
- pytorch>=2.1,<3
3634
- requests

dev/env.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ dependencies:
77
- bioimageio.spec>=0.5.3.6
88
- black
99
# - crick # currently requires python<=3.9
10-
- filelock
1110
- h5py
1211
- imagecodecs
1312
- imageio>=2.5
@@ -29,7 +28,6 @@ dependencies:
2928
- pyright
3029
- pytest
3130
- pytest-cov
32-
- pytest-xdist
3331
- python=3.12
3432
- pytorch>=2.1,<3
3533
- requests

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ typeCheckingMode = "strict"
3939
useLibraryCodeForTypes = true
4040

4141
[tool.pytest.ini_options]
42-
addopts = "--cov=bioimageio --cov-report=xml --cov-append -n 0 --capture=no --doctest-modules --failed-first"
42+
addopts = "--cov=bioimageio --cov-report=xml --cov-append --capture=no --doctest-modules --failed-first"
4343

4444
[tool.ruff]
4545
line-length = 88

setup.py

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,25 +49,24 @@
4949
"pytorch": (pytorch_deps := ["torch>=1.6,<3", "torchvision", "keras>=3.0,<4"]),
5050
"tensorflow": ["tensorflow", "keras>=2.15,<4"],
5151
"onnx": ["onnxruntime"],
52-
"dev": pytorch_deps
53-
+ [
54-
"black",
55-
# "crick", # currently requires python<=3.9
56-
"filelock",
57-
"jupyter",
58-
"jupyter-black",
59-
"matplotlib",
60-
"onnx",
61-
"onnxruntime",
62-
"packaging>=17.0",
63-
"pre-commit",
64-
"pdoc",
65-
"psutil", # parallel pytest with 'pytest -n auto'
66-
"pyright==1.1.393",
67-
"pytest-cov",
68-
"pytest-xdist", # parallel pytest
69-
"pytest",
70-
],
52+
"dev": (
53+
pytorch_deps
54+
+ [
55+
"black",
56+
# "crick", # currently requires python<=3.9
57+
"jupyter",
58+
"jupyter-black",
59+
"matplotlib",
60+
"onnx",
61+
"onnxruntime",
62+
"packaging>=17.0",
63+
"pre-commit",
64+
"pdoc",
65+
"pyright==1.1.393",
66+
"pytest-cov",
67+
"pytest",
68+
]
69+
),
7170
},
7271
project_urls={
7372
"Bug Reports": "https://github.com/bioimage-io/core-bioimage-io-python/issues",

0 commit comments

Comments
 (0)