-
Notifications
You must be signed in to change notification settings - Fork 187
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 panics when built with Rust 1.81 #2122
Comments
Maybe related: I get a similar or same issue on pixi via homebrew on a mac. Similar stacktrace. One thing I noticed in a particular repository, is that it is references
Removing Seems to also happen with |
This pyproject.yaml appears to reproduce: # pyproject.toml
[project]
name = "pixi-example"
requires-python = ">=3.9"
[tool.pixi.project]
name = "pixi-example"
channels = ["conda-forge", "pytorch"]
platforms = ["linux-64"]
[tool.pixi.tasks]
[tool.pixi.feature.prod.dependencies]
python = "3.9.*"
pytorch = { version = "1.10.*", channel= "pytorch"}
[tool.pixi.environments]
default = {features = ["prod"], solve-group = "default"} on pixi v0.30.0 installed from homebrew. I also installed |
Thanks for the information, I assume this issue is coming from https://github.com/mamba-org/resolvo or https://github.com/conda/rattler. Which we use in pixi. Is there another reason we should update. |
I can reproduce this with the Homebrew binary |
I went and ran tests and the |
I think it might be an issue in the |
I've a PR in rattler that when merged and pixi is updated should fix this: conda/rattler#892 |
@tdejager I have tried a local build of Pixi ( |
Great 👍 we'll try to push a release in a day or so. |
Release is out :) |
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
pixi.toml
/pyproject.toml
: in lenskit/lkpy#483When running Pixi built with Rust 1.81.0, this panics. The official binaries and Rust 1.80.0 both succeed.
error output with RUST_BACKTRACE=1
Issue description
Something in Pixi's code or dependencies (I suspect Rattler or a dependency) appears to be incompatible with some change introduces in Rust 1.81.0. With the same project,
pixi update
reliably panics when built with 1.81.0, and succeeds when built with 1.80.0 (or using the v0.30.0 official binary, which I presume is built with 1.80.0 since that is in therust-toolchain
file).This is an observable issue because Homebrew ignores
rust-toolchain
and builds Pixi with Rust 1.81.0. I see the same panic withbrew
-installed Pixi on both MacOS and Linux.I have raised the concern of ignoring
rust-toolchain
in the Homebrew discussion forums (https://github.com/orgs/Homebrew/discussions/5629), but am also filing a bug here since I expect you all will hit this when you bump your Rust version, and so you are aware of the problem now.Another, much simpler environment I have correctly resolves with the
brew
-installed Pixi.Expected behavior
Environment correctly resolves without panic.
The text was updated successfully, but these errors were encountered: