This is an automated email from the ASF dual-hosted git repository.

raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 047ac0432b GH-47682: [R] `install_pyarrow(nightly = TRUE)` installs 
old pyarrow (#47699)
047ac0432b is described below

commit 047ac0432bbaf14219f5098afadb9dfa4ed8025c
Author: eitsupi <[email protected]>
AuthorDate: Tue Oct 7 00:03:35 2025 +0900

    GH-47682: [R] `install_pyarrow(nightly = TRUE)` installs old pyarrow 
(#47699)
    
    ### Rationale for this change
    
    `install_pyarrow(nightly = TRUE)` installs pyarrow from 
`https://repo.fury.io/arrow-nightlies/`, but after #47470, new version of 
pyarrow is't released on fury.io.
    
    ### What changes are included in this PR?
    
    Replace the index url to the new url 
`https://pypi.anaconda.org/scientific-python-nightly-wheels/simple`.
    
    ### Are these changes tested?
    
    No.
    
    ### Are there any user-facing changes?
    
    The URL used behind the scenes will change, but this will not affect 
functionality.
    
    * GitHub Issue: #47682
    
    Authored-by: eitsupi <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 r/R/python.R | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/r/R/python.R b/r/R/python.R
index 1159806bf7..338fca1bae 100644
--- a/r/R/python.R
+++ b/r/R/python.R
@@ -326,10 +326,16 @@ as_record_batch_reader.pyarrow.lib.RecordBatchReader <- 
function(x, ...) {
 #' @export
 install_pyarrow <- function(envname = NULL, nightly = FALSE, ...) {
   if (nightly) {
-    reticulate::py_install("pyarrow",
-      envname = envname, ...,
+    reticulate::py_install(
+      "pyarrow",
+      envname = envname,
+      ...,
       # Nightly for pip
-      pip_options = "--extra-index-url https://repo.fury.io/arrow-nightlies/ 
--pre --upgrade",
+      pip_options = c(
+        "--extra-index-url 
https://pypi.anaconda.org/scientific-python-nightly-wheels/simple";,
+        "--pre",
+        "--upgrade"
+      ),
       # Nightly for conda
       channel = "arrow-nightlies"
     )

Reply via email to