Bug 1822512

Summary: Module name hast wrong name
Product: [Fedora] Fedora EPEL Reporter: Frank Büttner <bugzilla>
Component: python-msgpackAssignee: Fabian Affolter <mail>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel7CC: andrew, fschwarz, ktdreyer, mail, metherid, pj.pandit
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: 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:

Description Frank Büttner 2020-04-09 08:40:57 UTC
Description of problem:
The package is called msgpack, but installed as msgpack-python

Version-Release number of selected component (if applicable):
python36-msgpack-0.5.6-5.el7

How reproducible:
Every time

Steps to Reproduce:
1. yum install python36-msgpac
2. pip list | grep msgpack


Actual results:
The package is listed with msgpack-python.

Expected results:
That is listed as msgpack.


Additional info:
This will break all packages that require msgpack.
The rpm build of it will work, but the tests fails, because of the wrong name.

Comment 1 Fabian Affolter 2022-08-23 21:51:14 UTC
Looks fine to me on EPEL9.

[fab@localhost ~]$ sudo dnf -y install python-msgpack
[...]
Rocky Linux 9 - Extras                                                                                                             1.2 kB/s | 2.9 kB     00:02    
Dependencies resolved.
===================================================================================================================================================================
 Package                                      Architecture                        Version                                  Repository                         Size
===================================================================================================================================================================
Installing:
 python3-msgpack                              x86_64                              1.0.3-2.el9                              epel                               86 k

Transaction Summary
===================================================================================================================================================================
Install  1 Package

Total download size: 86 k
Installed size: 264 k
Downloading Packages:
python3-msgpack-1.0.3-2.el9.x86_64.rpm                                                                                              38 kB/s |  86 kB     00:02    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                               19 kB/s |  86 kB     00:04     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                           1/1 
  Installing       : python3-msgpack-1.0.3-2.el9.x86_64                                                                                                        1/1 
  Running scriptlet: python3-msgpack-1.0.3-2.el9.x86_64                                                                                                        1/1 
  Verifying        : python3-msgpack-1.0.3-2.el9.x86_64                                                                                                        1/1 

Installed:
  python3-msgpack-1.0.3-2.el9.x86_64                                                                                                                               

Complete!
[fab@localhost ~]$ pip list | grep msgpack
msgpack            1.0.3
[fab@localhost ~]$ python
Python 3.9.10 (main, Feb  9 2022, 00:00:00) 
[GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import msgpack

Comment 2 Felix Schwarz 2023-07-06 20:50:29 UTC
> [fab@localhost ~]$ pip list | grep msgpack
> msgpack            1.0.3

I think the complaint was that the module does NOT show up as "msgpack-python". However the point may be moot as the module name was switched to "msgpack" a while ago so at least now the point should be moot.