prefix-dev / pixi

Package management made easy
https://pixi.sh
BSD 3-Clause "New" or "Revised" License
3.26k stars 178 forks source link

Allow pypi dependencies in global envs #2261

Open hadim opened 3 weeks ago

hadim commented 3 weeks ago

Problem description

The global feature is really great and complements perfectly the project-based approach IMO. I know it's not fully released yet, but I wanted to check whether you are planning to support pypi dependencies in global envs?

One of the use cases is, for example, using a global tool either from its released version but also from its dev version at the same time. Something like:

[envs.smithy]
channels = ["conda-forge"]
dependencies = { conda-smithy = "*" }
exposed = { conda-smithy = "conda-smithy" }

[envs.smithy-dev]
channels = ["conda-forge"]
pypi-dependencies = { conda-smithy = "https://github.com/conda-forge/conda-smithy/archive/refs/heads/main.zip" }
exposed = { conda-smithy-dev = "conda-smithy" }
ruben-arts commented 3 weeks ago

Hi @hadim,

We expected this to be one of the first feature requests. The short answer is "Not now". While we see the value, we're working on some much heavier features around pixi build. This limits us on time on pixi global, pypi features are the biggest producer of issues on pixi so we plan to keep global lean for now.

ruben-arts commented 3 weeks ago

If you want this, like(👍) the Issue itself.