Title: pygit2 won't build
Type: behavior Stage: resolved
Components: Extension Modules Versions: Python 3.9, Python 3.8
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: Dull Bananas, lazka, xtreak
Priority: normal Keywords:

Created on 2019-06-14 03:34 by Dull Bananas, last changed 2019-06-14 06:52 by xtreak. This issue is now closed.

Messages (3)
msg345544 - (view) Author: Dull Bananas (Dull Bananas) Date: 2019-06-14 03:34
I am not sure if this is an issue with Python or pygit2, but Pyhton 3.8 and 3.9 are unable to build the pygit2 package, and an error with gcc occurs. This is causing errors on my Travis CI build; here is a link where you can see build logs for my project that depends on pygit2:
msg345559 - (view) Author: Christoph Reiter (lazka) * Date: 2019-06-14 06:36
pygit2 requires libgit2 to build which means you need to install the "libgit2-dev" package through apt.

See for how to install packages in your travis-ci setup.

The reason it works with stable Python versions is that pygit2 provides pre-built wheels on pypi for those:
msg345560 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2019-06-14 06:52
Thanks @lazka for the details. I am closing this as third party issue.
Date User Action Args
2019-06-14 06:52:19xtreaksetstatus: open -> closed

nosy: + xtreak
messages: + msg345560

resolution: third party
stage: resolved
2019-06-14 06:36:36lazkasetnosy: + lazka
messages: + msg345559
2019-06-14 03:34:39Dull Bananascreate