cmake-format stopped working on my Arch system a couple of days ago. Simply calling cmake-format throws an exception:
Exception has occurred: PackageNotFoundError
No package metadata was found for cmakelang
StopIteration:
During handling of the above exception, another exception occurred:
File "/usr/bin/cmake-format", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/cmake-format", line 33, in <module>
sys.exit(load_entry_point("cmakelang==0.6.13", "console_scripts", "cmake-format")())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
importlib.metadata.PackageNotFoundError: No package metadata was found for cmakelang
I guess this is caused by some upstream changes in Python? I'm currently running Python 3.12.3, any ideas how to work around that issue?
cmake-format stopped working on my Arch system a couple of days ago. Simply calling cmake-format throws an exception:
I guess this is caused by some upstream changes in Python? I'm currently running Python 3.12.3, any ideas how to work around that issue?