File tree Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,9 @@ python -m pip install $(get_dep threadpoolctl $THREADPOOLCTL_VERSION) \
137
137
$( get_dep pytest-xdist $PYTEST_XDIST_VERSION )
138
138
139
139
if [[ " $COVERAGE " == " true" ]]; then
140
- python -m pip install codecov pytest-cov
140
+ # XXX: coverage is temporary pinned to 6.2 because 6.3 multiprocessing fork-safe
141
+ # cf. https://github.com/nedbat/coveragepy/issues/1310
142
+ python -m pip install codecov pytest-cov coverage==6.2
141
143
fi
142
144
143
145
if [[ " $PYTEST_XDIST_VERSION " != " none" ]]; then
Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ if [[ "$PYTEST_XDIST_VERSION" != "none" ]]; then
24
24
fi
25
25
26
26
if [[ " $COVERAGE " == " true" ]]; then
27
- pip install coverage codecov pytest-cov
27
+ # XXX: coverage is temporary pinned to 6.2 because 6.3 multiprocessing fork-safe
28
+ # cf. https://github.com/nedbat/coveragepy/issues/1310
29
+ pip install coverage codecov pytest-cov coverage==6.2
28
30
fi
29
31
30
32
python --version
Original file line number Diff line number Diff line change 32
32
MATPLOTLIB_VERSION : ' latest'
33
33
PYTEST_VERSION : ' latest'
34
34
# Disable pytest-xdist as it can stall builds
35
- PYTEST_XDIST_VERSION : ' none '
35
+ PYTEST_XDIST_VERSION : ' latest '
36
36
THREADPOOLCTL_VERSION : ' latest'
37
37
COVERAGE : ' true'
38
38
TEST_DOCSTRINGS : ' false'
Original file line number Diff line number Diff line change 18
18
SKLEARN_SKIP_NETWORK_TESTS : ' 1'
19
19
PYTEST_VERSION : ' 5.2.1'
20
20
# Disable pytest-xdist as it can stall builds
21
- PYTEST_XDIST_VERSION : ' none '
21
+ PYTEST_XDIST_VERSION : ' latest '
22
22
TEST_DIR : ' $(Agent.WorkFolder)/tmp_folder'
23
23
SHOW_SHORT_SUMMARY : ' false'
24
24
CPU_COUNT : ' 2'
Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ mamba install --verbose -y ccache \
54
54
setup_ccache
55
55
56
56
if [[ " $COVERAGE " == " true" ]]; then
57
- mamba install --verbose -y codecov pytest-cov
57
+ # XXX: coverage is temporary pinned to 6.2 because 6.3 multiprocessing fork-safe
58
+ # cf. https://github.com/nedbat/coveragepy/issues/1310
59
+ mamba install --verbose -y codecov pytest-cov coverage=6.2
58
60
fi
59
61
60
62
if [[ " $TEST_DOCSTRINGS " == " true" ]]; then
You can’t perform that action at this time.
0 commit comments