3 ms·
> > - pip freeze > all this does it just lists currently installed packages in a form that can be automatically read by pip Are you referring to version speci
by tmh88j 4y ago
> > - pip freeze
> all this does it just lists currently installed packages in a form that can be automatically read by pip
Are you referring to version specifiers[1] being optional or is there something more to versions that I don't understand? PEP 440 is a wall of text, maybe I should get around to reading it sometime.
[1] https://packaging.python.org/en/latest/glossary/#term-Version-Specifier https://packaging.python.org/en/latest/glossary/#term-Versio...
- takeda 4y agoI mean pip freeze outputs packages and their versions in machine readable form that can be read and installed by pip install -r requirements.txt
- tmh88j 4y agoThis whole chain started with someone pointing out the author doesn't seem to realize you can pin versions[1]. I'm just confused how people seemed to end up questioning what pip freeze does. [1] https://news.ycombinator.com/item?id=32141573#32142190 https://news.ycombinator.com/item?id=32141573#32142190
- takeda 4y agoPerhaps I was just proving author's point. I tried to say that from mentioned tools only poetry can be called as a dependency management. The other tools are used for different purposes, but perhaps could be used as a piece of package management in some way. The mentioned docker and vendoring is irrelevant to Python and it even applies to Go.