containers / podman-py

Python bindings for Podman's RESTful API
Apache License 2.0
252 stars 94 forks source link

installation is missing the "rich" dependency in setup.cfg|pyproject.toml? #350

Closed artificial-intelligence closed 11 months ago

artificial-intelligence commented 11 months ago

this was added in:

https://github.com/containers/podman-py/blob/29e7a0647a9793d5d6b6926eef416d86213dc397/requirements.txt#L9 | https://github.com/containers/podman-py/commit/78d57dd116c32b7251c9024c17f3d635d30587ba

but, despite being stated in the requirements.txt, neither pyproject.toml nor setup.cfg where updated. IIUC this results in downstream build failures:

https://review.opendev.org/c/openstack/kolla-ansible/+/742399

https://zuul.opendev.org/t/openstack/build/7d0502fd22514922817f81ed4f153169 (this link will vanish in a few days)

the original error we are getting is (see the zuul ci link above):

=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: tests.kolla_container_tests.test_podman_worker
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/zuul/src/opendev.org/openstack/kolla-ansible/tests/kolla_container_tests/test_podman_worker.py", line 24, in <module>
    from podman import errors as podman_error
  File "/home/zuul/src/opendev.org/openstack/kolla-ansible/.tox/py38/lib/python3.8/site-packages/podman/__init__.py", line 7, in <module>
    from podman.client import PodmanClient, from_env
  File "/home/zuul/src/opendev.org/openstack/kolla-ansible/.tox/py38/lib/python3.8/site-packages/podman/client.py", line 14, in <module>
    from podman.domain.containers_manager import ContainersManager
  File "/home/zuul/src/opendev.org/openstack/kolla-ansible/.tox/py38/lib/python3.8/site-packages/podman/domain/containers_manager.py", line 8, in <module>
    from podman.domain.containers import Container
  File "/home/zuul/src/opendev.org/openstack/kolla-ansible/.tox/py38/lib/python3.8/site-packages/podman/domain/containers.py", line 13, in <module>
    from podman.domain.images_manager import ImagesManager
  File "/home/zuul/src/opendev.org/openstack/kolla-ansible/.tox/py38/lib/python3.8/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'

================================================================================
The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.

I don't know enough about the project to deduce if this should be added to pyproject.toml, setup.cfg, or both.

artificial-intelligence commented 11 months ago

side note: it's probably worth it to add a CI check that ensures all dependencies are referenced in all needed files, that should be fairly straightforward, or just generate the setup.cfg|pyproject.toml|requirements.txt dependency list from another canonical source of truth instead, if possible.

mwperina commented 11 months ago

We have discovered the same issue during the integration test run in https://github.com/eclipse-bluechi/bluechi

podman-py installed from RPM:

14:45:36             err: + dnf install podman python3-dasbus python3-podman python3-pytest python3-pytest-timeout -y
14:45:37             out: Last metadata expiration check: 0:00:08 ago on Wed 29 Nov 2023 02:45:28 PM UTC.
14:45:37             out: Package python3-dasbus-1.7-4.fc39.noarch is already installed.
14:45:37             out: Dependencies resolved.
14:45:37             out: =====================================================================================================
14:45:37             out:  Package                        Arch    Version                    Repository                    Size
14:45:37             out: =====================================================================================================
14:45:37             out: Installing:
14:45:37             out:  podman                         x86_64  5:4.7.2-1.fc40             testing-farm-tag-repository   15 M
14:45:37             out:  python3-podman                 noarch  3:4.8.0.post1-1.fc40       testing-farm-tag-repository  187 k
14:45:37             out:  python3-pytest                 noarch  7.4.3-1.fc40               testing-farm-tag-repository  1.8 M
14:45:37             out:  python3-pytest-timeout         noarch  2.2.0-1.fc40               testing-farm-tag-repository   29 k
14:45:37             out: Installing dependencies:
14:45:37             out:  catatonit                      x86_64  0.1.7-18.fc39              testing-farm-tag-repository  321 k
14:45:37             out:  conmon                         x86_64  2:2.1.8-2.fc40             testing-farm-tag-repository   53 k
14:45:37             out:  containers-common              noarch  4:1-100.fc40               testing-farm-tag-repository   92 k
14:45:37             out:  containers-common-extra        noarch  4:1-100.fc40               testing-farm-tag-repository   13 k
14:45:37             out:  crun                           x86_64  1.12-1.fc40                testing-farm-tag-repository  218 k
14:45:37             out:  fuse-common                    x86_64  3.16.2-1.fc40              testing-farm-tag-repository  8.6 k
14:45:37             out:  fuse3                          x86_64  3.16.2-1.fc40              testing-farm-tag-repository   58 k
14:45:37             out:  fuse3-libs                     x86_64  3.16.2-1.fc40              testing-farm-tag-repository   95 k
14:45:37             out:  gvisor-tap-vsock-gvforwarder   x86_64  6:0.7.1-1.fc40             testing-farm-tag-repository  1.8 M
14:45:37             out:  iptables-legacy                x86_64  1.8.10-4.fc40              testing-farm-tag-repository   53 k
14:45:37             out:  iptables-legacy-libs           x86_64  1.8.10-4.fc40              testing-farm-tag-repository   38 k
14:45:37             out:  iptables-libs                  x86_64  1.8.10-4.fc40              testing-farm-tag-repository  397 k
14:45:37             out:  jansson                        x86_64  2.13.1-7.fc39              testing-farm-tag-repository   44 k
14:45:37             out:  libbsd                         x86_64  0.11.7-5.fc39              testing-farm-tag-repository  113 k
14:45:37             out:  libmd                          x86_64  1.1.0-2.fc39               testing-farm-tag-repository   47 k
14:45:37             out:  libnet                         x86_64  1.3-1.fc40                 testing-farm-tag-repository   60 k
14:45:37             out:  libnetfilter_conntrack         x86_64  1.0.9-2.fc39               testing-farm-tag-repository   59 k
14:45:37             out:  libnfnetlink                   x86_64  1.0.1-24.fc39              testing-farm-tag-repository   29 k
14:45:37             out:  libnftnl                       x86_64  1.2.6-3.fc40               testing-farm-tag-repository   83 k
14:45:37             out:  libslirp                       x86_64  4.7.0-4.fc39               testing-farm-tag-repository   75 k
14:45:37             out:  netavark                       x86_64  1.9.0-1.fc40               testing-farm-tag-repository  3.2 M
14:45:37             out:  nftables                       x86_64  1:1.0.9-1.fc40             testing-farm-tag-repository  421 k
14:45:37             out:  passt-selinux                  noarch  0^20231119.g4f1709d-1.fc40 testing-farm-tag-repository   30 k
14:45:37             out:  python3-iniconfig              noarch  1.1.1-14.fc39              testing-farm-tag-repository   18 k
14:45:37             out:  python3-packaging              noarch  23.2-2.fc40                testing-farm-tag-repository  115 k
14:45:37             out:  python3-pluggy                 noarch  1.3.0-1.fc40               testing-farm-tag-repository   50 k
14:45:37             out:  python3-pyxdg                  noarch  0.27-9.fc39                testing-farm-tag-repository  121 k
14:45:37             out:  qemu-user-static-aarch64       x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  2.3 M
14:45:37             out:  qemu-user-static-alpha         x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.2 M
14:45:37             out:  qemu-user-static-arm           x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.9 M
14:45:37             out:  qemu-user-static-cris          x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.2 M
14:45:37             out:  qemu-user-static-hexagon       x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.6 M
14:45:37             out:  qemu-user-static-hppa          x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.3 M
14:45:37             out:  qemu-user-static-loongarch64   x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.3 M
14:45:37             out:  qemu-user-static-m68k          x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.3 M
14:45:37             out:  qemu-user-static-microblaze    x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.5 M
14:45:37             out:  qemu-user-static-mips          x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  3.5 M
14:45:37             out:  qemu-user-static-nios2         x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.2 M
14:45:37             out:  qemu-user-static-or1k          x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.2 M
14:45:37             out:  qemu-user-static-ppc           x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  2.3 M
14:45:37             out:  qemu-user-static-riscv         x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.8 M
14:45:37             out:  qemu-user-static-s390x         x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.3 M
14:45:37             out:  qemu-user-static-sh4           x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.5 M
14:45:37             out:  qemu-user-static-sparc         x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.9 M
14:45:37             out:  qemu-user-static-x86           x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  1.8 M
14:45:37             out:  qemu-user-static-xtensa        x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository  2.0 M
14:45:37             out:  shadow-utils-subid             x86_64  2:4.14.0-2.fc40            testing-farm-tag-repository   29 k
14:45:37             out:  yajl                           x86_64  2.1.0-22.fc39              testing-farm-tag-repository   38 k
14:45:37             out: Installing weak dependencies:
14:45:37             out:  aardvark-dns                   x86_64  1.9.0-1.fc40               testing-farm-tag-repository  915 k
14:45:37             out:  container-selinux              noarch  2:2.224.0-1.fc40           testing-farm-tag-repository   55 k
14:45:37             out:  criu                           x86_64  3.19-2.fc40                testing-farm-tag-repository  560 k
14:45:37             out:  criu-libs                      x86_64  3.19-2.fc40                testing-farm-tag-repository   33 k
14:45:37             out:  fuse-overlayfs                 x86_64  1.12-2.fc39                testing-farm-tag-repository   67 k
14:45:37             out:  gvisor-tap-vsock               x86_64  6:0.7.1-1.fc40             testing-farm-tag-repository  3.7 M
14:45:37             out:  passt                          x86_64  0^20231119.g4f1709d-1.fc40 testing-farm-tag-repository  188 k
14:45:37             out:  qemu-user-static               x86_64  2:8.1.2-2.fc40             testing-farm-tag-repository   24 k
14:45:37             out:  slirp4netns                    x86_64  1.2.2-1.fc40               testing-farm-tag-repository   47 k
14:45:37             out: 
14:45:37             out: Transaction Summary
14:45:37             out: =====================================================================================================
14:45:37             out: Install  61 Packages
14:45:37             out: 
14:45:37             out: Total download size: 62 M
14:45:37             out: Installed size: 256 M
14:45:37             out: Downloading Packages:
14:45:37             out: (1/61): conmon-2.1.8-2.fc40.x86_64.rpm          377 kB/s |  53 kB     00:00    
14:45:37             out: (2/61): container-selinux-2.224.0-1.fc40.noarch 751 kB/s |  55 kB     00:00    
14:45:37             out: (3/61): catatonit-0.1.7-18.fc39.x86_64.rpm      1.2 MB/s | 321 kB     00:00    
14:45:37             out: (4/61): containers-common-1-100.fc40.noarch.rpm 1.5 MB/s |  92 kB     00:00    
14:45:37             out: (5/61): aardvark-dns-1.9.0-1.fc40.x86_64.rpm    3.2 MB/s | 915 kB     00:00    
14:45:37             out: (6/61): containers-common-extra-1-100.fc40.noar 450 kB/s |  13 kB     00:00    
14:45:37             out: (7/61): criu-3.19-2.fc40.x86_64.rpm              15 MB/s | 560 kB     00:00    
14:45:37             out: (8/61): criu-libs-3.19-2.fc40.x86_64.rpm        1.0 MB/s |  33 kB     00:00    
14:45:37             out: (9/61): crun-1.12-1.fc40.x86_64.rpm             6.8 MB/s | 218 kB     00:00    
14:45:37             out: (10/61): fuse-common-3.16.2-1.fc40.x86_64.rpm   296 kB/s | 8.6 kB     00:00    
14:45:37             out: (11/61): fuse-overlayfs-1.12-2.fc39.x86_64.rpm  2.2 MB/s |  67 kB     00:00    
14:45:37             out: (12/61): fuse3-3.16.2-1.fc40.x86_64.rpm         1.9 MB/s |  58 kB     00:00    
14:45:37             out: (13/61): fuse3-libs-3.16.2-1.fc40.x86_64.rpm    3.2 MB/s |  95 kB     00:00    
14:45:37             out: (14/61): iptables-legacy-1.8.10-4.fc40.x86_64.r 1.7 MB/s |  53 kB     00:00    
14:45:37             out: (15/61): iptables-legacy-libs-1.8.10-4.fc40.x86 1.3 MB/s |  38 kB     00:00    
14:45:37             out: (16/61): gvisor-tap-vsock-gvforwarder-0.7.1-1.f  14 MB/s | 1.8 MB     00:00    
14:45:37             out: (17/61): iptables-libs-1.8.10-4.fc40.x86_64.rpm 5.9 MB/s | 397 kB     00:00    
14:45:38             out: (18/61): jansson-2.13.1-7.fc39.x86_64.rpm       1.5 MB/s |  44 kB     00:00    
14:45:38             out: (19/61): libbsd-0.11.7-5.fc39.x86_64.rpm        3.7 MB/s | 113 kB     00:00    
14:45:38             out: (20/61): gvisor-tap-vsock-0.7.1-1.fc40.x86_64.r  17 MB/s | 3.7 MB     00:00    
14:45:38             out: (21/61): libmd-1.1.0-2.fc39.x86_64.rpm          1.0 MB/s |  47 kB     00:00    
14:45:38             out: (22/61): libnet-1.3-1.fc40.x86_64.rpm           1.4 MB/s |  60 kB     00:00    
14:45:38             out: (23/61): libnetfilter_conntrack-1.0.9-2.fc39.x8 1.8 MB/s |  59 kB     00:00    
14:45:38             out: (24/61): libnfnetlink-1.0.1-24.fc39.x86_64.rpm  937 kB/s |  29 kB     00:00    
14:45:38             out: (25/61): libnftnl-1.2.6-3.fc40.x86_64.rpm       2.4 MB/s |  83 kB     00:00    
14:45:38             out: (26/61): libslirp-4.7.0-4.fc39.x86_64.rpm       1.0 MB/s |  75 kB     00:00    
14:45:38             out: (27/61): nftables-1.0.9-1.fc40.x86_64.rpm       5.6 MB/s | 421 kB     00:00    
14:45:38             out: (28/61): passt-0^20231119.g4f1709d-1.fc40.x86_6 5.8 MB/s | 188 kB     00:00    
14:45:38             out: (29/61): passt-selinux-0^20231119.g4f1709d-1.fc 1.0 MB/s |  30 kB     00:00    
14:45:38             out: (30/61): python3-iniconfig-1.1.1-14.fc39.noarch 666 kB/s |  18 kB     00:00    
14:45:38             out: (31/61): netavark-1.9.0-1.fc40.x86_64.rpm        21 MB/s | 3.2 MB     00:00    
14:45:38             out: (32/61): python3-packaging-23.2-2.fc40.noarch.r 3.9 MB/s | 115 kB     00:00    
14:45:38             out: (33/61): python3-pluggy-1.3.0-1.fc40.noarch.rpm 1.7 MB/s |  50 kB     00:00    
14:45:38             out: (34/61): python3-podman-4.8.0.post1-1.fc40.noar 3.9 MB/s | 187 kB     00:00    
14:45:38             out: (35/61): python3-pytest-7.4.3-1.fc40.noarch.rpm  17 MB/s | 1.8 MB     00:00    
14:45:38             out: (36/61): python3-pytest-timeout-2.2.0-1.fc40.no 393 kB/s |  29 kB     00:00    
14:45:38             out: (37/61): python3-pyxdg-0.27-9.fc39.noarch.rpm   3.7 MB/s | 121 kB     00:00    
14:45:38             out: (38/61): qemu-user-static-8.1.2-2.fc40.x86_64.r 708 kB/s |  24 kB     00:00    
14:45:38             out: (39/61): qemu-user-static-alpha-8.1.2-2.fc40.x8  23 MB/s | 1.2 MB     00:00    
14:45:38             out: (40/61): qemu-user-static-aarch64-8.1.2-2.fc40.  17 MB/s | 2.3 MB     00:00    
14:45:38             out: (41/61): podman-4.7.2-1.fc40.x86_64.rpm          33 MB/s |  15 MB     00:00    
14:45:38             out: (42/61): qemu-user-static-arm-8.1.2-2.fc40.x86_ 8.4 MB/s | 1.9 MB     00:00    
14:45:38             out: (43/61): qemu-user-static-cris-8.1.2-2.fc40.x86 7.6 MB/s | 1.2 MB     00:00    
14:45:38             out: (44/61): qemu-user-static-hexagon-8.1.2-2.fc40.  15 MB/s | 1.6 MB     00:00    
14:45:38             out: (45/61): qemu-user-static-hppa-8.1.2-2.fc40.x86  18 MB/s | 1.3 MB     00:00    
14:45:38             out: (46/61): qemu-user-static-loongarch64-8.1.2-2.f  18 MB/s | 1.3 MB     00:00    
14:45:38             out: (47/61): qemu-user-static-m68k-8.1.2-2.fc40.x86  11 MB/s | 1.3 MB     00:00    
14:45:38             out: (48/61): qemu-user-static-microblaze-8.1.2-2.fc 9.4 MB/s | 1.5 MB     00:00    
14:45:39             out: (49/61): qemu-user-static-mips-8.1.2-2.fc40.x86  13 MB/s | 3.5 MB     00:00    
14:45:39             out: (50/61): qemu-user-static-nios2-8.1.2-2.fc40.x8 5.6 MB/s | 1.2 MB     00:00    
14:45:39             out: (51/61): qemu-user-static-or1k-8.1.2-2.fc40.x86 8.2 MB/s | 1.2 MB     00:00    
14:45:39             out: (52/61): qemu-user-static-s390x-8.1.2-2.fc40.x8  20 MB/s | 1.3 MB     00:00    
14:45:39             out: (53/61): qemu-user-static-ppc-8.1.2-2.fc40.x86_  14 MB/s | 2.3 MB     00:00    
14:45:39             out: (54/61): qemu-user-static-riscv-8.1.2-2.fc40.x8  12 MB/s | 1.8 MB     00:00    
14:45:39             out: (55/61): qemu-user-static-sh4-8.1.2-2.fc40.x86_  12 MB/s | 1.5 MB     00:00    
14:45:39             out: (56/61): qemu-user-static-sparc-8.1.2-2.fc40.x8  17 MB/s | 1.9 MB     00:00    
14:45:39             out: (57/61): qemu-user-static-x86-8.1.2-2.fc40.x86_  11 MB/s | 1.8 MB     00:00    
14:45:39             out: (58/61): shadow-utils-subid-4.14.0-2.fc40.x86_6 423 kB/s |  29 kB     00:00    
14:45:39             out: (59/61): qemu-user-static-xtensa-8.1.2-2.fc40.x  13 MB/s | 2.0 MB     00:00    
14:45:39             out: (60/61): slirp4netns-1.2.2-1.fc40.x86_64.rpm    817 kB/s |  47 kB     00:00    
14:45:39             out: (61/61): yajl-2.1.0-22.fc39.x86_64.rpm          378 kB/s |  38 kB     00:00    
14:45:39             out: --------------------------------------------------------------------------------
14:45:39             out: Total                                            31 MB/s |  62 MB     00:02     
14:45:39             out: Running transaction check
14:45:39             out: Transaction check succeeded.
14:45:39             out: Running transaction test
14:45:39             out: Transaction test succeeded.
14:45:39             out: Running transaction
14:45:41             out:   Preparing        :                                                        1/1 
14:45:41             out:   Installing       : passt-0^20231119.g4f1709d-1.fc40.x86_64               1/61 
14:45:41             out:   Running scriptlet: passt-selinux-0^20231119.g4f1709d-1.fc40.noarch       2/61 
14:45:41             out:   Installing       : passt-selinux-0^20231119.g4f1709d-1.fc40.noarch       2/61 
14:45:56             out:   Running scriptlet: passt-selinux-0^20231119.g4f1709d-1.fc40.noarch       2/61 
14:45:56             out:   Installing       : gvisor-tap-vsock-gvforwarder-6:0.7.1-1.fc40.x86_64    3/61 
14:45:57             out:   Installing       : gvisor-tap-vsock-6:0.7.1-1.fc40.x86_64                4/61 
14:45:57             out:   Installing       : qemu-user-static-x86-2:8.1.2-2.fc40.x86_64            5/61 
14:45:57             out:   Running scriptlet: qemu-user-static-x86-2:8.1.2-2.fc40.x86_64            5/61 
14:45:57             out:   Installing       : qemu-user-static-arm-2:8.1.2-2.fc40.x86_64            6/61 
14:45:57             out:   Running scriptlet: qemu-user-static-arm-2:8.1.2-2.fc40.x86_64            6/61 
14:45:57             out:   Installing       : qemu-user-static-aarch64-2:8.1.2-2.fc40.x86_64        7/61 
14:45:57             out:   Running scriptlet: qemu-user-static-aarch64-2:8.1.2-2.fc40.x86_64        7/61 
14:45:57             out:   Installing       : fuse3-libs-3.16.2-1.fc40.x86_64                       8/61 
14:45:57             out:   Installing       : yajl-2.1.0-22.fc39.x86_64                             9/61 
14:45:57             out:   Installing       : shadow-utils-subid-2:4.14.0-2.fc40.x86_64            10/61 
14:45:57             out:   Installing       : qemu-user-static-xtensa-2:8.1.2-2.fc40.x86_64        11/61 
14:45:57             out:   Running scriptlet: qemu-user-static-xtensa-2:8.1.2-2.fc40.x86_64        11/61 
14:45:57             out:   Installing       : qemu-user-static-sparc-2:8.1.2-2.fc40.x86_64         12/61 
14:45:57             out:   Running scriptlet: qemu-user-static-sparc-2:8.1.2-2.fc40.x86_64         12/61 
14:45:57             out:   Installing       : qemu-user-static-sh4-2:8.1.2-2.fc40.x86_64           13/61 
14:45:57             out:   Running scriptlet: qemu-user-static-sh4-2:8.1.2-2.fc40.x86_64           13/61 
14:45:57             out:   Installing       : qemu-user-static-s390x-2:8.1.2-2.fc40.x86_64         14/61 
14:45:57             out:   Running scriptlet: qemu-user-static-s390x-2:8.1.2-2.fc40.x86_64         14/61 
14:45:57             out:   Installing       : qemu-user-static-riscv-2:8.1.2-2.fc40.x86_64         15/61 
14:45:57             out:   Running scriptlet: qemu-user-static-riscv-2:8.1.2-2.fc40.x86_64         15/61 
14:45:57             out:   Installing       : qemu-user-static-ppc-2:8.1.2-2.fc40.x86_64           16/61 
14:45:57             out:   Running scriptlet: qemu-user-static-ppc-2:8.1.2-2.fc40.x86_64           16/61 
14:45:57             out:   Installing       : qemu-user-static-or1k-2:8.1.2-2.fc40.x86_64          17/61 
14:45:57             out:   Running scriptlet: qemu-user-static-or1k-2:8.1.2-2.fc40.x86_64          17/61 
14:45:57             out:   Installing       : qemu-user-static-nios2-2:8.1.2-2.fc40.x86_64         18/61 
14:45:57             out:   Running scriptlet: qemu-user-static-nios2-2:8.1.2-2.fc40.x86_64         18/61 
14:45:57             out:   Installing       : qemu-user-static-mips-2:8.1.2-2.fc40.x86_64          19/61 
14:45:57             out:   Running scriptlet: qemu-user-static-mips-2:8.1.2-2.fc40.x86_64          19/61 
14:45:57             out:   Installing       : qemu-user-static-microblaze-2:8.1.2-2.fc40.x86_64    20/61 
14:45:58             out:   Running scriptlet: qemu-user-static-microblaze-2:8.1.2-2.fc40.x86_64    20/61 
14:45:58             out:   Installing       : qemu-user-static-m68k-2:8.1.2-2.fc40.x86_64          21/61 
14:45:58             out:   Running scriptlet: qemu-user-static-m68k-2:8.1.2-2.fc40.x86_64          21/61 
14:45:58             out:   Installing       : qemu-user-static-loongarch64-2:8.1.2-2.fc40.x86_64   22/61 
14:45:58             out:   Running scriptlet: qemu-user-static-loongarch64-2:8.1.2-2.fc40.x86_64   22/61 
14:45:58             out:   Installing       : qemu-user-static-hppa-2:8.1.2-2.fc40.x86_64          23/61 
14:45:58             out:   Running scriptlet: qemu-user-static-hppa-2:8.1.2-2.fc40.x86_64          23/61 
14:45:58             out:   Installing       : qemu-user-static-hexagon-2:8.1.2-2.fc40.x86_64       24/61 
14:45:58             out:   Running scriptlet: qemu-user-static-hexagon-2:8.1.2-2.fc40.x86_64       24/61 
14:45:58             out:   Installing       : qemu-user-static-cris-2:8.1.2-2.fc40.x86_64          25/61 
14:45:58             out:   Running scriptlet: qemu-user-static-cris-2:8.1.2-2.fc40.x86_64          25/61 
14:45:58             out:   Installing       : qemu-user-static-alpha-2:8.1.2-2.fc40.x86_64         26/61 
14:45:58             out:   Running scriptlet: qemu-user-static-alpha-2:8.1.2-2.fc40.x86_64         26/61 
14:45:58             out:   Installing       : qemu-user-static-2:8.1.2-2.fc40.x86_64               27/61 
14:45:58             out:   Installing       : python3-pyxdg-0.27-9.fc39.noarch                     28/61 
14:45:58             out:   Installing       : python3-pluggy-1.3.0-1.fc40.noarch                   29/61 
14:45:58             out:   Installing       : python3-packaging-23.2-2.fc40.noarch                 30/61 
14:45:58             out:   Installing       : python3-iniconfig-1.1.1-14.fc39.noarch               31/61 
14:45:58             out:   Installing       : python3-pytest-7.4.3-1.fc40.noarch                   32/61 
14:45:58             out:   Installing       : libslirp-4.7.0-4.fc39.x86_64                         33/61 
14:45:58             out:   Installing       : slirp4netns-1.2.2-1.fc40.x86_64                      34/61 
14:45:59             out:   Installing       : libnftnl-1.2.6-3.fc40.x86_64                         35/61 
14:45:59             out:   Installing       : libnfnetlink-1.0.1-24.fc39.x86_64                    36/61 
14:45:59             out:   Installing       : libnetfilter_conntrack-1.0.9-2.fc39.x86_64           37/61 
14:45:59             out:   Installing       : iptables-libs-1.8.10-4.fc40.x86_64                   38/61 
14:45:59             out:   Installing       : libnet-1.3-1.fc40.x86_64                             39/61 
14:45:59             out:   Installing       : libmd-1.1.0-2.fc39.x86_64                            40/61 
14:45:59             out:   Installing       : libbsd-0.11.7-5.fc39.x86_64                          41/61 
14:45:59             out:   Installing       : jansson-2.13.1-7.fc39.x86_64                         42/61 
14:45:59             out:   Installing       : nftables-1:1.0.9-1.fc40.x86_64                       43/61 
14:45:59             out:   Running scriptlet: nftables-1:1.0.9-1.fc40.x86_64                       43/61 
14:45:59             out:   Installing       : criu-3.19-2.fc40.x86_64                              44/61 
14:45:59             out:   Installing       : criu-libs-3.19-2.fc40.x86_64                         45/61 
14:45:59             out:   Installing       : crun-1.12-1.fc40.x86_64                              46/61 
14:45:59             out:   Installing       : iptables-legacy-libs-1.8.10-4.fc40.x86_64            47/61 
14:45:59             out:   Installing       : iptables-legacy-1.8.10-4.fc40.x86_64                 48/61 
14:45:59             out:   Running scriptlet: iptables-legacy-1.8.10-4.fc40.x86_64                 48/61 
14:45:59             out:   Installing       : fuse-common-3.16.2-1.fc40.x86_64                     49/61 
14:45:59             out:   Installing       : fuse3-3.16.2-1.fc40.x86_64                           50/61 
14:45:59             out:   Installing       : fuse-overlayfs-1.12-2.fc39.x86_64                    51/61 
14:45:59             out:   Running scriptlet: fuse-overlayfs-1.12-2.fc39.x86_64                    51/61 
14:45:59             out:   Running scriptlet: container-selinux-2:2.224.0-1.fc40.noarch            52/61 
14:45:59             out:   Installing       : container-selinux-2:2.224.0-1.fc40.noarch            52/61 
14:46:10             out:   Running scriptlet: container-selinux-2:2.224.0-1.fc40.noarch            52/61 
14:46:10             out:   Installing       : containers-common-4:1-100.fc40.noarch                53/61 
14:46:10             out:   Installing       : conmon-2:2.1.8-2.fc40.x86_64                         54/61 
14:46:10             out:   Installing       : catatonit-0.1.7-18.fc39.x86_64                       55/61 
14:46:10             out:   Installing       : aardvark-dns-1.9.0-1.fc40.x86_64                     56/61 
14:46:10             out:   Installing       : netavark-1.9.0-1.fc40.x86_64                         57/61 
14:46:10             out:   Installing       : containers-common-extra-4:1-100.fc40.noarch          58/61 
14:46:10             out:   Installing       : podman-5:4.7.2-1.fc40.x86_64                         59/61 
14:46:10             out:   Installing       : python3-pytest-timeout-2.2.0-1.fc40.noarch           60/61 
14:46:10             out:   Installing       : python3-podman-3:4.8.0.post1-1.fc40.noarch           61/61 
14:46:21             out:   Running scriptlet: passt-selinux-0^20231119.g4f1709d-1.fc40.noarch      61/61 
14:46:21             out:   Running scriptlet: container-selinux-2:2.224.0-1.fc40.noarch            61/61 
14:46:23             out:   Running scriptlet: python3-podman-3:4.8.0.post1-1.fc40.noarch           61/61 
14:46:23             out: 
14:46:23             out: Installed:
14:46:23             out:   aardvark-dns-1.9.0-1.fc40.x86_64                                              
14:46:23             out:   catatonit-0.1.7-18.fc39.x86_64                                                
14:46:23             out:   conmon-2:2.1.8-2.fc40.x86_64                                                  
14:46:23             out:   container-selinux-2:2.224.0-1.fc40.noarch                                     
14:46:23             out:   containers-common-4:1-100.fc40.noarch                                         
14:46:23             out:   containers-common-extra-4:1-100.fc40.noarch                                   
14:46:23             out:   criu-3.19-2.fc40.x86_64                                                       
14:46:23             out:   criu-libs-3.19-2.fc40.x86_64                                                  
14:46:23             out:   crun-1.12-1.fc40.x86_64                                                       
14:46:23             out:   fuse-common-3.16.2-1.fc40.x86_64                                              
14:46:23             out:   fuse-overlayfs-1.12-2.fc39.x86_64                                             
14:46:23             out:   fuse3-3.16.2-1.fc40.x86_64                                                    
14:46:23             out:   fuse3-libs-3.16.2-1.fc40.x86_64                                               
14:46:23             out:   gvisor-tap-vsock-6:0.7.1-1.fc40.x86_64                                        
14:46:23             out:   gvisor-tap-vsock-gvforwarder-6:0.7.1-1.fc40.x86_64                            
14:46:23             out:   iptables-legacy-1.8.10-4.fc40.x86_64                                          
14:46:23             out:   iptables-legacy-libs-1.8.10-4.fc40.x86_64                                     
14:46:23             out:   iptables-libs-1.8.10-4.fc40.x86_64                                            
14:46:23             out:   jansson-2.13.1-7.fc39.x86_64                                                  
14:46:23             out:   libbsd-0.11.7-5.fc39.x86_64                                                   
14:46:23             out:   libmd-1.1.0-2.fc39.x86_64                                                     
14:46:23             out:   libnet-1.3-1.fc40.x86_64                                                      
14:46:23             out:   libnetfilter_conntrack-1.0.9-2.fc39.x86_64                                    
14:46:23             out:   libnfnetlink-1.0.1-24.fc39.x86_64                                             
14:46:23             out:   libnftnl-1.2.6-3.fc40.x86_64                                                  
14:46:23             out:   libslirp-4.7.0-4.fc39.x86_64                                                  
14:46:23             out:   netavark-1.9.0-1.fc40.x86_64                                                  
14:46:23             out:   nftables-1:1.0.9-1.fc40.x86_64                                                
14:46:23             out:   passt-0^20231119.g4f1709d-1.fc40.x86_64                                       
14:46:23             out:   passt-selinux-0^20231119.g4f1709d-1.fc40.noarch                               
14:46:23             out:   podman-5:4.7.2-1.fc40.x86_64                                                  
14:46:23             out:   python3-iniconfig-1.1.1-14.fc39.noarch                                        
14:46:23             out:   python3-packaging-23.2-2.fc40.noarch                                          
14:46:23             out:   python3-pluggy-1.3.0-1.fc40.noarch                                            
14:46:23             out:   python3-podman-3:4.8.0.post1-1.fc40.noarch                                    
14:46:23             out:   python3-pytest-7.4.3-1.fc40.noarch                                            
14:46:23             out:   python3-pytest-timeout-2.2.0-1.fc40.noarch                                    
14:46:23             out:   python3-pyxdg-0.27-9.fc39.noarch                                              
14:46:23             out:   qemu-user-static-2:8.1.2-2.fc40.x86_64                                        
14:46:23             out:   qemu-user-static-aarch64-2:8.1.2-2.fc40.x86_64                                
14:46:23             out:   qemu-user-static-alpha-2:8.1.2-2.fc40.x86_64                                  
14:46:23             out:   qemu-user-static-arm-2:8.1.2-2.fc40.x86_64                                    
14:46:23             out:   qemu-user-static-cris-2:8.1.2-2.fc40.x86_64                                   
14:46:23             out:   qemu-user-static-hexagon-2:8.1.2-2.fc40.x86_64                                
14:46:23             out:   qemu-user-static-hppa-2:8.1.2-2.fc40.x86_64                                   
14:46:23             out:   qemu-user-static-loongarch64-2:8.1.2-2.fc40.x86_64                            
14:46:23             out:   qemu-user-static-m68k-2:8.1.2-2.fc40.x86_64                                   
14:46:23             out:   qemu-user-static-microblaze-2:8.1.2-2.fc40.x86_64                             
14:46:23             out:   qemu-user-static-mips-2:8.1.2-2.fc40.x86_64                                   
14:46:23             out:   qemu-user-static-nios2-2:8.1.2-2.fc40.x86_64                                  
14:46:23             out:   qemu-user-static-or1k-2:8.1.2-2.fc40.x86_64                                   
14:46:23             out:   qemu-user-static-ppc-2:8.1.2-2.fc40.x86_64                                    
14:46:23             out:   qemu-user-static-riscv-2:8.1.2-2.fc40.x86_64                                  
14:46:23             out:   qemu-user-static-s390x-2:8.1.2-2.fc40.x86_64                                  
14:46:23             out:   qemu-user-static-sh4-2:8.1.2-2.fc40.x86_64                                    
14:46:23             out:   qemu-user-static-sparc-2:8.1.2-2.fc40.x86_64                                  
14:46:23             out:   qemu-user-static-x86-2:8.1.2-2.fc40.x86_64                                    
14:46:23             out:   qemu-user-static-xtensa-2:8.1.2-2.fc40.x86_64                                 
14:46:23             out:   shadow-utils-subid-2:4.14.0-2.fc40.x86_64                                     
14:46:23             out:   slirp4netns-1.2.2-1.fc40.x86_64                                               
14:46:23             out:   yajl-2.1.0-22.fc39.x86_64                                                     
14:46:23             out: 
14:46:23             out: Complete!

During each test execution following stack trace is raised:

14:47:00                 out: Traceback (most recent call last):
14:47:00                 out:   File "/usr/lib/python3.12/site-packages/_pytest/config/__init__.py", line 781, in import_plugin
14:47:00                 out:     __import__(importspec)
14:47:00                 out:   File "/usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py", line 186, in exec_module
14:47:00                 out:     exec(co, module.__dict__)
14:47:00                 out:   File "/var/ARTIFACTS/work-tier0tbvgwkb9/plans/tier0/discover/default-0/tests/bluechi_test/fixtures.py", line 6, in <module>
14:47:00                 out:     from podman import PodmanClient
14:47:00                 out:   File "/usr/lib/python3.12/site-packages/podman/__init__.py", line 7, in <module>
14:47:00                 out:     from podman.client import PodmanClient, from_env
14:47:00                 out:   File "/usr/lib/python3.12/site-packages/podman/client.py", line 14, in <module>
14:47:00                 out:     from podman.domain.containers_manager import ContainersManager
14:47:00                 out:   File "/usr/lib/python3.12/site-packages/podman/domain/containers_manager.py", line 8, in <module>
14:47:00                 out:     from podman.domain.containers import Container
14:47:00                 out:   File "/usr/lib/python3.12/site-packages/podman/domain/containers.py", line 13, in <module>
14:47:00                 out:     from podman.domain.images_manager import ImagesManager
14:47:00                 out:   File "/usr/lib/python3.12/site-packages/podman/domain/images_manager.py", line 9, in <module>
14:47:00                 out:     from rich.progress import Progress, TextColumn, BarColumn, TaskProgressColumn, TimeRemainingColumn
14:47:00                 out: ModuleNotFoundError: No module named 'rich'
rhatdan commented 11 months ago

@umohnani8 this looks like it was caused by your readthedocs change?

jwhonce commented 11 months ago

@rhatdan rich was used for the progress bar during pull.

artificial-intelligence commented 11 months ago

this was apparently fixed in https://github.com/containers/podman-py/pull/353