Skip to content

Commit

Permalink
DOC: use nightly dependencies [skip actions] [azp skip] [skip travis] (
Browse files Browse the repository at this point in the history
…numpy#24346)

[skip actions] [skip cirrus] [skip travis] [skip azp]
  • Loading branch information
mattip authored Aug 6, 2023
1 parent 476a69d commit 3b99af4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
14 changes: 6 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ version: 2.1
_defaults: &defaults
docker:
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.1/circleci-images/
# circleci/python3.8 images come with old versions of Doxygen(1.6.x),
# therefore a new base image chose instead to guarantee to
# have a newer version >= 1.8.10 to avoid warnings
# that related to the default behaviors or non-exist config options
- image: cimg/python:3.9
# documented at https://circleci.com/developer/images/image/cimg/python
- image: cimg/python:3.11.4
working_directory: ~/repo


Expand Down Expand Up @@ -54,15 +50,17 @@ jobs:
#sudo apt-get install -y python3.9 python3.9-dev python3-venv graphviz texlive-fonts-recommended texlive-latex-recommended \
sudo apt-get install -y graphviz texlive-fonts-recommended texlive-latex-recommended \
texlive-latex-extra latexmk texlive-xetex texlive-lang-chinese doxygen
python3.9 -m venv venv
python3.11 -m venv venv
. venv/bin/activate
- run:
name: build numpy
command: |
. venv/bin/activate
pip install --progress-bar=off -r test_requirements.txt
pip install --progress-bar=off -r doc_requirements.txt
# get newer, pre-release versions of critical packages
pip install --progress-bar=off --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple -r doc_requirements.txt
# then install numpy HEAD, which will override the version installed above
pip install . --config-settings=setup-args="-Dallow-noblas=true"
- run:
Expand Down
4 changes: 2 additions & 2 deletions doc/source/dev/development_workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ from running the test suite on different operating systems and hardware
platforms to building the docs. In some cases you already know that CI isn't
needed (or not all of it), for example if you work on CI config files, text in
the README, or other files that aren't involved in regular build, test or docs
sequences. In such cases you may explicitly skip CI by including one of these
fragments in your commit message:
sequences. In such cases you may explicitly skip CI by including one or more of
these fragments in each commit message of a PR:

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

Expand Down
2 changes: 1 addition & 1 deletion doc/source/user/basics.indexing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ exceptions (assigning complex to floats or ints): ::
>>> x[1] = 1.2
>>> x[1]
1
>>> x[1] = 1.2j
>>> x[1] = 1.2j # doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
TypeError: can't convert complex to int
Expand Down

0 comments on commit 3b99af4

Please sign in to comment.