saasforge / open-source-saas-boilerpate

Free SaaS boilerplate (Python/PostgreSQL/ReactJS/Webpack)
https://www.saasforge.dev
MIT License
804 stars 115 forks source link

requirements.txt should not be frozen, instead add a frozen requirements.txt #8

Open ronreiter opened 4 years ago

ronreiter commented 4 years ago

https://www.kennethreitz.org/essays/a-better-pip-workflow

This is important because sometimes requirements break due to cascading dependency requirements failure.

saasforge commented 4 years ago

This is an interesting approach. Can you provide its implementation and a guide on how to use it?

ronreiter commented 4 years ago

Just need to keep requirements.txt as the raw requirements and requirements-frozen.txt as the frozen ones.

https://medium.com/@tomagee/pip-freeze-requirements-txt-considered-harmful-f0bce66cf895

ronreiter commented 4 years ago

BTW, Pipfile.lock is kind of a similar mechanism: https://pipenv-fork.readthedocs.io/en/latest/basics.html