Re:Learning Go as a Python Developer: The Good and the Bad
by takeda on Monday July 18, 2022 @07:24PM
(#32145452)
I mean pip freeze outputs packages and their versions in machine readable form that can be read and installed by pip install -r requirements.txt
Re:Learning Go as a Python Developer: The Good and the Bad
by tmh88j on Monday July 18, 2022 @07:35PM
(#32145552)
This 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.
Re:Learning Go as a Python Developer: The Good and the Bad
by takeda on Monday July 18, 2022 @07:59PM
(#32145741)
Perhaps 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.
> 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-Versio...