Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC: use nightly dependencies [skip actions] [azp skip] [skip travis]#24346

Merged
rgommers merged 6 commits into
numpy:mainfrom
mattip:docs-nightlies
Aug 6, 2023
Merged

DOC: use nightly dependencies [skip actions] [azp skip] [skip travis]#24346
rgommers merged 6 commits into
numpy:mainfrom
mattip:docs-nightlies

Conversation

@mattip
Copy link
Copy Markdown
Member

@mattip mattip commented Aug 6, 2023

Fixes #24334

Use the nightlies index to install documentation dependencies, since building docs requires a newer scipy, matplotlib, pandas. Also update the docker image used to build docs to python3.11, since it should be faster.

@mattip
Copy link
Copy Markdown
Member Author

mattip commented Aug 6, 2023

Whoops, I didn't skip cirrusCI

@mattip
Copy link
Copy Markdown
Member Author

mattip commented Aug 6, 2023

In Python3.10, the error message for converting a complex to an int changed from

TypeError: can't convert complex to int
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'complex'

so running doctests with 3.11 fails

@mattip
Copy link
Copy Markdown
Member Author

mattip commented Aug 6, 2023

Ready for review, the matplotlib plots now appear in the rendered documents

Copy link
Copy Markdown
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, the CI log shows that the latest nightlies are indeed pulled in, and the html docs look fixed. In it goes.

@rgommers rgommers merged commit 3b99af4 into numpy:main Aug 6, 2023
@rgommers rgommers added this to the 2.0.0 release milestone Aug 6, 2023
@mattip mattip deleted the docs-nightlies branch May 5, 2025 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DOC: build on circleCI is using a bad scipy version

2 participants