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

Fixing grpcio-tools to version of colab's pre-installed grpcio #1113

Merged
merged 1 commit into from
May 31, 2021

Conversation

julian-risch
Copy link
Member

Limitations:

  • Google colab notebooks failed with this error message:
    ContextualVersionConflict: (grpcio 1.34.1 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('grpcio>=1.37.1'), {'grpcio-tools'})

  • Further, some of the haystack tutorials fixed the version of urllib3, which caused the error message:
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/urllib3-1.24.3.dist-info/METADATA'

Proposed changes:

  • Explicitly install grpcio-tools with the same version as the pre-installed grpcio via !pip install grpcio-tools==1.34.1
  • Remove explicit installation of urllib3==1.25.4

Limitations:
There are still some error messages left but they do not affect execution. Most of them will vanish with the next FARM release by allowing torch version 1.8.

closes #1067

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@julian-risch julian-risch requested a review from tholor May 31, 2021 16:10
Copy link
Member

@tholor tholor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@julian-risch julian-risch merged commit 40ceaf4 into master May 31, 2021
@julian-risch julian-risch deleted the version-conflicts-colab branch May 31, 2021 17:09
@cvgoudar
Copy link
Contributor

cvgoudar commented May 31, 2021

@julian-risch
Merge of this branch is causing failure to ipynb notebooks. Not opening in colab. Possible issue with the code after merge is not json compatible. Last element in the list is having comma.

image

@cvgoudar
Copy link
Contributor

cvgoudar commented May 31, 2021

It is possibly not working with all colab notebooks in tutorials.

image

@julian-risch
Copy link
Member Author

@cvgoudar thanks for bringing this up.

@julian-risch
Copy link
Member Author

I removed the commas in this PR #1114 . All notebooks load correctly in colab now.

@julian-risch julian-risch mentioned this pull request Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version conflicts in Colab Tutorials
3 participants