News for hackers. Stuff that matters.
Re:Making pip installs a little less slow by edpenz on Sunday May 29, 2022 @01:47AM (#31546749)
pip-compile [0] is the best tool I've found for streamlining dependency resolution, but it may not provide any benefit for one-shot installs.

[0] https://github.com/jazzband/pip-tools

Re:Making pip installs a little less slow by BiteCode_dev on Sunday May 29, 2022 @04:48AM (#31547563)
For those who are wondering what is the benefit over pip freeze: pip freeze dumps you entire venv, while pip compile gets project dependancies, and infer the requirements file from that.
Re:Making pip installs a little less slow by n8henrie on Sunday May 29, 2022 @01:30PM (#31550934)
I'm not sure I get it -- if you had your core dependencies in setup.py / setup.cfg / pyproject.toml (for development) and then pip freeze (for creating a highly reproduced venv for applications), would that be similar?

Why would one want to infer the requirements file? Would that be like `pip list --not-required --format-freeze`?