Skip to content

Add --index argument to pixi add --pypi #5522

Closed

Description

@roaldarbol

Problem description

Currently, it's possible to specify an index for a PyPi dependency directly in pixi.toml (as in (https://pixi.prefix.dev/latest/python/pytorch/#pytorch-index), but it's not possible to pass the index through the CLI. It would be great to have an --index argument.

Activity

  1. added
    help wanted
    approved
    on Feb 20, 2026
  2. baszalmstra commented on Feb 20, 2026

    @baszalmstra
    Contributor

    Sounds like something that is missing! PRs welcome!

  3. Illuminati9 commented on Feb 21, 2026

    @Illuminati9

    Hi @baszalmstra , Can I work on this?

  4. suleman1412 commented on Feb 28, 2026

    @suleman1412
    Contributor

    HI @baszalmstra is this issue open to contributors?

    I propose adding a --index flag to DependencyConfig to ensure these URLs are correctly captured and stored in pixi.toml

  5. hunger commented on Apr 10, 2026

    @hunger
    Contributor

    We are just landing the infrastructure to store index-urls along with individual python packages, so we are in a good state to make progress here soon.

    Contributions are of course welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

approvedenhancementhelp wantedpypi

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions