Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-6110

Superfluos pkg_resources import needs to be removed from pythonbundles.py script

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.4
    • rhel-9.3.0
    • python-rpm-generators
    • None
    • python-rpm-generators-12-9.el9
    • None
    • None
    • rhel-sst-pt-python-ruby-nodejs
    • ssg_core_services
    • 14
    • 16
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

       

      What were you trying to do that didn't work?

      I was trying to build Python 3.12 in COPR using CentOS Stream 8/9 chroots.

      Please provide the package NVR for which bug is seen: n/a

      How reproducible: always

      Steps to reproduce

      1. Build python3.12 in COPR
      2.  
      3.  

      Expected results

      Build succeeds

      Actual results

      Build failed

       

      Traceback (most recent call last): File "/usr/lib/rpm/pythonbundles.py", line 20, in <module> from pkg_resources import parse_version ModuleNotFoundError: No module named 'pkg_resources'

       

      https://src.fedoraproject.org/rpms/python-rpm-generators/c/279638a969f7c9f142c7a969d6aafbe0215ede3c?branch=rawhide

              python-maint python-maint
              thrnciar Tomáš Hrnčiar
              Tomáš Hrnčiar Tomáš Hrnčiar
              Lukas Zachar Lukas Zachar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: