Bug 1634608 - portmidi: Remove (sub)packages from Fedora 30+: python2-portmidi
Summary: portmidi: Remove (sub)packages from Fedora 30+: python2-portmidi
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: portmidi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brendan Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PY2REMOVAL
TreeView+ depends on / blocked
 
Reported: 2018-10-01 08:59 UTC by Miro Hrončok
Modified: 2018-10-02 05:27 UTC (History)
10 users (show)

Fixed In Version: portmidi-217-26.fc30
Clone Of:
Environment:
Last Closed: 2018-10-02 04:34:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1634679 0 unspecified CLOSED python2-pygame requires python3-numpy 2021-02-22 00:41:40 UTC

Internal Links: 1634679

Description Miro Hrončok 2018-10-01 08:59:46 UTC
In line with the Mass Python 2 Package Removal [0], the following (sub)packages of portmidi were marked for removal:

 * python2-portmidi

According to our query, those (sub)packages only provide a Python 2 importable module. If this is not true, please tell us why, so we can fix our query.

Please remove them from your package.

As said in the change document, if there is no objection in a week, we will remove the package(s) as soon as we get to it. This change might not match your packaging style, so we'd prefer if you did the change. If you need more time, please let us know here.

We hope this doesn't come to you as a surprise. If you want to know our motivation for this, please read the change document [0].

[0] https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal

Comment 1 Michael J Gruber 2018-10-01 10:07:48 UTC
I'm not sure the dependency chain is checked or specified completely:

https://apps.fedoraproject.org/packages/impressive requires python2-pygame.

https://apps.fedoraproject.org/packages/pygame has a messed up package tree in apps.fp - it builds python2-game (among others), but that is not listed in the tree.

pygame requires portmidi-devel

Now, python2-portmidi is not specified explicitely as a dependency of pygame (neither R nor BR)[*] - is it true that pygame (and impressive) builds python2-pygame even without python2-portmidi, that python2-pygame is not scheduled for removal, and that all of those builds are usable (no broken imports)?

[*] For exra giggles, python2-pygame requires python3-numpy:

https://src.fedoraproject.org/rpms/pygame/blob/master/f/pygame.spec#_29

Comment 2 Miro Hrončok 2018-10-01 11:03:45 UTC
So the query is as follows:

$ dnf repoquery --repo=rawhide --whatrequires python2-portmidi
$ dnf repoquery --repo=rawhide-source --whatrequires python2-portmidi

Both return nothing.

python2-pygame requires libportmidi.so.0()(64bit) but that is provided by portmidi, not python2-portmidi.

In other words, pygame uses the underlying library directly, not the Python bindings.

python2-pygame requires python3-numpy:

https://bugzilla.redhat.com/show_bug.cgi?id=1634679

Comment 3 Orcan Ogetbil 2018-10-02 04:34:03 UTC
"Fixed" in rawhide


Note You need to log in before you can comment on or make changes to this bug.