Bug 1738111
Summary: | python-humblewx depends on Python 2 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lumír Balhar <lbalhar> |
Component: | python-humblewx | Assignee: | Rickard Lindberg <ricli85> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 31 | CC: | ricli85 |
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: | 2019-08-22 05:48:02 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: | 1698500, 1739052 |
Description
Lumír Balhar
2019-08-06 13:05:30 UTC
The reason it depends on Python 2 is that it depends on wxPython (which for a long time was not ported to Python 3). Now that wxPython has a release for Python 3, humbewx can be ported. But I have not had time to do that. (I am the upstream author as well.) Not sure when I will have time either. I've checked now and it seems humblewx is compatible with Python 3. I guess a new package should be created, python3-humblewx, that has updated dependencies? The best way here would be to add a new subpackage python3-humblewx and test it with some Python 3 software. Timeline project depends on python2-humblewx so it would be best to coordinate with them and remove python2-humblewx from the rawhide once timeline is ported or retired. I've added python3-humblewx to the spec file now: https://src.fedoraproject.org/rpms/python-humblewx/c/c8f1466c94bfe395507d7739648a7b9244d0b4cb?branch=master Is there anything more I need to do? (In reply to Rickard Lindberg from comment #4) > I've added python3-humblewx to the spec file now: > https://src.fedoraproject.org/rpms/python-humblewx/c/ > c8f1466c94bfe395507d7739648a7b9244d0b4cb?branch=master > > Is there anything more I need to do? Could you please build the new package in koji so we can check that the new python3- subpackage has no python 2 dependencies? I did a scratch build and it worked: https://koji.fedoraproject.org/koji/taskinfo?taskID=36929242 The `fedpkg build` failed though: https://koji.fedoraproject.org/koji/taskinfo?taskID=36929265 > BuildError: Error running GIT command "git clone -n git://pkgs.fedoraproject.org/rpms/python-humblewx /var/lib/mock/f31-build-17203303-1234567/root/chroot_tmpdir/scmroot/python-humblewx", see checkout.log for details I'm not sure why that is. Any idea? It was probably just a temporary issue with the builder's network. I've done a regular build without any issue. https://koji.fedoraproject.org/koji/taskinfo?taskID=36946943 It also seems that everything is okay and resulting packages require what they should: # rpm -q --requires python3-humblewx python(abi) = 3.7 python3-wxpython4 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsZstd) <= 5.4.18-1 # rpm -q --requires python2-humblewx python(abi) = 2.7 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsZstd) <= 5.4.18-1 wxPython Let's wait till python2-humblewx becomes a leaf package and then you can remove it. > Let's wait till python2-humblewx becomes a leaf package and then you can
> remove it.
Cool. Will there be a notification of this?
(In reply to Rickard Lindberg from comment #8) > > Let's wait till python2-humblewx becomes a leaf package and then you can > > remove it. > > Cool. Will there be a notification of this? Yes, we are monitoring it and will use this bug for further communication. Thank you! This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'. timeline is retired in rawhide and therefore nothing depends on python2-humblewx so the subpackage can be removed. After the rebuild, python2-humblewx is no longer present in rawhide. Thank you! https://koji.fedoraproject.org/koji/buildinfo?buildID=1359561 |