The clang python binding need libclang.so, otherwise it's useless/broken: clang.cindex.LibclangError: libclang.so: cannot open shared object file: No such file or directory. To provide a path to libclang use Config.set_library_path() or Config.set_library_file(). python3-clang should probably have a "Depends:" on clang-libs. But that's not all, since clang-libs doesn't provide libclang.so! Any idea why or what would be the solution? thanks
python3-clang does depend on clang-libs, see https://src.fedoraproject.org/rpms/clang/blob/rawhide/f/clang.spec#_232. However libclang.so is provided only by clang-devel, not clang-libs (clang-libs only provides libclang.so.14 or similar, not the libclang.so symlink). Probably python3-clang should depend on clang-devel to make it directly usable.
https://src.fedoraproject.org/rpms/clang/pull-request/193
FEDORA-2023-2522d9d420 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-2522d9d420
FEDORA-2023-2522d9d420 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-2522d9d420` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-2522d9d420 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-2522d9d420 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.