-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Change doc-build CI install order #23541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
15f76d1
to
e16a730
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename to doc-deps-install
to make clear that these are not dependencies of Matplotlib itself, but only needed for the doc build. - Otherwise it looks awkward to install dependencies after the package itself.
On a side note: Which of our doc dependencies requires matplotlib? I'm not aware of any.
e16a730
to
332abf9
Compare
@oscargus can self-merge on green. |
I have renamed the stage.
I think it is mpl-sphinx-theme. |
From a conversation in gitter yesterday @melissawm identified it as sphinx-gallery (which makes perfect sense for every other user of sphinx gallery!). |
I may not have the latest version, but:
|
Interesting...
|
packaging is hard...... ☠️ |
I should probably note that this is on an Arch machine and many of the python packages are installed through pacman, so that may possibly be another source of inconsistency. |
Mine is Manjaro so should be pretty similar - I think only texlive is installed outside of conda in my case. |
PR Summary
The dependencies install the pip version of matplotlib. By installing it before installing the dependencies, the burden should be marginally less.
Seems to be a saving of a magnificent five seconds or so. But if nothing else, no redundant download and install.
PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).