Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1691064
Summary: | gobject-introspection-devel doesn't depend on a specific Python version, but it only works with the Python version it was built with | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> | ||||
Component: | gobject-introspection | Assignee: | Colin Walters <walters> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | dcbw, fmuellner, icq, john.j5live, otaylor, walters, yaneti | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | gobject-introspection-1.60.1-3.fc31 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-05-27 08:56:26 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 | ||||||
Attachments: |
|
OK, I have found out this: The code comes from gobject-introspection-devel, that has no Python dependency on a specific version yet it BRs python3-devel. Let me try to rebuild that one first. Indeed, that was the case. I think that gobject-introspection-devel should either require python(abi) = %{python3_version}, or if the dependency on python is optional, depend on: (python(abi) = %{python3_version} if python3). Colin? Can you please review and merge my PR? PR was merged and gobject-introspection-1.60.1-3.fc31 was built in rawhide. Thank you. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |
Created attachment 1546196 [details] build.log from copr Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 98, in <module> from giscanner.scannermain import scanner_main File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 35, in <module> from giscanner.ast import Include, Namespace File "/usr/lib64/gobject-introspection/giscanner/ast.py", line 29, in <module> from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF File "/usr/lib64/gobject-introspection/giscanner/sourcescanner.py", line 33, in <module> from giscanner._giscanner import SourceScanner as CSourceScanner ModuleNotFoundError: No module named 'giscanner._giscanner' Version-Release number of selected component (if applicable): pygobject3-3.32.0-1.fc31 Logs attached. This is with Python 3.8.0a2. I don't really understand those magical gi imports, so I don't understand why this happens. pygobject3 blocks a while lot of packages, so this is a severe problem.