(no title)
scandinavian | 2 years ago
> A requirements.txt file is for "freezing" and fully reproducing an environment (ie. in a virtualenv or docker container).
No, it's just for specifying which versions of packages should be installed by pip. There's no such concept of a lock file with pip. Poetry and the likes have lock files though.
duped|2 years ago
There's the --require-hashes flag and the ability to specify the hashes in your requirements.txt