Skip to content

Commit 5fa76ca

Browse files
tylfinfh-mthomson
andcommitted
Reapply "Bump PPM to 2024.04.2" (#795)
* Reapply "Bump PPM to 2024.04.2" This reverts commit 3ada4d2. * Bump to patch 26 * Bump to patch 27 * Bump to patch 29 * Update Justfile Co-authored-by: Michael Thomson <[email protected]> --------- Co-authored-by: Michael Thomson <[email protected]>
1 parent aff77ed commit 5fa76ca

File tree

6 files changed

+21
-18
lines changed

6 files changed

+21
-18
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sed_vars := if os() == "macos" { "-i ''" } else { "-i" }
88
BUILDX_PATH := ""
99

1010
RSC_VERSION := "2024.05.0"
11-
RSPM_VERSION := "2024.04.0-20"
11+
RSPM_VERSION := "2024.04.2-29"
1212
RSW_VERSION := "2024.04.1+748.pro2"
1313

1414
DRIVERS_VERSION := "2023.05.0"

docker-bake.hcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ variable CONNECT_VERSION {
44
}
55

66
variable PACKAGE_MANAGER_VERSION {
7-
default = "2024.04.0-20"
7+
default = "2024.04.2-29"
88
}
99

1010
variable WORKBENCH_VERSION {
@@ -110,7 +110,7 @@ variable PRO_BUILD_MATRIX {
110110
variable PACKAGE_MANAGER_BUILD_MATRIX {
111111
default = {
112112
builds = [
113-
{os = "ubuntu2204", r_primary = "4.2.3", r_alternate = "4.1.3", py_primary = "3.12.1", py_alternate = "3.11.7"},
113+
{os = "ubuntu2204", r_primary = "4.4.0", r_alternate = "4.3.3", py_primary = "3.12.1", py_alternate = "3.11.7"},
114114
]
115115
}
116116
}

package-manager/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
RSPM_VERSION=2024.04.0-20
2-
R_VERSION=4.2.3
1+
RSPM_VERSION=2024.04.2-29
2+
R_VERSION=4.4.0
33
R_VERSION_ALT=4.1.3
44
PYTHON_VERSION=3.9.17
55
PYTHON_VERSION_ALT=3.8.17

package-manager/Dockerfile.ubuntu2204

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN /opt/python/${PYTHON_VERSION}/bin/python3 -m pip install --no-cache-dir buil
1313
RUN /opt/python/${PYTHON_VERSION_ALT}/bin/python3 -m pip install --no-cache-dir build virtualenv
1414

1515
# Download RStudio Package Manager ---------------------------------------------#
16-
ARG RSPM_VERSION=2024.04.0-20
16+
ARG RSPM_VERSION=2024.04.2-29
1717
ARG RSPM_DOWNLOAD_URL=https://cdn.rstudio.com/package-manager/deb/amd64
1818
RUN curl -O ${RSPM_DOWNLOAD_URL}/rstudio-pm_${RSPM_VERSION}_amd64.deb \
1919
# Pre 7/25/23 packages

package-manager/NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 2024-05-31
2+
- Update R to 4.4.0
3+
14
# 2024-01-11
25
- Update Python to 3.12.1
36

package-manager/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66

77
# Supported tags and respective Dockerfile links
88

9-
* [`jammy`, `ubuntu2204`, `jammy-2023.12.0`, `ubuntu2204-2023.12.0`](https://github.com/rstudio/rstudio-docker-products/blob/main/package-manager/Dockerfile.ubuntu2204)
9+
* [`jammy`, `ubuntu2204`, `jammy-2024.04.2`, `ubuntu2204-2024.04.2`](https://github.com/rstudio/rstudio-docker-products/blob/main/package-manager/Dockerfile.ubuntu2204)
1010

1111
# What is RStudio Package Manager?
1212

13-
Posit Package Manager, formerly RStudio Package Manager, is a repository management server to organize and centralize
14-
R packages across your team, department, or entire organization. Get offline access to CRAN, automate CRAN syncs,
15-
share local packages, restrict package access, find packages across repositories, and more. Experience reliable and
13+
Posit Package Manager, formerly RStudio Package Manager, is a repository management server to organize and centralize
14+
R packages across your team, department, or entire organization. Get offline access to CRAN, automate CRAN syncs,
15+
share local packages, restrict package access, find packages across repositories, and more. Experience reliable and
1616
consistent package management, optimized for teams who use R.
1717

18-
The following documentation helps an administrator install and configure Package Manager. It provides information for
18+
The following documentation helps an administrator install and configure Package Manager. It provides information for
1919
installing the product on different operating systems, upgrading, and configuring Package Manager.
2020

2121
# Notice for support
@@ -148,15 +148,15 @@ to [create and manage](https://docs.rstudio.com/rspm/admin/getting-started/confi
148148
*Note: This section **does not** apply to activations using license files.*
149149

150150
There is currently a known licensing bug when using our products in containers. If the container is not stopped
151-
gracefully, the license deactivation step may fail or be skipped. Failing to deactivate the license can result in a
152-
"license leak" where a product activation is used up and cannot be deactivated using traditional methods as the
151+
gracefully, the license deactivation step may fail or be skipped. Failing to deactivate the license can result in a
152+
"license leak" where a product activation is used up and cannot be deactivated using traditional methods as the
153153
activation state on the container has been lost.
154154

155-
To avoid "leaking" licenses, we encourage users not to force kill containers and to use `--stop-timeout 120` and
156-
`--time 120` for `docker run` and `docker stop` commands respectively. This helps ensure the deactivation script has
155+
To avoid "leaking" licenses, we encourage users not to force kill containers and to use `--stop-timeout 120` and
156+
`--time 120` for `docker run` and `docker stop` commands respectively. This helps ensure the deactivation script has
157157
ample time to run properly.
158158

159-
In some situations, it can be difficult or impossible to avoid a hard termination (e.g. power failure,
159+
In some situations, it can be difficult or impossible to avoid a hard termination (e.g. power failure,
160160
critical error on host). Unfortunately, any of these cases can still cause a license to leak an activation. To help
161161
prevent a license leak in these situations, users can mount the following directories to persistent storage to preserve
162162
the license state data across restarts of the container. **These directories differ between products.**
@@ -171,13 +171,13 @@ the license state data across restarts of the container. **These directories dif
171171
Please note that the files created in these directories are hardware locked and non-transferable between hosts. Due to
172172
the nature of the hardware fingerprinting algorithm, any low-level changes to the host or container can cause existing
173173
license state files to invalidate. To avoid this problem, we advise that product containers are gracefully shutdown
174-
and allowed to deactivate prior to changing any hardware or firmware on the host (e.g. upgrading a network card or
174+
and allowed to deactivate prior to changing any hardware or firmware on the host (e.g. upgrading a network card or
175175
updating BIOS) or the container (e.g. changing the network driver used or the allocated number of CPU cores).
176176

177177
While preserving license state data *can* help avoid license leaks across restarts, it's not a guarantee. If you run
178178
into issues with your license, please do not hesitate to [contact Posit support](https://support.posit.co/hc/en-us).
179179

180-
While neither of these solutions will eliminate the problem, they should help mitigate it. We are still investigating a
180+
While neither of these solutions will eliminate the problem, they should help mitigate it. We are still investigating a
181181
long-term solution.
182182

183183
# Licensing

0 commit comments

Comments
 (0)