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

Current requirements pull in too-new pygit2 #19

Open
xenithorb opened this issue May 6, 2017 · 1 comment
Open

Current requirements pull in too-new pygit2 #19

xenithorb opened this issue May 6, 2017 · 1 comment

Comments

@xenithorb
Copy link

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.

@pypingou
Copy link
Owner

The issue is that the pygit2 x.y release must match the libgit2 x.y release, so I can't quite enforce a pygit2 version, since it depends on the libgit2 one that is installed on your machine (outside of the venv).

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

No branches or pull requests

2 participants