-
Notifications
You must be signed in to change notification settings - Fork 400
feat(add): support per-dependency PyPI index via --index #5151
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
base: main
Are you sure you want to change the base?
Conversation
|
Hey @aryanyk! Thanks for the PR can you fill out the template correctly? :) |
|
Hi @tdejager Thanks for the reminder! Description This PR implements support for specifying a custom PyPI index when adding a PyPI dependency via the pixi add command, as requested in #4587. What’s changed
How Has This Been Tested?
Checklist:
|
|
Thanks for the review! Just to clarify: this PR (#5151) is the cleaned-up, non-draft implementation intended for merge. I’ve updated the PR description to fully match the template. |
Context
This PR implements support for specifying a custom PyPI index when adding a PyPI dependency via the
pixi addcommand, as requested in #4587.Currently, users must manually edit the manifest to configure a non-default PyPI index. This change brings Pixi in line with tools like
uv addby allowing the index to be specified directly at add-time.What’s changed
--index <URL>parameter topixi add --pypiPixiPypiSpecfor the added dependencyExample