8000 DOC: use nightly dependencies [skip actions] [azp skip] [skip travis]… · numpy/numpy@3b99af4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b99af4

Browse files
authored
DOC: use nightly dependencies [skip actions] [azp skip] [skip travis] (#24346)
[skip actions] [skip cirrus] [skip travis] [skip azp]
1 parent 476a69d commit 3b99af4

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

.circleci/config.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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:

doc/source/dev/development_workflow.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ from running the test suite on different operating systems and hardware
196196
platforms to building the docs. In some cases you already know that CI isn't
197197
needed (or not all of it), for example if you work on CI config files, text in
198198
the README, or other files that aren't involved in regular build, test or docs
199-
sequences. In such cases you may explicitly skip CI by including one of these
200-
fragments in your commit message:
199+
sequences. In such cases you may explicitly skip CI by including one or more of
200+
these fragments in each commit message of a PR:
201201

202202
* ``[skip ci]``: skip all CI
203203

doc/source/user/basics.indexing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ exceptions (assigning complex to floats or ints): ::
785785
>>> x[1] = 1.2
786786
>>> x[1]
787787
1
788-
>>> x[1] = 1.2j
788+
>>> x[1] = 1.2j # doctest: +IGNORE_EXCEPTION_DETAIL
789789
Traceback (most recent call last):
790790
...
791791
TypeError: can't convert complex to int

0 commit comments

Comments
 (0)
0