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
make update-admin-pip-requirements
target fails
#4667
Comments
was this solved? I just tried to repro locally and wasn't able to but from the traceback here it looks like it might be related to the versions of pip and pip-tools being used, were there any other steps to reproduce? |
It looks like this is due to a refactor on pip's side: pypa/pip@cad71a7 |
indeed pip-tools also has some refactoring to do in response: jazzband/pip-tools#853 does this diff resolve for you? I also hit this locally on your v3 onion branch and it resolved for me diff --git a/admin/Dockerfile b/admin/Dockerfile
index 934a77cf1..58c3213cc 100644
--- a/admin/Dockerfile
+++ b/admin/Dockerfile
@@ -17,4 +17,7 @@ ENV VIRTUAL_ENV /opt/.venv
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
COPY requirements-dev.txt .
RUN pip install --require-hashes -r requirements-dev.txt
+# Now also pin pip due to https://github.com/jazzband/pip-tools/issues/853
+RUN pip install pip==19.1
+
RUN chown -R $USER_NAME /opt |
Description
Trying to update the requirements*.txt files for the onion v3 branch.
Steps to Reproduce
Expected Behavior
The command should not error out and update the dependencies as required.
Actual Behavior
The text was updated successfully, but these errors were encountered: