DOC: Correct nightly wheels pip install command #22752
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Summary
Resolves a problem identified by @ianhi in #22733 (comment) where just installing with
will fail because of dependencies not being present on the package index. This is expected, but isn't very clear if people have never had to deal with this before, and they could still run into issues like what PR #22751 addresses.
This PR adds the
--pre
flag to allow for a dev release to take precedence over a stable release and the--extra-index-url
of normal PyPIhttps://pypi.org/simple
to allow for matplotlib's dependencies to still get installed normally.#22733 (comment) shows the install command working in a Python 3.10 Docker container.
PR Checklist
Tests and Styling
pytest
passes). (N/A)flake8-docstrings
and runflake8 --docstring-convention=all
). (N/A)Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there). (N/A)doc/api/next_api_changes/
(follow instructions in README.rst there). (N/A)