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
Finally, this one might be a bit controversial, but I was wondering if it's worth opening an Enhancement issue to suggest moving from minimum to compatible as the default save strategy. This could be considered a breaking change, but IMO, it's the correct behavior, to default to compatible package versions instead of just specifying a minimum and letting packages upgrade to breaking semvar versions. I feel like that behavior is surprising, to say the least (I was surprised by it). I don't want to hash out this discussion here, since I want to focus on the docs bug here. Mostly just wondering if it's worth opening the Enhancement or let me idea just die here if there's no interest
The text was updated successfully, but these errors were encountered:
but IMO, it's the correct behavior, to default to compatible package versions instead of just specifying a minimum and letting packages upgrade to breaking semvar versions.
Not really, you may be from the application perspective, but for a library, version specifiers with upper boundmay be harmful, and this effect is harder to fix than a minimum strategy used on an application, so we decide to make it the default.
This is more of a docs bug than anything at the moment. When trying to understand the "save" strategy, I found on the configuration page
2 issues with this
compatible
listed, but it looks like it was added over 2 years ago Change the compatible strategy to use ~= operator #230wildcard
listed (also on the CLI page), but I don't seewildcard
as any option https://github.com/pdm-project/pdm/blob/main/src/pdm/cli/utils.py#L468, so I'm confused as the behavior ofwildcard
.Finally, this one might be a bit controversial, but I was wondering if it's worth opening an
Enhancement
issue to suggest moving fromminimum
tocompatible
as the default save strategy. This could be considered a breaking change, but IMO, it's the correct behavior, to default to compatible package versions instead of just specifying a minimum and letting packages upgrade to breaking semvar versions. I feel like that behavior is surprising, to say the least (I was surprised by it). I don't want to hash out this discussion here, since I want to focus on the docs bug here. Mostly just wondering if it's worth opening theEnhancement
or let me idea just die here if there's no interestThe text was updated successfully, but these errors were encountered: