@@ -90,9 +90,11 @@ commands:
90
90
- run :
91
91
name : Upgrade pip, setuptools, wheel
92
92
command : |
93
- python -m pip install --upgrade --user pip
94
- python -m pip install --upgrade --user wheel
95
- python -m pip install --upgrade --user 'setuptools!=60.6.0'
93
+ python -m venv venv
94
+ source venv/bin/activate
95
+ python -m pip install --upgrade pip
96
+ python -m pip install --upgrade wheel
97
+ python -m pip install --upgrade 'setuptools!=60.6.0'
96
98
97
99
mamba-install :
98
100
description : Install micromamba so it can be used for building the emscripten-forge environment
@@ -113,25 +115,29 @@ commands:
113
115
- run :
114
116
name : Install Python dependencies
115
117
command : |
116
- python -m pip install --user -r requirements/dev/build-requirements.txt
117
- python -m pip install --user \
118
+ source venv/bin/activate
119
+
120
+ python -m pip install -r requirements/dev/build-requirements.txt
121
+ python -m pip install \
118
122
numpy<< parameters.numpy_version >> \
119
123
-r requirements/doc/doc-requirements.txt
120
- python -m pip install --no-deps --user \
124
+ python -m pip install --no-deps \
121
125
git+https://github.com/matplotlib/mpl-sphinx-theme.git
122
126
123
127
mpl-install :
124
128
steps :
125
129
- run :
126
130
name : Install Matplotlib
127
131
command : |
132
+ source venv/bin/activate
133
+
128
134
if [[ "$CIRCLE_BRANCH" == v*-doc ]]; then
129
135
# The v*-doc branches must build against the specified release.
130
136
version=${CIRCLE_BRANCH%-doc}
131
137
version=${version#v}
132
138
python -m pip install matplotlib==${version}
133
139
else
134
- python -m pip install --user -- verbose \
140
+ python -m pip install --verbose \
135
141
--no-build-isolation --editable .[dev]
136
142
fi
137
143
- save_cache :
0 commit comments