Skip to content

Commit

Permalink
DOC, MAINT: Bump CircleCI Python version to 3.11 (#19504)
Browse files Browse the repository at this point in the history
* DOC, MAINT: Bump CircleCI Python version to 3.11

* Add pin for myst-nb on CircleCI config to fix doc build issue

[skip azp] [skip cirrus]
  • Loading branch information
melissawm committed Nov 14, 2023
1 parent 287f2c9 commit 20d3047
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ _defaults: &defaults
docker:
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
- image: cimg/python:3.9
- image: cimg/python:3.11
working_directory: ~/repo

commands:
Expand Down Expand Up @@ -74,8 +74,9 @@ jobs:
- run:
name: setup Python venv
command: |
pip install numpy==1.23.5 cython!=3.0.3 pybind11 pythran ninja meson
pip install numpy cython!=3.0.3 pybind11 pythran ninja meson
pip install -r doc_requirements.txt
pip install "myst-nb<1.0.0"
pip install mpmath gmpy2 "asv>=0.6.0" click rich-click doit pydevtool pooch threadpoolctl
# extra benchmark deps
pip install pyfftw cffi pytest
Expand Down Expand Up @@ -115,7 +116,7 @@ jobs:
name: build docs
no_output_timeout: 25m
command: |
export PYTHONPATH=$PWD/build-install/lib/python3.9/site-packages
export PYTHONPATH=$PWD/build-install/lib/python3.11/site-packages
python dev.py --no-build doc -j2
- store_artifacts:
Expand All @@ -142,7 +143,7 @@ jobs:
name: run asv
no_output_timeout: 30m
command: |
export PYTHONPATH=$PWD/build-install/lib/python3.9/site-packages
export PYTHONPATH=$PWD/build-install/lib/python3.11/site-packages
cd benchmarks
asv machine --machine CircleCI
export SCIPY_GLOBAL_BENCH_NUMTRIALS=1
Expand Down Expand Up @@ -170,7 +171,7 @@ jobs:
no_output_timeout: 25m
command: |
sudo apt-get install -y wamerican-small
export PYTHONPATH=$PWD/build-install/lib/python3.9/site-packages
export PYTHONPATH=$PWD/build-install/lib/python3.11/site-packages
python dev.py --no-build refguide-check
# Upload build output to scipy/devdocs repository, using SSH deploy keys.
Expand Down

0 comments on commit 20d3047

Please sign in to comment.