Skip to content
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

Merged
merged 4 commits into from
Nov 22, 2023
Merged

Fix CI #2069

merged 4 commits into from
Nov 22, 2023

Conversation

fa9r
Copy link
Contributor

@fa9r fa9r commented Nov 22, 2023

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:

  • I have read the CONTRIBUTING.md document.
  • If my change requires a change to docs, I have updated the documentation accordingly.
  • If I have added an integration, I have updated the integrations table and the corresponding website section.
  • I have added tests to cover my changes.
  • I have based my new branch on develop and the open PR is targeting develop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Other (add details above)

@github-actions github-actions bot added the internal To filter out internal PRs and issues label Nov 22, 2023
@@ -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
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor Author

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)

Copy link
Contributor

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.

@fa9r fa9r requested a review from schustmi November 22, 2023 08:03
@fa9r fa9r merged commit 45687dd into develop Nov 22, 2023
30 checks passed
@fa9r fa9r deleted the misc/fix-CI branch November 22, 2023 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal To filter out internal PRs and issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants