-
Notifications
You must be signed in to change notification settings - Fork 183
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
"pixi global install" should support constraints #2050
Comments
Thanks for the issue. This will be fixed as soon as https://pixi.sh/latest/design_proposals/pixi_global_manifest/ is released |
Nice, took a quick look, and shareable global environments coupled with non-imperative-only management sounds very interesting. At work I'm eventually hoping to provide all developers here with a base environment of common devtools, plus associated default configuration for them, which I can centrally manage. I was thinking of using the nix ecosystem for this (and try to paper over some of its complexity for my users), but I wonder if pixi could be a better alternative someday. Looking forward to taking a look once there is something ready to try. (I'll keep an eye on this issue to find out when, unless I should watch some other one.) |
@ctcjab Cool! For non |
Nice, and thank you for all the great work on pixi. With this issue closed, is there another one I can watch to find out when there's something ready for me to test? I looked through https://github.com/prefix-dev/pixi/issues?q=global+manifest but didn't spot one. |
Just saw the new
This successfully worked around the bug, but it also exposed a bunch of executables (from Is there any way to get the conda-lock environment to use python3.11 to satisfy conda-lock's python dependency without exposing the executables that Thanks for any help, and congrats on the new release! [1] namely:
|
@ctcjab You can run the following in order to only expose conda-lock: pixi global install --environment conda-lock --expose conda-lock conda-lock python=3.11 |
Thanks @Hofer-Julian, that worked! Sorry I missed that. I re-read the https://pixi.sh/latest/features/global_tools/#exposed docs and, now that I know this, it's clear enough from "but you want to get a select few". Perhaps an example with multiple packages in the same env would have made it clearer, or maybe just adding the word "only"? In any case, thanks again, and great work on the latest version. |
Repro
pixi global install conda-lock
conda-lock
that gets installedpython=3.11
constraint to thepixi global install
invocation (much like you can pass--python=3.11
to auv tool install
invocation)Thanks for your consideration and for the amazing work on pixi!
The text was updated successfully, but these errors were encountered: