Proposal: Use pip-tools for dependency management #566
aiven-anton
started this conversation in
Ideas
Replies: 2 comments
-
Introducing |
Beta Was this translation helpful? Give feedback.
0 replies
-
Note: we should also change to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Manually pinning exact versions in
requirements.*
files is tedious, usingpip-compile
from pip-tools we can automate the process of updating dependencies. We'll move the current requirements files to.in
equivalents and generate the.txt
files from those.This also allows starting to use package hashes (with
--generate-hashes
).An issue tangential enough to not deserve a separate issue is we should use Github's archive endpoints instead of git URLs for non-release dependencies. This has two advantages:
I think it's also worth discussing the role of
setup.py
. Right now we have duplicated dependency specifications which makes it unclear which is authoritative. This dependency in setup.py doesn't exist on PyPI. Also,karapace
doesn't exist on PyPI (but the name has been reserved).Since karapace is mainly an application, do we really have reason to use setuptools? I'm guessing that the historical reason is to make use of
entry_points
. To me it seems like the installation related problems is worth looking for other ways to set those up than setuptools.Beta Was this translation helpful? Give feedback.
All reactions