git.sr.ht itself works, but when trying to open a repository it crashes with "Internal Error". Important part of the traceback:
AttributeError: '_pygit2.Oid' object has no attribute 'hex'
Some deprecated functions were recently removed from
pygit2
.To fix this, I will temporarily build older versions of
pygit2
andlibgit2
and write a patch to update all calls to such functions . Close this issue, when the patched package is deployed.
Thorben Günther referenced this ticket in commit ae5d1c7.
sourcehut works with recent
libgit2
andpygit2
versions now.