Re:PDM: A Modern Python Package Manager
by jreese on Thursday December 09, 2021 @11:12PM
(#29506303)
Ah, you're right. I thought Poetry had adopted PEP 621 already, but it looks like there's still a debate about if/how they want to do that. A bit ironic considering the author of Poetry was listed as an author on PEP 621, and that was accepted just over a year ago.
Re:PDM: A Modern Python Package Manager
by kbumsik on Thursday December 09, 2021 @11:28PM
(#29506400)
It went final this March though. So Poetry might needs more time to think about the transitioning plan.
Python packaging is again in a chaos since 2021 because of the rise of standardized PEPs.
I know you didn't mean it that way, but "since 2021"..? :D
I was working actively with Python (and loving it) between 2012-2015 (during which the 2 vs 3 transition/conflicts were raging) and the couple of times I've tried to get back into the groove since then (in side projects) I keep hitting walls and getting confused about how to even get the basic things running.
I've heard good things about Poetry but never tried it. PDM being closer to npm/yarn sounds like an attractive option (since they're very familar), just to tinker around (not to build a complex application with specific requirements). Will give it a shot!
I tried to use project.dependencies and project.optional-dependencies fields in pyproject.toml defined by PEP621. However Poetry seems to ignore it and it tries to stick with its own tools.poetry section.