-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace update_python_dependencies
with Makefile
#1807
Comments
I'm not really convinced all the bullet points in your comment enumerate benefits only or best achievable by switching to a
Not something we want.
That reminds me that the version of |
Independently, while I was doing research for #1800. |
We discussed this in today's stand-up and agreed that this is not important enough to prioritize for 0.4. Adding to a later milestone. |
See branch |
A suggestion: we should replace
update_python_dependencies
with a Makefile based on the one from this blog post: A successful pip-tools workflow for managing Python package requirements.The developer environment and workflow described in the blog post is so similar to our own that I think we could just drop the Makefile in with minimal changes. The only requirement is that we would have to add
pip-tools
as a dependency of the developer environment, but since we already require developers to install a set of Python dependencies as part of setting up their development environment, I think this is a totally sensible and straightforward additional requirement. The only other prerequisite ismake
, and since we use Makefiles elsewhere in the SecureDrop development environment, it is already a prerequisite.Benefits of switching to a Makefile include:
pip-compile
when changes have been made to the corresponding.in
file (this is a core feature ofmake
)update_python_dependencies
is concerned with creating a virtualenv to installpip-tools
in, but all of this code is unnecessary if we simply makepip-tools
a requirement of the development environment.The text was updated successfully, but these errors were encountered: