-
Notifications
You must be signed in to change notification settings - Fork 222
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
system-requirements
ignored when using no-default-feature = true
#1549
Comments
Although, with packages Like cuda this light be Not as clear… lets keep the behavior as is |
I just realized that the problem I mentioned in #346 (comment) occurs due to my environment having |
@ruben-arts I now understand this technically, but shouldn't some tables be "project-global"? In my vase, I set |
UPDATE: as a workaround I did the following: [tool.pixi.feature.sysreq.system-requirements]
linux = "4.15"
[tool.pixi.environments]
default = { features = ["sysreq", "test", "dev"], solve-group = "default" }
test = { features = ["sysreq", "test"], solve-group = "default" }
prod = { features = ["sysreq", "prod"], solve-group = "default" }
lint = { features = ["sysreq", "lint"], no-default-feature = true }
docs = { features = ["sysreq", "docs"], no-default-feature = true } This way I define the system-requirements just once, and it's available for all environments (that was enough for my case) |
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
Issue description
When running
pixi run -e lint ruff --version
, i get the errorExpected behavior
IMO it would be more sensible if
system-requirements
would be included in the default feature similar tochannels
andplatforms
.WDYT?
The text was updated successfully, but these errors were encountered: