3 ms·
Interesting. So use `pip-compile` instead of `pip freeze > requirements.txt`?
by kbumsik 5y ago
Interesting. So use `pip-compile` instead of `pip freeze > requirements.txt`?
- postpawl 5y agoSort of - you need to make a requirements.in file that specifies only your top level dependencies, then you run pip-compile on that file to generate the requirements.txt.
- kbumsik 5y agoSo another requirements.in file ignoring PEP621? I'm confused... Maybe I will just try first. pip-tools seems to acknowledging PEP621 https://pip-tools.readthedocs.io/en/latest/changelog/?highlight=pyproject#id5 https://pip-tools.readthedocs.io/en/latest/changelog/?highli... https://github.com/jazzband/pip-tools/issues/1047 https://github.com/jazzband/pip-tools/issues/1047
- Groxx 5y agopip-tools predates PEP621 by ~5-8 years, depending on how you count. So yes, it "ignores" it.