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

In Which We Fix Our Version Of Tornado To Match Jupyter #35

Merged
merged 1 commit into from
Apr 1, 2019

Conversation

waltaskew
Copy link
Contributor

@waltaskew waltaskew commented Mar 28, 2019

pip installing civis-jupyter-notebook currently results in an incompatible version pair between tornado and jupyter. Our version of jupyter requires tornado<6. Versions of jupyter after 5.7.5 have a fix for this: jupyter/notebook#4449

The resulting jupyter from pip installing this package will hang indefinitely attempting to connect to the kernel. This currently works in platform because the datasciene-python image specifies an older tornado version. However, the hanging kernel behaviour appears when trying to use other docker images.

@salilgupta1

@@ -2,6 +2,9 @@ civis~=1.6
requests~=2.18
click~=6.7
notebook~=5.1,!=5.7.*
# for versions of jupyter before 5.7.5 we need to specify tornado<6
# as these older versions of jupyter will break with tornado 6
tornado<6
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should upgrade the notebook package to something like notebook>=5.7.5,<6.0.0

I can't remember why we do not want any 5.7 versions ...

If we can successfully upgrade the notebook version to 5.7.x then I think we can also fix the issue with upgrading python3 docker image to use datascience-python 5.x

Copy link
Contributor

Choose a reason for hiding this comment

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

#33

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't really have bandwidth to investigate the impact of changing our jupyter version. I was just trying to fix what we have currently.

@salilgupta1
Copy link
Contributor

yea this is super annoying. Alright, I'm fine with this temporary fix and when jupyter release 5.8 we can upgrade to that and remove the tornado restriction.

Copy link
Contributor

@salilgupta1 salilgupta1 left a comment

Choose a reason for hiding this comment

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

@waltaskew waltaskew merged commit 4436d1e into master Apr 1, 2019
@waltaskew waltaskew deleted the fix-tornado-version branch April 1, 2019 14:50
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.

3 participants