FS#78817 - [python-auditwheel] ModuleNotFoundError: No module named 'wheel.pkginfo'
Attached to Project:
Arch Linux
Opened by Xiao Xiong (xx14159) - Sunday, 18 June 2023, 08:01 GMT
Last edited by Toolybird (Toolybird) - Monday, 19 June 2023, 01:25 GMT
Opened by Xiao Xiong (xx14159) - Sunday, 18 June 2023, 08:01 GMT
Last edited by Toolybird (Toolybird) - Monday, 19 June 2023, 01:25 GMT
|
Details
Description:
auditwheel could not work properly. PKGBUILD contains this sed line replacing the correct import path: https://gitlab.archlinux.org/archlinux/packaging/packages/python-auditwheel/-/blob/8556eec107506e57df5bf2166007441d114a302e/PKGBUILD#L22 Seems like it was originally introduced to use the python-wheel module vendored by the system, but is not working anymore. Terminal output: ``` Traceback (most recent call last): File "/usr/sbin/auditwheel", line 8, in <module> sys.exit(main()) ^^^^^^ File "/usr/lib/python3.11/site-packages/auditwheel/main.py", line 59, in main rval = args.func(args, p) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/auditwheel/main_show.py", line 34, in execute from .wheel_abi import NonPlatformWheel, analyze_wheel_abi File "/usr/lib/python3.11/site-packages/auditwheel/wheel_abi.py", line 20, in <module> from .genericpkgctx import InGenericPkgCtx File "/usr/lib/python3.11/site-packages/auditwheel/genericpkgctx.py", line 4, in <module> from .wheeltools import InWheelCtx File "/usr/lib/python3.11/site-packages/auditwheel/wheeltools.py", line 24, in <module> from wheel.pkginfo import read_pkg_info, write_pkg_info ModuleNotFoundError: No module named 'wheel.pkginfo' ``` Additional info: * python-auditwheel version: 5.4.0-1 Steps to reproduce: $ auditwheel show somepkg.whl |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 19 June 2023, 01:25 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#78259
Monday, 19 June 2023, 01:25 GMT
Reason for closing: Duplicate
Additional comments about closing: