74
Python has too many package managers
(dublog.net)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
... except for the part where the dependency definition doesn't follow the latest approved PEP, and the default constraint with ^ add an upper limit that causes problems.
I moved to PDM.
Eh, by the time I get everyone on board and convert all of our repos, poetry will probably have support for the latest PEP.
Given the glacial pace I've been seeing, I would't be so sure... But understandable if you have many repos and need to reach consensus.
You can reduce some impacts adding explicit >= constraints instead of ^.
The thing is, things are working reasonably well right now, so updating to be in sync with the latest PEP isn't super impactful, whereas switching from requirements.txt -> poetry and pyproject.toml was a big change. So we'll probably switch eventually, but since we have over a dozen repos and several teams across timezones, it isn't a priority.
I'll certainly take a look though.