You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
channels = ["conda-forge"] (union of channels from used features) (maybe there is a better solution for this?)
dependencies: ruff = "*", pre-commit = "*"
platforms = ["linux-aarch64", "linux-64"] (union of all platforms from used features) (maybe there is a better solution for this?)
I know originally I was opposed to this idea since you can represent this using an empty default feature set but I came to realize that this use actually happens quite often and restricting myself to an empty default feature set just because of this is annoying 😅
Yes, I think the use case is pretty common and the "no default feature(s)" behavior is pretty intuitive. I don't understand why it's called "no-default-feature_s_" though? As far as I understand it, it only excludes the single implicit "default" feature from the environment, not multiple features, right?
Yes, you're right. no-default-feature would be better :)
pavelzw
changed the title
Add no-default-features = true to environment definition
Add no-default-feature = true to environment definition
Mar 27, 2024
Problem description
This results in the following
lint
environment:channels = ["conda-forge"]
(union of channels from used features) (maybe there is a better solution for this?)dependencies
:ruff = "*", pre-commit = "*"
platforms = ["linux-aarch64", "linux-64"]
(union of all platforms from used features) (maybe there is a better solution for this?)I know originally I was opposed to this idea since you can represent this using an empty default feature set but I came to realize that this use actually happens quite often and restricting myself to an empty default feature set just because of this is annoying 😅
WDYT? cc @0xbe7a
The text was updated successfully, but these errors were encountered: