Skip to content

Commit 7a87ac5

Browse files
lesteveglemaitre
authored andcommitted
CI/DOC Minor improvements to build_doc.sh (scikit-learn#14519)
1 parent e90f116 commit 7a87ac5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build_tools/circle/build_doc.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ export PATH="/usr/lib/ccache:$MINICONDA_PATH/bin:$PATH"
117117
ccache -M 512M
118118
export CCACHE_COMPRESS=1
119119

120-
# Configure the conda environment and put it in the path using the
121-
# provided versions
122-
123-
# Adds older packages for python 3.5
124-
if [[ "$PYTHON_VERSION" == "3.5" ]]; then
120+
# Old packages coming from the 'free' conda channel have been removed but we
121+
# are using them for our min-dependencies doc generation. See
122+
# https://www.anaconda.com/why-we-removed-the-free-channel-in-conda-4-7/ for
123+
# more details.
124+
if [[ "$CIRCLE_JOB" == "doc-min-dependencies" ]]; then
125125
conda config --set restore_free_channel true
126126
fi
127127

0 commit comments

Comments
 (0)