3 ms·
> create lock files That's where pip-tools comes in.
by thunky 2y ago
> create lock files
That's where pip-tools comes in.
- the_mitsuhiko 2y agoAnd you can use uv as a full replacement for that with less bugs, faster performance and just generally a more pleasant experience. pip-compile -> uv pip compile and pip-sync -> uv pip sync. (Though I think the high level interface is the better thing to use)
- thunky 2y agoNo disagreement here, just pointing out that it's also possible to do with existing tools.
- zelphirkalt 2y ago"existing tools" -- What do you mean by that? pip-tools [1] seem to be just another PyPI package. What makes them more available than any of the other tools? The other tools "exist" as well. [1]: https://pypi.org/project/pip-tools/ https://pypi.org/project/pip-tools/
- thunky 2y agoMy point was that there is a way to have lock files and keep using pip (using pip-tools), without full switching to poetry or uv or anything else.
- the_mitsuhiko 2y agoAnd uv's first release was just a drop-in replacement for pip-tools, just faster and less buggy.
- thunky 2y agoI know. Maybe you should read the comment I replied to so you understand the context: https://news.ycombinator.com/item?id=42415924 https://news.ycombinator.com/item?id=42415924 You will notice that it is about the ability to create lock files and nothing else. And btw I've been using pip-tools for years and it's worked great for me.