python3-aexpect package is unusable, because it depends on 'pipes' python module that was removed from python 3.13+ (Fedora 43 uses python 3.14). Detailed versions: $ cat /etc/fedora-release Fedora release 43 (Forty Three) $ rpm -q python3 python3-aexpect python3-3.14.0-2.fc43.x86_64 python3-aexpect-1.6.2-18.fc43.noarch This breaks dependent packages (any command from python3-avocado-plugins-vt) Reproducible: Always Steps to Reproduce: 1. sudo dnf install python3-aexpect 2. python -c 'import aexpect' Actual Results: Traceback (most recent call last): File "<string>", line 1, in <module> import aexpect File "/usr/lib/python3.14/site-packages/aexpect/__init__.py", line 35, in <module> from . import remote File "/usr/lib/python3.14/site-packages/aexpect/remote.py", line 50, in <module> import pipes ModuleNotFoundError: No module named 'pipes' Expected Results: No error on output Additional Information: There are similar projects hit by same issue, for example: https://github.com/jupyter/nbclassic/pull/286/files or official https://peps.python.org/pep-0594/#pipes Possible resolution is to replace "pipes" with "shlex" as shown on https://github.com/jupyter/nbclassic/pull/286/files
Crude workaround: $ sudo sed -i.bak -e 's/pipes/shlex/' /usr/lib/python3.14/site-packages/aexpect/remote.py With that command: $ python -c 'import aexpect' finishes properly (no error, no output).
There is even PR https://github.com/avocado-framework/aexpect/pull/128 but for some unknown reason it is not in Fedora package (yes, aexpect belongs to Avocado VT, but is provided by base "fedora" repository - so bugzilla is right place for report): Detailed broken package info: $ dnf info python3-aexpect Updating and loading repositories: Repositories loaded. Installed packages Name : python3-aexpect Epoch : 0 Version : 1.6.2 Release : 18.fc43 Architecture : noarch Installed size : 510.9 KiB Source : python-aexpect-1.6.2-18.fc43.src.rpm From repository : fedora Summary : A python library to control interactive applications URL : https://github.com/avocado-framework/aexpect License : GPL-2.0-or-later Description : Aexpect is a python library used to control interactive applications, very : similar to pexpect. You can use it to control applications such as ssh, scp : sftp, telnet, among others. Vendor : Fedora Project
Upstream fixed it in Version 1.8.0 as published on: https://github.com/avocado-framework/aexpect/releases/tag/1.8.0 What's Changed ... Drop the use of pipes by @luckyh in #128 ... Rebuilding package for 1.8.0 (tagged on Jul 30, 2025) instead of existing 1.6.2 (tagged on Jun 2, 2021) should fix this bug.