py312 aarch on linux: pip check reports ruamel.yaml.clib 0.2.8 is not...
ruamel.yaml is a YAML 1.2 parser/emitter for Python
Brought to you by:
anthon
This seems like relatively new error as until today I did not see it this error with py312 on aarch64 architecture, but seems to happen on ubuntu-24.04 (LTS):
ssbarnea@u1:~/u/vscode-ansible vscode-ansible (main) $ pip install --force ruamel.yaml.clib
Collecting ruamel.yaml.clib
Downloading ruamel.yaml.clib-0.2.8-cp312-cp312-manylinux_2_24_aarch64.whl.metadata (2.2 kB)
Downloading ruamel.yaml.clib-0.2.8-cp312-cp312-manylinux_2_24_aarch64.whl (643 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 643.9/643.9 kB 29.2 MB/s eta 0:00:00
Installing collected packages: ruamel.yaml.clib
Attempting uninstall: ruamel.yaml.clib
Found existing installation: ruamel.yaml.clib 0.2.8
Uninstalling ruamel.yaml.clib-0.2.8:
Successfully uninstalled ruamel.yaml.clib-0.2.8
Successfully installed ruamel.yaml.clib-0.2.8
ssbarnea@u1:~/u/vscode-ansible vscode-ansible (main) $ pip check
ruamel.yaml.clib 0.2.8 is not supported on this platform
uname -a
Linux u1 6.8.0-39-generic #39-Ubuntu SMP PREEMPT_DYNAMIC Sat Jul 6 02:50:39 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
python -VV
Python 3.12.3 (main, Jul 31 2024, 17:43:48) [GCC 13.2.0]
As we do run pip check
as part of CI/CD pipelines, this is causing a new king of breakage.
AFAIK the clib was supposed to be optional, but it is not as it gets installed automatically when we install ruamel.yaml, so there is no way to avoid encountering this issue. (we do not have it added as a dependency anywhere).
I raised the issue here because I did read on a recent clib bug that there was a plan to remove it - https://sourceforge.net/p/ruamel-yaml-clib/tickets/33/#0443 (i guess that did not happen yet).
Please see https://github.com/pypa/pip/issues/12884