3 ms·
What is the most common python flow for dependency locking? Is it in any of the PEPs?
by jshen 3y ago
What is the most common python flow for dependency locking? Is it in any of the PEPs?
- woodruffw 3y agoThat would be PEP 508. 508 notably excludes hash-pinning, which is a significant limitation -- hash-pinning is defined by how `pip` implements it.
- jshen 3y agoThanks, is there any kind of tutorial on how you should use this in a python project? Edit: I think this is one of the biggest problems someone coming to python has. Python advocates say some version of, "you can roughly do that" but there isn't a clear explanation of how to do it. Edit 2: I see that the official docs have a Pipenv flow outlined. Is Pipenv the way people do this in python these days?
- woodruffw 3y ago> Thanks, is there any kind of tutorial on how you should use this in a python project? The PyPUG docs contain examples of using all of the PEPs mentioned above. TL;DR: all you need for 99% of use cases is a pyproject.toml.
- jshen 3y agoThose docs say to use Pipenv, or am I looking at the wrong docs? Really not sure why python people can’t articulate a clear flow to follow. It’s all riddles.