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

python3-rich is not the dependency of python-podman

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • rhel-9.4
    • python-podman
    • None
    • None
    • None
    • rhel-sst-container-tools
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • All
    • None

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

      python-podman on rhel9.4 and rhel8.10 contains the new feature of progress bar while pulling new images. For this feature, python3 package "rich" is a dependency, but now install the latest "python-podman" package with yum, "python3-rich" is not installed as a dependency.

      Please provide the package NVR for which bug is seen:

      python-podman-4.8.0.post1-1.el9

      How reproducible:

      always

      Steps to reproduce

      1. # yum install python-podman
        
      2. # python3 -c "import podman"
        

      Expected results

      "rich" should be the dependency of python-podman

      Actual results

      1. Updating Subscription Management repositories.
        Unable to read consumer identity
        
        This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.
        
        Last metadata expiration check: 0:37:07 ago on Mon 18 Dec 2023 08:56:47 AM EST.
        Dependencies resolved.
        ===================================================================================================================
        Package Architecture Version Repository Size
        ===================================================================================================================
        Installing:
        python3-podman noarch 3:4.8.0.post1-1.el9 beaker-AppStream 177 k
        Installing dependencies:
        python3-pyxdg noarch 0.27-3.el9 beaker-AppStream 108 k
        python3-tomli noarch 2.0.1-5.el9 beaker-AppStream 37 k
        
        Transaction Summary
        ===================================================================================================================
        Install 3 Packages
        
        ........
        
      2. Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/usr/lib/python3.9/site-packages/podman/_{_}init{_}_.py", line 7, in <module>
        from podman.client import PodmanClient, from_env
        File "/usr/lib/python3.9/site-packages/podman/client.py", line 14, in <module>
        from podman.domain.containers_manager import ContainersManager
        File "/usr/lib/python3.9/site-packages/podman/domain/containers_manager.py", line 8, in <module>
        from podman.domain.containers import Container
        File "/usr/lib/python3.9/site-packages/podman/domain/containers.py", line 13, in <module>
        from podman.domain.images_manager import ImagesManager
        File "/usr/lib/python3.9/site-packages/podman/domain/images_manager.py", line 9, in <module>
        from rich.progress import Progress, TextColumn, BarColumn, TaskProgressColumn, TimeRemainingColumn
        ModuleNotFoundError: No module named 'rich'
        

              rhn-support-jnovy Jindrich Novy
              weshen Edward Shen
              Container Runtime Eng Bot Container Runtime Eng Bot
              Edward Shen Edward Shen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: