This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pygit2 won't build
Type: behavior Stage: resolved
Components: Extension Modules Versions: Python 3.9, Python 3.8
process
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 2022-04-11 14:59 by admin. 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: https://travis-ci.org/dullbananas/shellp
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 https://docs.travis-ci.com/user/installing-dependencies/ 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: https://pypi.org/project/pygit2/#files
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.
History
Date User Action Args
2022-04-11 14:59:16adminsetgithub: 81453
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