Skip to content

feat(r.j2): add manylinux_2_34 R tarball install macros#577

Draft
bschwedler wants to merge 3 commits into
enterprise-linux-ubi10-bakeryfrom
enterprise-linux-ubi10-manylinux-r
Draft

feat(r.j2): add manylinux_2_34 R tarball install macros#577
bschwedler wants to merge 3 commits into
enterprise-linux-ubi10-bakeryfrom
enterprise-linux-ubi10-manylinux-r

Conversation

@bschwedler

Copy link
Copy Markdown
Contributor

Adds install_manylinux() and run_install_manylinux() alongside the existing RPM/deb path. Downloads pre-built R tarballs from cdn.posit.co/r/manylinux_2_34/ and extracts them to /opt/R/{version}/, bypassing package manager dependency resolution. Arch is detected at runtime; the same Containerfile covers amd64 and arm64. Required for RHEL 10 (UBI) Standard builds where the published RPM carries Requires: flexiblas-devel, which is absent from the UBI-redistributable CRB subset.

Adds install_manylinux() and run_install_manylinux() as alternatives to
the RPM/deb path. Downloads pre-built R tarballs from cdn.posit.co/r/
and extracts them directly to /opt/R/{version}/, bypassing the package
manager's dependency resolution.

Requires glibc >= 2.34 (RHEL 10, Ubuntu 22.04+, Debian 12+). Arch is
detected at runtime so the same Containerfile builds on amd64 and arm64.
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

Test Results

1 603 tests   - 14   1 603 ✅  - 14   8m 31s ⏱️ -9s
    1 suites ± 0       0 💤 ± 0 
    1 files   ± 0       0 ❌ ± 0 

Results for commit 15b8502. ± Comparison against base commit f963ab9.

♻️ This comment has been updated with latest results.

Allows callers to select which manylinux variant to download from
cdn.posit.co/r/. Defaults to "2_34", which covers RHEL 9+, Ubuntu
22.04+, and Debian 12+. Passing a different value (e.g. "2_28")
will select the corresponding tarball variant.
Add string-versions case for run_install_manylinux and split the
explicit-glibc-version case into a standalone test. Removes the
isinstance conditional from the parametrize helper and brings
coverage in line with test_run_install.
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.

1 participant