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

pygit2 won't build #81453

Closed
dullbananas mannequin opened this issue Jun 14, 2019 · 3 comments
Closed

pygit2 won't build #81453

dullbananas mannequin opened this issue Jun 14, 2019 · 3 comments
Labels
3.8 only security fixes 3.9 only security fixes extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error

Comments

@dullbananas
Copy link
Mannequin

dullbananas mannequin commented Jun 14, 2019

BPO 37272
Nosy @lazka, @tirkarthi, @dullbananas

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2019-06-14.06:52:19.026>
created_at = <Date 2019-06-14.03:34:39.970>
labels = ['extension-modules', 'type-bug', '3.8', '3.9']
title = "pygit2 won't build"
updated_at = <Date 2019-06-14.06:52:19.024>
user = 'https://github.com/dullbananas'

bugs.python.org fields:

activity = <Date 2019-06-14.06:52:19.024>
actor = 'xtreak'
assignee = 'none'
closed = True
closed_date = <Date 2019-06-14.06:52:19.026>
closer = 'xtreak'
components = ['Extension Modules']
creation = <Date 2019-06-14.03:34:39.970>
creator = 'Dull Bananas'
dependencies = []
files = []
hgrepos = []
issue_num = 37272
keywords = []
message_count = 3.0
messages = ['345544', '345559', '345560']
nosy_count = 3.0
nosy_names = ['lazka', 'xtreak', 'Dull Bananas']
pr_nums = []
priority = 'normal'
resolution = 'third party'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue37272'
versions = ['Python 3.8', 'Python 3.9']

@dullbananas
Copy link
Mannequin Author

dullbananas mannequin commented Jun 14, 2019

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

@dullbananas dullbananas mannequin added 3.8 only security fixes 3.9 only security fixes extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error labels Jun 14, 2019
@lazka
Copy link
Mannequin

lazka mannequin commented Jun 14, 2019

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

@tirkarthi
Copy link
Member

Thanks @lazka for the details. I am closing this as third party issue.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8 only security fixes 3.9 only security fixes extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant