Open tombola opened 2 years ago
If the intent was just to ensure that all package versions are pinned if they are used, maybe we could use piptools to compile the base requirements.txt from a requirements.in? That way the genuine requirements would remain visible.
I really like that idea. @tomkins ?
Personally I was waiting for Poetry. I think we dodged a bullet by avoiding Pipenv though!
If pip-tools does the job and everyone is happy with it - go for it.
What would we need for poetry still? Is there something blocking that, or do we just need some investigation / setup time?
There are a lot of pinned dependencies in the created django project, most of which I cannot identify in use.
This seems a bit of a heavy handed pre-optimisation as the requirements file then does not communicate (to a developer) what genuine dependencies the project has.
As an example, the wagtail section of base.txt:
I acknowledge I may have missed the point here, so posting issue to be corrected as much as to improve the template.
If the intent was just to ensure that all package versions are pinned if they are used, maybe we could use piptools to compile the base
requirements.txt
from arequirements.in
? That way the genuine requirements would remain visible.