-
|
I've found that I suppose there can be cases where a package removal loosens constraints on other dependencies. However, I don't expect So why does poetry remove recalculate all dependencies? There's probably a good reason, but at current it's beyond me. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I've never thought about it but it's probably possible to implement |
Beta Was this translation helpful? Give feedback.
poetry addandpoetry removeare quite similar at the moment. Both are similar to editing pyproject.toml and runningpoetry lock --no-update. That's quite simple to implement and maintain.I've never thought about it but it's probably possible to implement
poetry removemore performant. However, I'm not sure it's worth it because in my experience most people don't care much about performance ofpoetry remove. Further, there are probably some pitfalls on the way (e.g. extras). That is not to say, I'm totally opposed, but it's a trade-off between performance and maintainability that has to be considered carefully.