Skip to content

[R][CI] R nightly binary upload broken since github3 to pygithub migration #50532

Description

@thisisnic

The r_nightly.yml workflow has been failing since June 19, when #48886 replaced github3 with pygithub in archery.

The upload job crashes during archery crossbow download-artifacts:

File ".../github/Auth.py", line 162, in __init__
    assert isinstance(token, str)
AssertionError

The workflow doesn't pass CROSSBOW_GITHUB_TOKEN to the download-artifacts step (

archery crossbow download-artifacts -f r-binary-packages -t binaries $PREFIX
), so archery receives None as the token. The old github3 library handled this gracefully (unauthenticated access), but pygithub's Auth.Token requires an actual string.

Last successful run: June 18. Every run since June 19 has failed: https://github.com/apache/arrow/actions/workflows/r_nightly.yml

This means no R nightly binaries have been uploaded for a month, which affects anyone trying to install the dev version of the R package on Windows (they get "No nightly binaries were found" and can't build from source).

The comment_bot.yml workflow is unaffected because it explicitly passes the token.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions