-
-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'_pygit2.Blob' object has no attribute 'oid' with 1.15.1 #1316
Comments
I have a similar problem with the git filesystem in fsspec and |
13 days later, this hit me for FreshPorts - searching the issues for OID, I found #1292 which states:
Clicking on that link, I found this reference which has a list of I was also affected by My code is fixed. Thanks for this issue. |
From https://github.com/libgit2/pygit2/blob/master/CHANGELOG.md#1150-2024-05-18 under Breaking changes: * Remove deprecated object.hex, use str(object.id) * Remove deprecated object.oid, use object.id This code now requires pygit2>=1.15.0
re: libgit2/pygit2#1316 https://news.freshports.org/2024/10/19/devel-py-pygit2-attributeerror-_pygit2-commit-object-has-no-attribute-oid-did-you-mean-id/ git-svn-id: svn://127.0.0.16/websites/ports@20289 e9903129-21d8-e211-989e-002590a4cdd4
re: libgit2/pygit2#1316 https://news.freshports.org/2024/10/19/devel-py-pygit2-attributeerror-_pygit2-commit-object-has-no-attribute-oid-did-you-mean-id/ git-svn-id: svn://127.0.0.16/websites/ports@20289 e9903129-21d8-e211-989e-002590a4cdd4
I use pygit2 with Salt Stack (3007.1 from pypi.org). I upgraded pygit from 1.12.1 to 1.15.1 and got errors in /var/log/salt/master. Downgraded pygit2 to 1.14.1 and now it works.
The text was updated successfully, but these errors were encountered: