Bug 1734777
Summary: | libcomps fails to build with Python 3.8: SystemError: bad call flags | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | libcomps | Assignee: | rpm-software-management |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | dmach, jluza, jmracek, mblaha, pkratoch, python-maint, rpm-software-management, vstinner |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libcomps-0.1.11-3.fc31 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-01 06:07:16 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1686977 |
Description
Miro Hrončok
2019-07-31 12:14:12 UTC
It's a bug in the Python binding of libcomps. I proposed a fix upstream: https://github.com/rpm-software-management/libcomps/pull/50 Extract: > In Python 3.7, import didn't check descriptor flags (METH_KEYWORDS): these flags were only checked when the methods were called. > > In Python 3.8, the flags are checked at soon as the module is imported, which prevents the module to be imported. > In Python 3.8, the flags are checked at soon as the module is imported, which prevents the module to be imported. To be exact, it's the change https://github.com/python/cpython/commit/bf8e82f976b37856c7d35cdf88a238cb6f57fe65 which has been added to Python 3.8 beta 3. > https://github.com/rpm-software-management/libcomps/pull/50 Good news! It has already been merged! |