Closed ksquarekumar closed 2 weeks ago
He @ksquarekumar
We're not running uv
s binary but it is baked into pixi
through their rust crates so it is not as simple as pushing flags and options to the cli as we don't have the uv cli available. Unfortunately for us uv
has backed in some of their tips into the errors that we can encounter aswell, so they are not helpful for the users of pixi
in a lot of the cases.
For the prereleases I'll have to get back to you!
Any plan to add this at some point?
If you depend on a pre-release version this already works. e.g.
[project]
name = "pre"
channels = ["conda-forge"]
platforms = ["linux-64"]
[dependencies]
python = ">=3.12.4,<4"
[pypi-dependencies]
django = "==5.1rc1"
What about transitive dependencies? azure-cli (not pre-release) depends on pre-release versions of other packages.
Sure, we could expose https://docs.astral.sh/uv/reference/settings/#prerelease if that would help.
@tdejager I think this is necessary, otherwise any packages that depend on pre-releases and are not on conda-forge can't be installed. Although it's a bad practice for a release version to depend on pre-releases, I guess it can't always be avoided...
Checks
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
pixi info
pixi.toml
Issue description
Environments cannot be resolved when underlying package requirements constraints are marked
pre-release
, in this example I am assuming I simply can't installtensorrt_llm
package in the environment, because a flag that the underlying tooluv
could have accepted to solve the constraints are not possible to pass withpixi install
?Expected behavior
Either have full parity with the interfaces of the underlying implementations / tools (hard to do when both are new and rapidly moving targets), or allow the user to have some flexibility to tackle such situations by themselves because the tooling isn't there yet, i should be able to pass flags over to
uv
to get out of this situation in this case.