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

Bump version of RStudio available in repo2docker #1099

Closed
wants to merge 5 commits into from

Conversation

yuvipanda
Copy link
Collaborator

@yuvipanda yuvipanda commented Nov 29, 2021

  • Bump to the latest version of RStudion and jupyter-rsession-proxy. Previous
    versions of jupyter-rsession-proxy were not compatible with newer versions of
    RStudio
  • Just install jupyter-rsession-proxy from PyPI, it brings in the
    appropriate verison of jupyter-server-proxy
  • Explicit server extension or client extension enable is not necessary

- 1.3 isn't the latest, but it has a good set of improvements
  over 1.2. It's already still pretty old, but it's the latest
  version that can run inside binder / jupyterhub for not - until
  jupyterhub/jupyter-rsession-proxy#93 (comment)
  is dealt with.
- Just install jupyter-rsession-proxy from PyPI, it brings in the
  appropriate verison of jupyter-server-proxy
- Explicit server extension or client extension enable is not necessary
@manics
Copy link
Member

manics commented Nov 29, 2021

A couple of related issues:

Does this PR have any bearing on those issues, either fixing them or adding another test case?

@yuvipanda
Copy link
Collaborator Author

@manics doesn't affect either. #1041 will require an even newer version of rstudio, which jupyter-rsession-proxy (which would be fixed by jupyterhub/jupyter-rsession-proxy#107). #1077 is unrelated but I think I know what's up with that.

jupyter nbextension install --py jupyter_server_proxy --sys-prefix && \
jupyter nbextension enable --py jupyter_server_proxy --sys-prefix
pip install --no-cache-dir jupyter-rsession-proxy==1.4 && \
pip install --no-cache-dir https://github.com/ryanlovett/jupyter-shiny-proxy/archive/47557dc47e2aeeab490eb5f3eeae414cdde4a6a9.zip
Copy link
Member

Choose a reason for hiding this comment

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

Is this ready to merge, or do you want to wait for a release?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think this is ready to merge now - I just haven't touched the shiny-proxy setup for now.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmm actually - maybe let's wait a few days, and see if we can get up to a much more modern rstudio.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@manics ok I've upgraded this now to use latest rstudio and jupyter-rsession-proxy.

jupyter-rsession-proxy 2.x now supports latest RStudio,
so we can upgrade them both!
@yuvipanda
Copy link
Collaborator Author

Looks like RStudio version needs to depend on the version of R we have in the image...

@yuvipanda
Copy link
Collaborator Author

Looks like latest RStudio doesn't support R < 4.1 :( I'm opening #1102 instead first, supporting 4.1. We'll have to install different versions of RStudio for different versions of R

@yuvipanda
Copy link
Collaborator Author

Closing in favor of #1104

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.

None yet

2 participants