@@ -8,12 +8,8 @@ version: 2.1
88_defaults : &defaults
99 docker :
1010 # CircleCI maintains a library of pre-built images
11- # documented at https://circleci.com/docs/2.1/circleci-images/
12- # circleci/python3.8 images come with old versions of Doxygen(1.6.x),
13- # therefore a new base image chose instead to guarantee to
14- # have a newer version >= 1.8.10 to avoid warnings
15- # that related to the default behaviors or non-exist config options
16- - image : cimg/python:3.9
11+ # documented at https://circleci.com/developer/images/image/cimg/python
12+ - image : cimg/python:3.11.4
1713 working_directory : ~/repo
1814
1915
@@ -54,15 +50,17 @@ jobs:
5450 #sudo apt-get install -y python3.9 python3.9-dev python3-venv graphviz texlive-fonts-recommended texlive-latex-recommended \
5551 sudo apt-get install -y graphviz texlive-fonts-recommended texlive-latex-recommended \
5652 texlive-latex-extra latexmk texlive-xetex texlive-lang-chinese doxygen
57- python3.9 -m venv venv
53+ python3.11 -m venv venv
5854 . venv/bin/activate
5955
6056 - run :
6157 name : build numpy
6258 command : |
6359 . venv/bin/activate
6460 pip install --progress-bar=off -r test_requirements.txt
65- pip install --progress-bar=off -r doc_requirements.txt
61+ # get newer, pre-release versions of critical packages
62+ pip install --progress-bar=off --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple -r doc_requirements.txt
63+ # then install numpy HEAD, which will override the version installed above
6664 pip install . --config-settings=setup-args="-Dallow-noblas=true"
6765
6866 - run :
0 commit comments