5 ms·
pyenv? great! then just use pip with requirements.txt... what's wrong with pip freeze? why are there so many competing tools? it's very anti-python IMO.
by tinix 2y ago
pyenv? great! then just use pip with requirements.txt...
what's wrong with pip freeze? why are there so many competing tools?
it's very anti-python IMO.
- deleted 2y ago[deleted]
- tmnvix 2y ago> what's wrong with pip freeze? I prefer my requirements.txt to include only the packages I install with pip myself (and not their dependencies).
- tinix 2y agoso then maintain a curated requirements.txt...
- jampekka 2y agoPython packaging has always been a mess, and will probably always be. The reasons are mostly sociological.
- jcparkyn 2y ago> what's wrong with pip freeze? Aside from all the obvious issues of having no distinction between transitive and direct dependencies, it completely breaks cross-platform support if any of your dependencies have platform-specific sub-dependencies (which is not uncommon in python).
- tinix 2y agopip freeze was an overly simplified hyperbolic jest... fair point, so when this packaging mess happens, can one not strike a balance, and define the dependencies that you need, then, and let the resolver handle the rest?