-
Notifications
You must be signed in to change notification settings - Fork 12
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
Requirements generated with pip-tools > 5.0.0 not parseable by build scripts #225
Comments
Can you please paste one such diff? For me in Debian Buster with |
@kushaldas here is the difference i am observing https://github.com/freedomofpress/securedrop-proxy/compare/c1b8e30..a5da1db The first commit was generated with the more recent version of pip-tools, the latter with an older version (apologies i forgot to capture the exact versions). |
(On current sprint for tracking purposes to monitor if we still encounter this issue with recent changes to the build process.) |
note that we'll keep running into this issue when we run |
^ see freedomofpress/securedrop-proxy#88 for a workaround for this issue until it is fixed, specifically addressed here: https://github.com/freedomofpress/securedrop-proxy/blob/03615733d44d34e49a3c2eb339fe9802636c609a/Makefile#L58 this allows us to run |
I haven't looked into a direct fix yet, but figured we could check in next week before one of us begins investigating |
@emkll #248 should fix this issue, which will allow me to remove my workaround in freedomofpress/securedrop-proxy#88 and unblock other PRs |
Initially observed in freedomofpress/securedrop-proxy#82
When generating a requirements file using pip-tools > 5, the syntax is slightly different, and cannot be parsed by our build scripts, and returns the following error:
Reverting to the < 5 pip-tools produces a requirement.txt file that is parseable by the script. The following diff illustrate difference in format of the requirements file (this is the diff from >5 to <5 as an example)
We should :
0. Investivate why/when
requirements.txt
is parsed in the context of package building? thedh_virtualenv
override should mean that we don't need to touch requirements.txt (https://github.com/freedomofpress/securedrop-debian-packaging/blob/bafccb44db24435d587ba75446eaf16e36f4070f/securedrop-proxy/debian/rules#L17)The text was updated successfully, but these errors were encountered: