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 1899461
Summary: | python-pyside2 fails to build with Python 3.10: popd: directory stack empty | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-pyside2 | Assignee: | Richard Shaw <hobbes1069> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | hobbes1069, laurent.rineau__fedora, mhroncok, thrnciar, tuju |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-19 22:05:33 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: | 1890881 |
Description
Miro Hrončok
2020-11-19 10:12:32 UTC
This was part of a workaround for the stupid^H^H^H^H^H cmake change that only got applied to some releases of Fedora/EL instead of all releases. Working on it... Ok, the popd problem is fixed but then I ran into this: ***** Exception while trying to prepare bdist_wheel override class: cannot import name 'pep425tags' from 'wheel' (/usr/lib/python3.10/site-packages/wheel/__init__.py). Skipping wheel overriding. Unsupported python version detected. Only these python versions are supported: [(2, 7), (3, 5), (3, 6), (3, 7), (3, 8), (3, 9)] error: Bad exit status from /var/tmp/rpm-tmp.BixP5u (%install) Bad exit status from /var/tmp/rpm-tmp.BixP5u (%install) Apparently there's one more place 3.10 needs to be added. I updated the patch to include 3.10. Perhaps I did it incorrectly? Index: pyside-setup-opensource-src-5.14.2/build_scripts/config.py =================================================================== --- pyside-setup-opensource-src-5.14.2.orig/build_scripts/config.py +++ pyside-setup-opensource-src-5.14.2/build_scripts/config.py @@ -92,6 +92,8 @@ class Config(object): 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', ] self.setup_script_dir = None @@ -134,7 +135,7 @@ class Config(object): setup_kwargs['zip_safe'] = False setup_kwargs['cmdclass'] = cmd_class_dict setup_kwargs['version'] = package_version - setup_kwargs['python_requires'] = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.9" + setup_kwargs['python_requires'] = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <=3.10" if quiet: Forgot I had disabled the patch because a newer version supported Python 3.9. The patch has now been updated for 3.10 and I was able to complete a build from the referenced mock configuration. I have pushed the changes into master. Thank You! |