-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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-38079: [R] Allow override of version used to download libarrow static library #38080
Conversation
|
|
Tested on MacOS 10.13 using
Build log:
...and we get the package built with S3:
|
Tested on Windows, too. The easiest way to get it there is to |
e74215e
to
2de3d43
Compare
@assignUser is this fix worth merging? I do need this or something like it to debug the Windows issues we've been seeing. An alternative would be to go straight for |
I like the idea but this will cause conflicts with #38115 but as that is done (imo) I will start on the 'get latest nightly binary'-feature now were I can integrate this. For your local test we do have |
### Rationale for this change We no longer use autobrew to install on MacOS, so we no longer need CI jobs or helper scripts that had previously been referenced from this install path. ### What changes are included in this PR? This PR removes references to autobrew that are no longer needed. It also removes the R homebrew CI job, which has been failing for several months. We had supported homebrew because `brew install apache-arrow --HEAD` was one method of avoiding a full binary install for potential MacOS contributors; however, downloading nightly static libraries (e.g., #38080) is an even faster way to get a compatible libarrow built for the R package and works on MacOS, Windows, and Linux. ### Are these changes tested? These changes remove tests and infrastructure that are no longer relevant. ### Are there any user-facing changes? No. * Closes: #38088 Authored-by: Dewey Dunnington <[email protected]> Signed-off-by: Jacob Wujciak-Jens <[email protected]>
Got it! I will rework this once there's a pre-calculatable URL for "the last one". I like URL better than a local file (because URL can be either) but the right way to do that would be to replace the existing "local file" option and unify it under "libarrow zip url". |
Closing as #38236 is close to completion! |
…pache#38089) ### Rationale for this change We no longer use autobrew to install on MacOS, so we no longer need CI jobs or helper scripts that had previously been referenced from this install path. ### What changes are included in this PR? This PR removes references to autobrew that are no longer needed. It also removes the R homebrew CI job, which has been failing for several months. We had supported homebrew because `brew install apache-arrow --HEAD` was one method of avoiding a full binary install for potential MacOS contributors; however, downloading nightly static libraries (e.g., apache#38080) is an even faster way to get a compatible libarrow built for the R package and works on MacOS, Windows, and Linux. ### Are these changes tested? These changes remove tests and infrastructure that are no longer relevant. ### Are there any user-facing changes? No. * Closes: apache#38088 Authored-by: Dewey Dunnington <[email protected]> Signed-off-by: Jacob Wujciak-Jens <[email protected]>
…pache#38089) ### Rationale for this change We no longer use autobrew to install on MacOS, so we no longer need CI jobs or helper scripts that had previously been referenced from this install path. ### What changes are included in this PR? This PR removes references to autobrew that are no longer needed. It also removes the R homebrew CI job, which has been failing for several months. We had supported homebrew because `brew install apache-arrow --HEAD` was one method of avoiding a full binary install for potential MacOS contributors; however, downloading nightly static libraries (e.g., apache#38080) is an even faster way to get a compatible libarrow built for the R package and works on MacOS, Windows, and Linux. ### Are these changes tested? These changes remove tests and infrastructure that are no longer relevant. ### Are there any user-facing changes? No. * Closes: apache#38088 Authored-by: Dewey Dunnington <[email protected]> Signed-off-by: Jacob Wujciak-Jens <[email protected]>
…pache#38089) ### Rationale for this change We no longer use autobrew to install on MacOS, so we no longer need CI jobs or helper scripts that had previously been referenced from this install path. ### What changes are included in this PR? This PR removes references to autobrew that are no longer needed. It also removes the R homebrew CI job, which has been failing for several months. We had supported homebrew because `brew install apache-arrow --HEAD` was one method of avoiding a full binary install for potential MacOS contributors; however, downloading nightly static libraries (e.g., apache#38080) is an even faster way to get a compatible libarrow built for the R package and works on MacOS, Windows, and Linux. ### Are these changes tested? These changes remove tests and infrastructure that are no longer relevant. ### Are there any user-facing changes? No. * Closes: apache#38088 Authored-by: Dewey Dunnington <[email protected]> Signed-off-by: Jacob Wujciak-Jens <[email protected]>
Rationale for this change
Doing a bundled build of libarrow is time-consuming and makes casual contribution difficult. Downloading a recent nightly static library is sufficient in most cases; however, there is no route to override the version used to do this download.
What changes are included in this PR?
Adds an environment variable
LIBARROW_BINARY_VERSION
that can be used to override theVERSION
for the purposes of downloading the binary.Are these changes tested?
Not yet! Working on the best way to do this.
Are there any user-facing changes?
No (this is currently just a developer-facing tool).