Bug 25559 - When installing the pyzo rpm, the package python3-pkg-resources is missing
Summary: When installing the pyzo rpm, the package python3-pkg-resources is missing
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://www.mageialinux-online.org/fo...
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2019-10-13 16:01 CEST by Ami age
Modified: 2019-10-17 00:23 CEST (History)
5 users (show)

See Also:
Source RPM: pyzo-4.7.3-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Ami age 2019-10-13 16:01:23 CEST
Description of problem:
translated with google translate

Description of the problem:
After installing pyzo via the software manager, the program did not launch.

launched from the command line and I get

s@localhost bin]$ ./pyzo
Traceback (most recent call last):
File "./pyzo", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

searched for pkg in the software manager

saw python2-pkg-resources installed
but not python3-pkg-resources

I installed python3-pkg-resources and it's good



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.


------------------------
description en français :

Description du problème:
Après avoir installé pyzo via le gestionnaire de logiciel, le programme ne se lançait pas.

lancé en ligne de commande et j'obtiens

s@localhost bin]$ ./pyzo
Traceback (most recent call last):
File "./pyzo", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

recherché pkg dans le gestionnaire de logiciels

vu python2-pkg-resources installé
mais pas python3-pkg-resources

j' ai installé  python3-pkg-resources  et c'est bon
papoteur 2019-10-13 17:23:13 CEST

CC: (none) => yves.brungard_mageia
Assignee: bugsquad => geiger.david68210

Comment 1 David GEIGER 2019-10-14 01:22:36 CEST
Assigning to QA,

Advisory:
========================

Updated pyzo package adds missing dependency:

  pyzo requires the python3-pkg-resources dependency to start, which is now added
  by this update.

========================

Packages in 7/core/updates_testing:
========================
pyzo-4.7.3-1.1.mga7.noarch.rpm


Source RPM:
========================
pyzo-4.7.3-1.1.mga7.src.rpm

Assignee: geiger.david68210 => qa-bugs
Source RPM: pyzo => pyzo-4.7.3-1.mga7.src.rpm

Comment 2 Len Lawrence 2019-10-16 10:03:31 CEST
Mageia 7, x86_64

Unfortunately, on two of the mga7 installations here python3-pkg-resources-41.0.0-1.mga7 was already available and removing it would have also removed some critical system packages.

Installed pyzo, which worked, then updated it, and it still works.  A weak test so I shall leave it for the time being in case anybody else can run it without the pkg-resources package.

CC: (none) => tarazed25

Comment 3 Len Lawrence 2019-10-16 10:12:24 CEST
Following on from comment 2;
Forced the issue on the first machine:
# rpm -e --nodeps python3-pkg-resources
then
$ pyzo
Traceback (most recent call last):
  File "/usr/bin/pyzo", line 6, in <module>
    from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

Updated pyzo:
# urpmi pyzo
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  python3-pkg-resources          41.0.0       1.mga7        noarch  
(medium "Core Updates Testing")
  pyzo                           4.7.3        1.1.mga7      noarch  

Started and stopped pyzo.
$ pyzo
Started our command server
16-10-2019 09:10:24:  Could not load theme: 'default'
16-10-2019 09:10:24:  Could not load theme: 'default'
Stopped our command server.

Whiteboard: (none) => MGA7-64-OK

Comment 4 Thomas Andrews 2019-10-16 21:55:00 CEST
Looks good to me. Validating. Advisory information in Comment 1.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Thomas Backlund 2019-10-16 23:42:51 CEST

CC: (none) => tmb
Keywords: (none) => advisory

Comment 5 Mageia Robot 2019-10-17 00:23:53 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0165.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


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