Skip to content
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 on manifest parsing with environments containing feature "default" #3290

Open
2 tasks done
Hofer-Julian opened this issue Mar 6, 2025 · 0 comments
Open
2 tasks done

Comments

@Hofer-Julian
Copy link
Contributor

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

With the following manifest:

[workspace]
channels = ["conda-forge"]
name = "hello-world"
platforms = ["linux-64", "osx-arm64", "win-64"]

[environments]
test = ["default"]

Running the following command gives

pixi install
thread 'main2' panicked at src/workspace/environment.rs:343:18:
feature usage should have been validated upfront
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at src/main.rs:54:10:
Tokio executor failed, was there a panic?: Any { .. }

Issue description

With our current setup, pixi cannot deal with environments that explicitly include the "default" feature

Expected behavior

No panic, maybe not even an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant