4 ms·
I’d recommend using pip-tools. It doesn’t require any special tooling to install requirements. However, pip-tools will allow you to specify only your top level
by postpawl 5y ago
I’d recommend using pip-tools. It doesn’t require any special tooling to install requirements. However, pip-tools will allow you to specify only your top level dependencies in separate files, and it will compile those into requirements.txt files with all dependencies (including sub-dependencies) locked.
More details: https://nvie.com/posts/better-package-management/ https://nvie.com/posts/better-package-management/
I’ve heard a lot of recommendations for poetry too.