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
{{ message }}
Repository navigation
pinning-strategy is ignored for unused features #3245
The underlying problem is that the feature you are adding the dependency to is not used by any environment yet, which is why the solver does not even run, hence no version information which results in the wildcard version *. I wrote down a bit more in this comment #4065 (comment)
changed the title [-]`pinning-strategy` is ignored when using dependency groups / feature.[/-][+]`pinning-strategy` is ignored for unused features[/+]on Aug 24, 2025
gh-4065 cleared up the confusion that this happens for unused features. I'll keep this issue open as maybe it would be possible to include a solve step for unused features and apply pinning-strategy via that.
Activity
kilian-hu commentedon Aug 2, 2025
The underlying problem is that the feature you are adding the dependency to is not used by any environment yet, which is why the solver does not even run, hence no version information which results in the wildcard version
*. I wrote down a bit more in this comment #4065 (comment)[-]`pinning-strategy` is ignored when using dependency groups / feature.[/-][+]`pinning-strategy` is ignored for unused features[/+]lucascolley commentedon Aug 24, 2025
gh-4065 cleared up the confusion that this happens for unused features. I'll keep this issue open as maybe it would be possible to include a solve step for unused features and apply pinning-strategy via that.