Skip to content

Commit baeff05

Browse files
mroeschkepmhatre1
authored andcommitted
CI/TST: Use worksteal over loadfile for pytest-xdist (pandas-dev#57737)
* CI/TST: Use worksteal over loadfile for pytest-xdist * Undo pin * Specify in filterwarnings * Move pytest-cov * Remove old try * Looks like pytest-cov is on conda forge now
1 parent 9fc6334 commit baeff05

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

ci/deps/actions-311-numpydev.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ dependencies:
1313
# test dependencies
1414
- pytest>=7.3.2
1515
- pytest-cov
16-
# Once pytest-cov > 4 comes out, unpin this
17-
# Right now, a DeprecationWarning related to rsyncdir
18-
# causes an InternalError within pytest
19-
- pytest-xdist>=2.2.0, <3
16+
- pytest-xdist>=2.2.0
2017
- hypothesis>=6.46.1
2118

2219
# pandas dependencies

ci/run_tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ echo PYTHONHASHSEED=$PYTHONHASHSEED
1010

1111
COVERAGE="-s --cov=pandas --cov-report=xml --cov-append --cov-config=pyproject.toml"
1212

13-
PYTEST_CMD="MESONPY_EDITABLE_VERBOSE=1 PYTHONDEVMODE=1 PYTHONWARNDEFAULTENCODING=1 pytest -r fE -n $PYTEST_WORKERS --dist=loadfile $TEST_ARGS $COVERAGE $PYTEST_TARGET"
13+
PYTEST_CMD="MESONPY_EDITABLE_VERBOSE=1 PYTHONDEVMODE=1 PYTHONWARNDEFAULTENCODING=1 pytest -r fE -n $PYTEST_WORKERS --dist=worksteal $TEST_ARGS $COVERAGE $PYTEST_TARGET"
1414

1515
if [[ "$PATTERN" ]]; then
1616
PYTEST_CMD="$PYTEST_CMD -m \"$PATTERN\""

0 commit comments

Comments
 (0)