feat(r.j2): add manylinux_2_34 R tarball install macros#577
Draft
bschwedler wants to merge 3 commits into
Draft
Conversation
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
install_manylinux()andrun_install_manylinux()alongside the existing RPM/deb path. Downloads pre-built R tarballs fromcdn.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 carriesRequires: flexiblas-devel, which is absent from the UBI-redistributable CRB subset.