Bug#1005724: python3-clang-13: python package not advertised enough

Marc Glisse marc.glisse at normalesup.org
Sun Feb 13 22:49:34 GMT 2022


Package: python3-clang-13
Version: 1:13.0.1-2
Severity: normal

Dear Maintainer,

I have python3-clang-13 version 1:13.0.1-2 installed and can import it
just fine. However, some tools fail to find the package

$ pip3 check
tensorflow 2.8.0 requires libclang, which is not installed.
$ python3 -c 'from importlib.metadata import version; print(version("libclang"))'
[...]
importlib.metadata.PackageNotFoundError: libclang

If I run `pip3 install libclang`, those errors disappear. I think it may
be because you don't include libclang-13.0.0.dist-info in the package,
but I am not a pro of python packaging.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'testing'), (500, 'stable'), (50, 'unstable-debug'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-3-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-clang-13 depends on:
ii  libclang-13-dev  1:13.0.1-2
ii  python3          3.9.7-1

python3-clang-13 recommends no packages.

python3-clang-13 suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list