@@ -8,12 +8,8 @@ version: 2.1
8
8
_defaults : &defaults
9
9
docker :
10
10
# 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
17
13
working_directory : ~/repo
18
14
19
15
@@ -54,15 +50,17 @@ jobs:
54
50
#sudo apt-get install -y python3.9 python3.9-dev python3-venv graphviz texlive-fonts-recommended texlive-latex-recommended \
55
51
sudo apt-get install -y graphviz texlive-fonts-recommended texlive-latex-recommended \
56
52
texlive-latex-extra latexmk texlive-xetex texlive-lang-chinese doxygen
57
- python3.9 -m venv venv
53
+ python3.11 -m venv venv
58
54
. venv/bin/activate
59
55
60
56
- run :
61
57
name : build numpy
62
58
command : |
63
59
. venv/bin/activate
64
60
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
66
64
pip install . --config-settings=setup-args="-Dallow-noblas=true"
67
65
68
66
- run :
0 commit comments