Skip to content

Commit

Permalink
remove pytest-xdist
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Feb 6, 2025
1 parent 816820d commit 79fe8f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ outputs:
# Required by run_test.py
- pytest-flakefinder
- pytest-rerunfailures
- pytest-xdist
# - pytest-xdist
# danpetry/TF: Pytorch includes their own edited version of pytest-shard and adding
# it into the test deps as well results in the --shard-id option being added twice.
# https://github.com/pytorch/pytorch/blob/main/test/pytest_shard_custom.py
Expand Down Expand Up @@ -498,7 +498,7 @@ outputs:
- export OMP_NUM_THREADS=4 # [unix]
# reduced paralellism to avoid OOM; test only one python version on aarch because emulation is super-slow
# disable hypothesis because it randomly yields health check errors
- python -m pytest -n 2 {{ tests }} -k "not ({{ skips }})" -m "not hypothesis" --durations=50 # [unix and (not aarch64 or py==312)]
- python -m pytest {{ tests }} -k "not ({{ skips }})" -m "not hypothesis" --durations=50 # [unix and (not aarch64 or py==312)]
- python -m pytest -v -s {{ tests }} -k "not ({{ skips }})" -m "not hypothesis" --durations=50 # [win]

# regression test for https://github.com/conda-forge/pytorch-cpu-feedstock/issues/329, where we picked up
Expand Down

0 comments on commit 79fe8f5

Please sign in to comment.