Skip to content

[Archery][CI] Refactor git dependencies used on archery to be more consistent #33241

Closed

Description

@asfimport

Currently archery has the following git related dependencies:

    'release': ['gitpython']
    'crossbow': ['github3.py', 'pygit2>=1.6.0']
    'crossbow-upload': ['github3.py']
    'bot': ['github3.py', 'pygit2>=1.6.0', 'pygithub']

that makes difficult to work with archery git related code and makes more difficult code reuse. As an example the comment on this PR: #14033 (comment)

While dev/archery/archery/crossbow/core.py uses pygit2, dev/archery/archery/release/core.py uses GitPython. The Repo class that is used in each module are also not shared. 

We should refactor archery to not require 2 different github libraries (github3 and pygithub) and 2 different git ones (pygit and gitpython).

Reporter: Raúl Cumplido / @raulcd

Note: This issue was originally created as ARROW-18038. Please see the migration documentation for further details.

Activity

  1. added a commit that references this issue on Jan 19, 2026
  2. added
    Status: stale-warning
    on Feb 18, 2026
  3. thisisnic commented on Feb 18, 2026

    @thisisnic
    Member

    This issue has been marked as stale because it has had no activity in the past 2 years. Please remove the stale label or comment below, or this issue will be closed in 14 days.

  4. removed
    Status: stale-warning
    on May 13, 2026
  5. raulcd commented on Jun 19, 2026

    @raulcd
    Member

    @fangchenli can you add a comment on the issue so I can assign it to you. Thanks!

  6. added a commit that references this issue on Jun 19, 2026
  7. added this to the 25.0.0 milestone on Jun 19, 2026
  8. raulcd commented on Jun 19, 2026

    @raulcd
    Member

    Issue resolved by pull request 48886
    #48886

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions