Skip to content

Commit 8751560

Browse files
committed
Do not install numpy in Python 3.10.0b4
1 parent 435a176 commit 8751560

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,11 @@ RUN pyenv local $PYTHON_VERSION_27 && \
201201

202202
ENV RTD_PIP_VERSION 20.0.2
203203
ENV RTD_SETUPTOOLS_VERSION 45.2.0
204+
205+
# NOTE: numpy is not installed by default because it's not built for Python 3.10 yet
204206
RUN pyenv local $PYTHON_VERSION_310 && \
205207
pyenv exec pip install --no-cache-dir -U pip==$RTD_PIP_VERSION && \
206208
pyenv exec pip install --no-cache-dir -U setuptools==$RTD_SETUPTOOLS_VERSION && \
207-
pyenv exec pip install --no-cache-dir --only-binary numpy numpy && \
208209
pyenv exec pip install --no-cache-dir pandas matplotlib virtualenv==$RTD_VIRTUALENV_VERSION
209210

210211
RUN pyenv local $PYTHON_VERSION_39 && \

0 commit comments

Comments
 (0)