-
Notifications
You must be signed in to change notification settings - Fork 906
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
Update makefile to pin pip version to fix nightly CI #3182
Conversation
@noklam Might also need to pin the pip version for rtd build! |
Signed-off-by: Nok <[email protected]>
Signed-off-by: Nok <[email protected]>
Signed-off-by: Nok <[email protected]>
Signed-off-by: Nok <[email protected]>
https://docs.readthedocs.io/en/stable/config-file/v2.html
I am trying to move everything to |
Signed-off-by: Nok <[email protected]>
Appear to be working, I have added some comments there. This is quite hacky and we should remove it when pip release a better version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @noklam for the super quick fix! 💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Do you have a small reproducible example of where newer versions of Pip fail? I want to check if it's really the same issue as the one you link, and have an additional test case for when there is a fix. |
FYI, after some investigating I do not beleive the issue you linked to (pypa/pip#12317) triggers this issue, I have created a new issue on Pip for this error: pypa/pip#12376 |
* Update makefile to pin pip version to fix nightly CI * Add more comments Signed-off-by: Nok <[email protected]> * Update pip for RTD Signed-off-by: Nok <[email protected]> * update RTD build Signed-off-by: Nok <[email protected]> * hijack the pre_install steps Signed-off-by: Nok <[email protected]> * Fix linting Signed-off-by: Nok <[email protected]> --------- Signed-off-by: Nok <[email protected]> Signed-off-by: Adam Kells <[email protected]>
Description
pypa/pip#12317
pip 23.2 breaks Python <3.8 and we have pin it in
environment.py
, now pip 23.3 breaks the dependency resolution.See full log here: https://github.com/kedro-org/kedro/actions/runs/6527279214/job/17743502460
The conflict does not exist and this is because pip switch the backend for dependency resolver.
Development notes
Cause: pip 23.2 or 23.3 used a new backend for dependency resolver and it’s buggy.
Changes:
Pin pip <23.2 for all Python versions (used to be specific one due to pip-tools)
Change .readthedoc.yml - this one is rather hacky but because RTD has a very rigid build steps that cannot be overrided.
Developer Certificate of Origin
We need all contributions to comply with the Developer Certificate of Origin (DCO). All commits must be signed off by including a
Signed-off-by
line in the commit message. See our wiki for guidance.If your PR is blocked due to unsigned commits, then you must follow the instructions under "Rebase the branch" on the GitHub Checks page for your PR. This will retroactively add the sign-off to all unsigned commits and allow the DCO check to pass.
Checklist
RELEASE.md
file