You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a GitHub project that installs pygit2 (version 1.13.3) in a workflow action. It was working perfectly fine on macOS 14 (latest) until recently when I started getting the 'git2.h' file not found error. I've seen that this error is common for cases where the wheel needs to be built and libgit2 is not installed, but I'm not sure that's the case here since it was working fine earlier.
It's entirely possible that this is not a pygit2 issue, but rather an issue with the GitHub hosted macOS runner image. I noticed the image updated to macOS 14.7.1 and to Python 3.13, though I'm testing in multiple python environments (3.9-3.13).
Here are the details about the runner before the error occurred:
Current runner version: '2.319.1'
Operating System
macOS
14.6.1
23G93
Runner Image
Image: macos-14-arm64
Version: 20240918.8
Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20240918.8/images/macos/macos-14-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20240918.8'
and after:
Current runner version: '2.320.0'
Operating System
macOS
14.7.1
23H222
Runner Image
Image: macos-14-arm64
Version: 20241108.442
Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20241108.442/images/macos/macos-14-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20241108.442
My understanding is that if a wheel is available on PyPi, pip shouldn't need libgit2 to be installed in order to install pygit2. Is that correct? And by now, wheels for 1.13.3 should have been around for almost a year?
I appreciate any ideas on how to understand and resolve this issue.
I have a GitHub project that installs pygit2 (version 1.13.3) in a workflow action. It was working perfectly fine on macOS 14 (latest) until recently when I started getting the
'git2.h' file not found
error. I've seen that this error is common for cases where the wheel needs to be built and libgit2 is not installed, but I'm not sure that's the case here since it was working fine earlier.It's entirely possible that this is not a pygit2 issue, but rather an issue with the GitHub hosted macOS runner image. I noticed the image updated to macOS 14.7.1 and to Python 3.13, though I'm testing in multiple python environments (3.9-3.13).
Here are the details about the runner before the error occurred:
and after:
My understanding is that if a wheel is available on PyPi, pip shouldn't need libgit2 to be installed in order to install pygit2. Is that correct? And by now, wheels for 1.13.3 should have been around for almost a year?
I appreciate any ideas on how to understand and resolve this issue.
Here is the failed build output:
The text was updated successfully, but these errors were encountered: