News for hackers. Stuff that matters.
Re:Hypermodern Python by BiteCode_dev on Thursday May 28, 2020 @09:31AM (#23336996)
Honestly, pip freeze includes the whole content of a venv site-packages, and the exact versions. For most projects, that's equivalent to all the dependancies recursively pins with peotry, although you don't have the clean pyproject-dev-prod/lock file separation.

So a huge number of cases can be handled with just that. It will be "reproducible" enought for a lot of people.

Re:Hypermodern Python by squaresmile on Thursday May 28, 2020 @09:40AM (#23337079)
> although you don't have the clean pyproject-dev-prod/lock file separation

That's why I use "poetry export -f requirements.txt > requirements.txt" instead of pip freeze. It only exports prod requirements from the poettry lock file.

Re:Hypermodern Python by BiteCode_dev on Thursday May 28, 2020 @09:45AM (#23337135)
Nice trick, and very useful to make sure people never have to know about poetry if your team can't deal with it.