Skip to content

Commit 047ac04

Browse files
authored
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]>
1 parent efb62f1 commit 047ac04

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

r/R/python.R

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,16 @@ as_record_batch_reader.pyarrow.lib.RecordBatchReader <- function(x, ...) {
326326
#' @export
327327
install_pyarrow <- function(envname = NULL, nightly = FALSE, ...) {
328328
if (nightly) {
329-
reticulate::py_install("pyarrow",
330-
envname = envname, ...,
329+
reticulate::py_install(
330+
"pyarrow",
331+
envname = envname,
332+
...,
331333
# Nightly for pip
332-
pip_options = "--extra-index-url https://repo.fury.io/arrow-nightlies/ --pre --upgrade",
334+
pip_options = c(
335+
"--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple",
336+
"--pre",
337+
"--upgrade"
338+
),
333339
# Nightly for conda
334340
channel = "arrow-nightlies"
335341
)

0 commit comments

Comments
 (0)