Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-44114: [R] Add Rocky and opensuse to the allowlist for libarrow binaries #44124

Merged
merged 5 commits into from
Oct 8, 2024

Conversation

jonkeane
Copy link
Member

@jonkeane jonkeane commented Sep 15, 2024

Rationale for this change

Add two distros not checked on CRAN to our allow list for easier binary installs

What changes are included in this PR?

Added to distro names

Are these changes tested?

These configurations are tested elsewhere, the real test will come later if CRAN somehow runs these covertly

Are there any user-facing changes?

Faster, more reliably installs without intervention

@jonkeane jonkeane requested review from nealrichardson and removed request for assignUser September 15, 2024 13:24
Copy link

⚠️ GitHub issue #44114 has been automatically assigned in GitHub to PR creator.

@assignUser
Copy link
Member

Is there a reason to be specific with -leap? Or do we want just opensuse to be ok?

@jonkeane
Copy link
Member Author

Is there a reason to be specific with -leap? Or do we want just opensuse to be ok?

I discovered this when chatting with someone from the Posit Package Manager, and that's the string they got when they ran the distro code. But this might be an issue with distro, or maybe opensuse has different flavors? Or also possible that the Posit Package Manager folks are using a slightly non-standard build of opensuse. Do you know of any references for which to look for? I'm happy to add it, but I think we would need both to catch the system that they seem to be using.

@assignUser
Copy link
Member

I see but with any(grepl(paste(allowlist, collapse = "|"), os)) opensuse should cover opensuse-leap and any future versions if I'm not mistaken (not at a pc right now to test it^^)

@@ -222,7 +222,7 @@ check_allowlist <- function(os, allowed = "https://raw.githubusercontent.com/apa
# Try a remote allowlist so that we can add/remove without a release
suppressWarnings(readLines(allowed)),
# Fallback to default: allowed only on Ubuntu and CentOS/RHEL
error = function(e) c("ubuntu", "centos", "redhat", "rhel")
error = function(e) c("ubuntu", "centos", "redhat", "rhel", "rocky", "opensuse-leap")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recall the history on this, but the local copy of the allowlist should be present here, right? Can we fall back to readLines("nixlibs-allowlist.txt") (or whatever path it is relative to cwd)? That way we only have to track this in one place.

Also we should update the comment on the line above.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, of course

@jonkeane
Copy link
Member Author

but with any(grepl(paste(allowlist, collapse = "|"), os)) opensuse should cover opensuse-leap and any future versions if I'm not mistaken

Ah, right right. Ok I've changed it to opensuse. It would be good to have confirmation of what the possible values are there, in case we need to add something like open-suse or opensus3 or something. But this should be good for the issue at hand.

@github-actions github-actions bot added awaiting changes Awaiting changes awaiting change review Awaiting change review and removed awaiting committer review Awaiting committer review awaiting changes Awaiting changes labels Sep 21, 2024
r/tools/nixlibs.R Outdated Show resolved Hide resolved
Co-authored-by: eitsupi <50911393+eitsupi@users.noreply.github.com>
@github-actions github-actions bot added awaiting changes Awaiting changes awaiting change review Awaiting change review and removed awaiting change review Awaiting change review awaiting changes Awaiting changes labels Oct 8, 2024
r/tools/test-nixlibs.R Outdated Show resolved Hide resolved
@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting change review Awaiting change review labels Oct 8, 2024
@jonkeane jonkeane merged commit 0707c04 into apache:main Oct 8, 2024
10 checks passed
@jonkeane jonkeane deleted the moar_binary branch October 8, 2024 14:27
Copy link

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 0707c04.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants