-
Notifications
You must be signed in to change notification settings - Fork 443
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
Fix CI #2069
Fix CI #2069
Conversation
@@ -48,11 +48,16 @@ install_integrations() { | |||
zenml integration export-requirements \ | |||
--output-file integration-requirements.txt \ | |||
$ignore_integrations_args | |||
|
|||
# pin pyyaml>=6.0.1 | |||
echo "" >> integration-requirements.txt |
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.
Why is this necessary at all, shouldn't this get installed with the langchain integration installation anyway?
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.
It already failed during the pip install before the langchain integration is even installed
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.
(Since some other integrations use pyyaml too)
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.
It seemed to me that if you don't explicitly pin PyYAML globally, pip tries to download older versions of it if only to figure out if it can be used. I don't really understand why though.
Describe changes
Following #1696, I added even more PyYAML pins to prevent PyYAML 5 from getting installed at all.
Pre-requisites
Please ensure you have done the following:
develop
and the open PR is targetingdevelop
. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.Types of changes