News for hackers. Stuff that matters.
Re:Python and manually creating the requirements.txt vs. pip... by roberrrrrrt on Wednesday August 17, 2022 @10:00AM (#32496493)
I put direct dependencies in requirements.txt. Then I run `pip freeze > requirements.lock` within a docker container of the team's target deployment environment. I commit both files, and the deployed application is configured to use the requirements.lock.

There are no comments on this comment yet.