Skip to content

Commit c56ad10

Browse files
committed
Set PYTHONNOUSERSITE=1 [azure parallel] [doc build]
1 parent c0355da commit c56ad10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
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
2729
# Do not fail if the documentation build generates warnings with minimum
2830
# dependencies as long as we can avoid raising warnings with more recent
2931
# versions of the same dependencies.
@@ -62,6 +64,8 @@ jobs:
6264
- OPENBLAS_NUM_THREADS: 2
6365
- CONDA_ENV_NAME: testenv
6466
- 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
6569
# Make sure that we fail if the documentation build generates warnings with
6670
# recent versions of the dependencies.
6771
- SKLEARN_WARNINGS_AS_ERRORS: '1'

0 commit comments

Comments
 (0)