Pin pip to 25.2 while setting up control machine env - #6737
Conversation
360e66c to
260c599
Compare
…pip with the error - AttributeError: 'InstallRequirement' object has no attribute 'use_pep517'
06284ca to
54e63d7
Compare
gherceg
left a comment
There was a problem hiding this comment.
Looks good to me, but curious to hear if Daniel has other ideas here.
| cd ${COMMCARE_CLOUD_REPO} | ||
| pip install --upgrade pip-tools | ||
|
|
||
| pip install --quiet --upgrade pip-tools |
There was a problem hiding this comment.
Not necessary. Since it runs in non-interactive mode, I added --quiet parameter.
millerdev
left a comment
There was a problem hiding this comment.
Seems like a reasonable workaround until the issue is fixed. @AmitPhulera are you planning to actively monitor for a fix, or just let this be until the next time someone is working on pip or pip-tools or something related?
|
Looks like this is no longer required - jazzband/pip-tools#2253 is merged but a new version is not launched yet on pypi. |
|
This is no longer required |
We do not pin pip and pip-tools in our CI and control env setup. Recently all the newer PRs started failing the CI checks on Install dependency step with the following error -
The error is coming because of
pip-tools 7.5.1not compatible withpip 25.3- jazzband/pip-tools#2252We are pinning pip to 25.2 until this is fixed.