Closed lb- closed 1 year ago
Not sure on how to decipher this error - seems odd that git2
would not be included in the CI so probably my change has broken this somehow.
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/local/include -I/home/runner/work/wagtail-localize-git/wagtail-localize-git/.tox/py38-django4.1-wagtailmain/include -I/usr/include/python3.8 -c src/blob.c -o build/temp.linux-x86_64-cpython-38/src/blob.o
In file included from src/blob.c:30:
src/diff.h:33:10: fatal error: git2.h: No such file or directory
33 | #include <git2.h>
| ^~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for pygit2
Failed to build wagtail pygit2
ERROR: Could not build wheels for pygit2 which use PEP 517 and cannot be installed directly
=================================== log end ====================================
ERROR: could not install deps [coverage, Django>=4.1,<4.2, git+https://github.com/wagtail/wagtail.git]; v = InvocationError("/home/runner/work/wagtail-localize-git/wagtail-localize-git/.tox/py38-django4.1-wagtailmain/bin/pip install -U --pre coverage 'Django>=4.1,<4.2' git+https://github.com/wagtail/wagtail.git -e '.[testing]'", 1)
Closes #27