This is an automated email from the ASF dual-hosted git repository.
kou 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 c9cc3b8d21 GH-49596: [CI][Dev] Pin PyGithub to < 2.9 to fix broken
archery (#49597)
c9cc3b8d21 is described below
commit c9cc3b8d21527311c15b0cbf3bc6e694609c78fa
Author: Raúl Cumplido <[email protected]>
AuthorDate: Wed Mar 25 10:18:44 2026 +0100
GH-49596: [CI][Dev] Pin PyGithub to < 2.9 to fix broken archery (#49597)
### Rationale for this change
A new PyGithub release has broken archery:
https://github.com/PyGithub/PyGithub/releases/tag/v2.9.0
I tried some quick test error fixes but those are going to require more
investigation.
### What changes are included in this PR?
Pin PyGithub to < 2.9 so archery doesn't fail.
### Are these changes tested?
Yes via CI
### Are there any user-facing changes?
No
* GitHub Issue: #49596
Authored-by: Raúl Cumplido <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/archery/setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev/archery/setup.py b/dev/archery/setup.py
index 13ba39659b..23bb1096d7 100755
--- a/dev/archery/setup.py
+++ b/dev/archery/setup.py
@@ -37,9 +37,9 @@ extras = {
'integration': ['cffi', 'numpy'],
'integration-java': ['jpype1'],
'numpydoc': ['numpydoc==1.1.0'],
- 'release': ['pygithub', jinja_req, 'semver', 'gitpython'],
+ 'release': ['pygithub<2.9.0', jinja_req, 'semver', 'gitpython'],
}
-extras['bot'] = extras['crossbow'] + ['pygithub']
+extras['bot'] = extras['crossbow'] + ['pygithub<2.9.0']
extras['all'] = list(set(functools.reduce(operator.add, extras.values())))
setup(