Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12919

[Developer Tools] Crossbow comment bot failing to react to comments

    XMLWordPrintableJSON

    Details

      Description

      Seems PyGit2 might have changed from under us.

      Collecting pygit2
        Downloading pygit2-1.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB)
      
      ...snip...
      
      fatal: not a git repository (or any of the parent directories): .git
      Cloning into '/tmp/tmphatwy9ef/arrow'...
      From https://github.com/apache/arrow
       * [new ref]             refs/pull/10426/head -> ARROW-12909-build
      Switched to branch 'ARROW-12909-build'
      Cloning into '/tmp/tmphatwy9ef/crossbow'...
      ERROR:archery:module 'pygit2.credentials' has no attribute 'GIT_CREDTYPE_USERPASS_PLAINTEXT'
      Traceback (most recent call last):
        File "/home/runner/work/arrow/arrow/arrow/dev/archery/archery/bot.py", line 149, in handle_issue_comment
          self.handler(command, issue=issue, pull_request=pull,
        File "/home/runner/work/arrow/arrow/arrow/dev/archery/archery/bot.py", line 56, in __call__
          return self.invoke(ctx)
        File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/click/core.py", line 1668, in invoke
          return _process_result(sub_ctx.command.invoke(sub_ctx))
        File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/click/core.py", line 1668, in invoke
          return _process_result(sub_ctx.command.invoke(sub_ctx))
        File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
          return ctx.invoke(self.callback, **ctx.params)
        File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/click/core.py", line 763, in invoke
          return __callback(*args, **kwargs)
        File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/click/decorators.py", line 38, in new_func
          return f(get_current_context().obj, *args, **kwargs)
        File "/home/runner/work/arrow/arrow/arrow/dev/archery/archery/bot.py", line 261, in submit
          queue.push()
        File "/home/runner/work/arrow/arrow/arrow/dev/archery/archery/crossbow/core.py", line 271, in push
          self.origin.push(refs + self._updated_refs, callbacks=callbacks)
        File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/pygit2/remote.py", line 257, in push
          payload.check_error(err)
        File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/pygit2/callbacks.py", line 91, in check_error
          raise self._stored_exception
        File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/pygit2/callbacks.py", line 331, in wrapper
          return f(*args)
        File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/pygit2/callbacks.py", line 376, in _credentials_cb
          ccred = get_credentials(credentials, url, username, allowed)
        File "/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/pygit2/callbacks.py", line 461, in get_credentials
          creds = fn(url_str, username_str, allowed)
        File "/home/runner/work/arrow/arrow/arrow/dev/archery/archery/crossbow/core.py", line 197, in credentials
          if allowed_types & pygit2.credentials.GIT_CREDTYPE_USERPASS_PLAINTEXT:
      AttributeError: module 'pygit2.credentials' has no attribute 'GIT_CREDTYPE_USERPASS_PLAINTEXT' 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonkeane Jonathan Keane
                Reporter:
                lidavidm David Li
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h