Skip to content

Commit 1cc0c45

Browse files
committed
Try disabling xdist for 3.8 to pass!?
1 parent adafd3d commit 1cc0c45

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ tests = [
5151
"pympler",
5252
# 4.3.0 dropped last use of `convert`
5353
"pytest>=4.3.0",
54-
"pytest-xdist[psutil]",
5554
]
5655
cov = [
5756
{ include-group = "tests" },

tox.ini

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependency_groups =
2323
tests: tests
2424
mypy: tests-mypy
2525
commands =
26-
tests: pytest {posargs:-n auto}
26+
tests: pytest {posargs}
2727
mypy: mypy tests/typing_example.py
2828
mypy: mypy src/attrs/__init__.pyi src/attr/__init__.pyi src/attr/_typing_compat.pyi src/attr/_version_info.pyi src/attr/converters.pyi src/attr/exceptions.pyi src/attr/filters.pyi src/attr/setters.pyi src/attr/validators.pyi
2929

@@ -35,8 +35,7 @@ set_env =
3535
COVERAGE_PROCESS_START={toxinidir}/pyproject.toml
3636
PYTHONWARNINGS=d
3737
commands_pre = python -c 'import pathlib; pathlib.Path("{env_site_packages_dir}/cov.pth").write_text("import coverage; coverage.process_startup()")'
38-
# We group xdist execution by file because otherwise the Mypy tests have race conditions.
39-
commands = coverage run -m pytest {posargs:-n auto --dist loadfile}
38+
commands = coverage run -m pytest {posargs}
4039

4140
[testenv:coverage-report]
4241
# Keep base_python in-sync with .python-version-default

uv.lock

-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)