Skip to content
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

runtime failure with pygit 1.15.1 #531

Closed
chenrui333 opened this issue Jul 17, 2024 · 0 comments · Fixed by #532
Closed

runtime failure with pygit 1.15.1 #531

chenrui333 opened this issue Jul 17, 2024 · 0 comments · Fixed by #532

Comments

@chenrui333
Copy link
Contributor

chenrui333 commented Jul 17, 2024

While regression build 5.0.0 against pygit 1.15.1, I ran into some runtime failure as below:

    File "/home/linuxbrew/.linuxbrew/Cellar/tartufo/5.0.0_3/libexec/lib/python3.12/site-packages/tartufo/util.py", line 305, in extract_commit_metadata
      "commit_hash": commit.hex,
                     ^^^^^^^^^^
  AttributeError: '_pygit2.Commit' object has no attribute 'hex'

I think it is because they have removed hex in pygit 1.15.0, see changelog in here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant