Skip to content

Commit 18ab230

Browse files
committed
Bump rsession-proxy pin instead
We can move to a proper pinning setup later
1 parent 654199c commit 18ab230

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

repo2docker/buildpacks/_r_base.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def rstudio_base_scripts(r_version):
1111

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

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

3133
return [
3234
(
@@ -57,10 +59,10 @@ def rstudio_base_scripts(r_version):
5759
(
5860
"${NB_USER}",
5961
# Install jupyter-rsession-proxy
60-
r"""
62+
rf"""
6163
pip install --no-cache \
62-
jupyter-rsession-proxy \
63-
jupyter-shiny-proxy
64+
jupyter-rsession-proxy=={rsession_proxy_version} \
65+
jupyter-shiny-proxy=={shiny_proxy_version}
6466
""",
6567
),
6668
(

0 commit comments

Comments
 (0)