Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Pretty sure you can use == in requirements.txt

You can, but one of those packages that you depend on will have a loose version spec for one of its dependencies, making your `pip install -r requirements.txt` non-deterministic.

Poetry and Pipenv solve this, though, by pinning all dependencies in a lock file.



Pip freeze will grab all of the versions that are installed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: