Skip to content

Commit 654199c

Browse files
committed
r: Don't strictly pin version of rsession-proxy
If memory serves me right, the specific version semantics were here because at some point we were installing different versions of rsession-proxy for different versions of R. We don't do that anymore, so we should just unpin it and let the pip solver install the appropriate version. Hopefully fixes https://discourse.jupyter.org/t/r-conda-example-repo-isnt-working-any-more/21739/3
1 parent d0ad8d3 commit 654199c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

repo2docker/buildpacks/_r_base.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ 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"
1514
shiny_sha256sum = "80f1e48f6c824be7ef9c843bb7911d4981ac7e8a963e0eff823936a8b28476ee"
1615

1716
# RStudio server has different builds based on wether OpenSSL 3 or 1.1 is available in the base
@@ -28,7 +27,6 @@ def rstudio_base_scripts(r_version):
2827
rstudio_openssl1_sha256sum = (
2928
"bb88e37328c304881e60d6205d7dac145525a5c2aaaf9da26f1cb625b7d47e6e"
3029
)
31-
rsession_proxy_version = "2.0.1"
3230

3331
return [
3432
(
@@ -59,10 +57,10 @@ def rstudio_base_scripts(r_version):
5957
(
6058
"${NB_USER}",
6159
# Install jupyter-rsession-proxy
62-
rf"""
60+
r"""
6361
pip install --no-cache \
64-
jupyter-rsession-proxy=={rsession_proxy_version} \
65-
jupyter-shiny-proxy=={shiny_proxy_version}
62+
jupyter-rsession-proxy \
63+
jupyter-shiny-proxy
6664
""",
6765
),
6866
(

0 commit comments

Comments
 (0)