Skip to content

Commit

Permalink
Bump rsession-proxy pin instead
Browse files Browse the repository at this point in the history
We can move to a proper pinning setup later
  • Loading branch information
yuvipanda committed Oct 12, 2023
1 parent 654199c commit 18ab230
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions repo2docker/buildpacks/_r_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def rstudio_base_scripts(r_version):

# Shiny server (not the package!) seems to be the same version for all R versions
shiny_server_url = "https://download3.rstudio.org/ubuntu-14.04/x86_64/shiny-server-1.5.17.973-amd64.deb"
shiny_proxy_version = "1.1"
shiny_sha256sum = "80f1e48f6c824be7ef9c843bb7911d4981ac7e8a963e0eff823936a8b28476ee"

# RStudio server has different builds based on wether OpenSSL 3 or 1.1 is available in the base
Expand All @@ -27,6 +28,7 @@ def rstudio_base_scripts(r_version):
rstudio_openssl1_sha256sum = (
"bb88e37328c304881e60d6205d7dac145525a5c2aaaf9da26f1cb625b7d47e6e"
)
rsession_proxy_version = "2.2.0"

return [
(
Expand Down Expand Up @@ -57,10 +59,10 @@ def rstudio_base_scripts(r_version):
(
"${NB_USER}",
# Install jupyter-rsession-proxy
r"""
rf"""
pip install --no-cache \
jupyter-rsession-proxy \
jupyter-shiny-proxy
jupyter-rsession-proxy=={rsession_proxy_version} \
jupyter-shiny-proxy=={shiny_proxy_version}
""",
),
(
Expand Down

0 comments on commit 18ab230

Please sign in to comment.