Skip to content
Discussion options

You must be logged in to vote

poetry add and poetry remove are quite similar at the moment. Both are similar to editing pyproject.toml and running poetry 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 remove more performant. However, I'm not sure it's worth it because in my experience most people don't care much about performance of poetry 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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sndrtj
Comment options

Answer selected by sndrtj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants