Skip to content

Commit d9fb8ca

Browse files
Copilottoruseo
andcommitted
Fix pytest-xdist issue by updating to compatible package versions
Co-authored-by: toruseo <[email protected]>
1 parent d0f01db commit d9fb8ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test-functions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
pip install .
2323
- name: Install pytest other dependencies
2424
run: |
25-
# Install testing dependencies with compatible versions to avoid serialization issues
26-
pip install "pytest>=7.4.0,<8.0.0" "pytest-xdist>=3.3.0,<4.0.0" "pytest-rerunfailures>=11.1,<12.0" setuptools osmnx requests
25+
# Install testing dependencies with compatible versions for parallel execution
26+
pip install "pytest>=8.4.0" "pytest-xdist>=3.8.0" "pytest-rerunfailures>=16.0" setuptools osmnx requests
2727
- name: Run tests with pytest
2828
run: pytest -n auto tests/test_other_functions.py --durations=0 -v
2929

.github/workflows/verify-module.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
pip install .
2323
- name: Install pytest other dependencies
2424
run: |
25-
# Install testing dependencies with compatible versions to avoid serialization issues
26-
pip install "pytest>=7.4.0,<8.0.0" "pytest-xdist>=3.3.0,<4.0.0" "pytest-rerunfailures>=11.1,<12.0" setuptools
25+
# Install testing dependencies with compatible versions for parallel execution
26+
pip install "pytest>=8.4.0" "pytest-xdist>=3.8.0" "pytest-rerunfailures>=16.0" setuptools
2727
- name: Run verifications with pytest
2828
run: pytest -n auto tests/test_verification_straight_road.py tests/test_verification_route_choice.py tests/test_verification_node.py tests/test_verification_exceptional.py tests/test_verification_sioux_falls.py tests/test_verification_multilane.py tests/test_verification_taxi.py tests/test_verification_dta_solvers.py --durations=0 -v

0 commit comments

Comments
 (0)