You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/06/01 16:55:00 UTC
[jira] [Created] (ARROW-12919) [Developer Tools] Crossbow comment
bot failing to react to comments
David Li created ARROW-12919:
--------------------------------
Summary: [Developer Tools] Crossbow comment bot failing to react to comments
Key: ARROW-12919
URL: https://issues.apache.org/jira/browse/ARROW-12919
Project: Apache Arrow
Issue Type: Bug
Components: Developer Tools
Reporter: David Li
Seems PyGit2 might have changed from under us.
{noformat}
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' {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)