On Fedora 25 using your virutalenv instructions, I ran into:
In file included from src/blob.h:34:0,
from src/blob.c:30:
src/types.h:36:2: error: #error You need a compatible libgit2 version (v0.25.x)
#error You need a compatible libgit2 version (v0.25.x)
^~~~~
error: command 'gcc' failed with exit status 1
The solution was to clamp pygit2 <= 0.24.2 which was the last version that supports what libgit2 is currently in fedora at the time of my writing this: libgit2-devel-0.24.6-1.fc25.x86_64 it might resolve itself with time, but perhaps you should consider version locking to something known to be compatible.
On Fedora 25 using your virutalenv instructions, I ran into:
The solution was to clamp
pygit2 <= 0.24.2which was the last version that supports whatlibgit2is currently in fedora at the time of my writing this:libgit2-devel-0.24.6-1.fc25.x86_64it might resolve itself with time, but perhaps you should consider version locking to something known to be compatible.