Skip to content

Conversation

@matthewfeickert
Copy link
Member

Resolves #9

Use of --index-url for the nightly package index and --extra-index-url for public PyPI makes the behavior of installation precedence more explicit.

c.f. matplotlib/matplotlib#22752 for discussion of relevance.

Also provide a very short summary of how --index-url takes priority over --extra-index-url to ensure that if a target package exists on the nightly package index it will be used over a version that exists on public PyPI.

(I'm tagging everyone who is already listed as a contributor to this repo so far for review)

* Use of --index-url for the nightly package index and --extra-index-url
  for public PyPI (https://pypi.org/) makes the behavior of installation
  precedence more explicit.
* Provide a very short summary of how --index-url takes priority over
  --extra-index-url to ensure that if a target package exists on the
  nightly package index it will be used over a version that exists on
  public PyPI (https://pypi.org/).
@matthewfeickert matthewfeickert added the documentation Improvements or additions to documentation label May 30, 2023
@matthewfeickert matthewfeickert self-assigned this May 30, 2023
Copy link
Member

@martinfleis martinfleis left a comment

Choose a reason for hiding this comment

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

Thanks!

@martinfleis martinfleis merged commit dbd5a4d into scientific-python:main May 30, 2023
@matthewfeickert matthewfeickert deleted the docs/use-index-url-for-nighlty branch May 30, 2023 13:54
@jarrodmillman jarrodmillman added this to the 0.2.0 milestone Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider advocating for setting PyPI as --extra-index-url

4 participants