ex-conda user: How pixi resolves situations when a new package requires a downgrade of one of already added packages? #2147
Replies: 2 comments 1 reply
-
Hi @ishipachev Nice to hear that you enjoying pixi! TL;DR: Yes If your project uses the To update a package that was already installed you can use To downgrade you can I hope this answers your questions 😄 |
Beta Was this translation helpful? Give feedback.
-
I would like to get back to this with the specific situation when I need to downgrade python, but it doesn't happening either automatically or even in manual mode. This is my pixi.toml file:
I would like to have open3d installed from pypi, but I have python=3.12 in the current environment. So when I try to install it with command
I see that for open3d from pypi I need to downgrade python to 3.11. And I try to install it with
And I get this:
I've tried to remove python with So the same question: how do I downgrade packages when I need it? It is not happening automatically? Is there something hidden under which locks the whole configuration in the way that I can't even modify it? |
Beta Was this translation helpful? Give feedback.
-
Hi!
I work mostly with Computer Vision package stack. And in many of my applications installing one package with conda required me to downgrade some other packages for compatibility reasons. Usually conda offers such options if it will satisfy the dependency for the requested package.
Does it work like this in pixi? Sadly, I can't bring the case I was experiencing yesterday.
If I want to update a package to a newer version what should I do? Update? Can I try to update add packages in manifesto to the latest compatible combination? How to do that? If package requires me to downgrade a python -> what is the correct way to do? Can it be done in a semi-automatic mode as conda does when it tells you that to satisfy this requirement these packages has to be updated or downgraded? What is the default resolve behavior? For now I saw that pixi is able to find dependencies or say you that it can not satisfy them. And this is it. Maybe I missed some of it functionality?
Also, what is the best way to downgrade packages in manifesto? Remove them and add them again with a new >= and <= limits?
Sorry for a lot of questions! For me it is the only missing link I have in my brain to fully enjoy moving my projects to pixi (which I already did :))
If anyone can point me to the specific part of the doc which covers that it would be great and close this topic for me.
Beta Was this translation helpful? Give feedback.
All reactions