Skip to content

Commit 2047a9e

Browse files
committed
[azure parallel] [doc build] Use docker image without Python
1 parent c56ad10 commit 2047a9e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.circleci/config.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@ jobs:
1818

1919
doc-min-dependencies:
2020
docker:
21-
- image: cimg/python:3.9.18
21+
- image: cimg/base:current-22.04
2222
environment:
2323
- MKL_NUM_THREADS: 2
2424
- OPENBLAS_NUM_THREADS: 2
2525
- CONDA_ENV_NAME: testenv
2626
- LOCK_FILE: build_tools/circle/doc_min_dependencies_linux-64_conda.lock
27-
# Avoid using Python packages installed in the Docker image inside ~/.local/lib
28-
- PYTHONNOUSERSITE: 1
2927
# Do not fail if the documentation build generates warnings with minimum
3028
# dependencies as long as we can avoid raising warnings with more recent
3129
# versions of the same dependencies.
@@ -58,14 +56,12 @@ jobs:
5856

5957
doc:
6058
docker:
61-
- image: cimg/python:3.9.18
59+
- image: cimg/base:current-22.04
6260
environment:
6361
- MKL_NUM_THREADS: 2
6462
- OPENBLAS_NUM_THREADS: 2
6563
- CONDA_ENV_NAME: testenv
6664
- LOCK_FILE: build_tools/circle/doc_linux-64_conda.lock
67-
# Avoid using Python packages installed in the Docker image inside ~/.local/lib
68-
- PYTHONNOUSERSITE: 1
6965
# Make sure that we fail if the documentation build generates warnings with
7066
# recent versions of the dependencies.
7167
- SKLEARN_WARNINGS_AS_ERRORS: '1'
@@ -102,7 +98,7 @@ jobs:
10298

10399
deploy:
104100
docker:
105-
- image: cimg/python:3.9.18
101+
- image: cimg/base:current-22.04
106102
steps:
107103
- checkout
108104
- run: ./build_tools/circle/checkout_merge_commit.sh

0 commit comments

Comments
 (0)