Sorry for not responding in a timely manner, I was on vacation.
You need to rebuild (clean build) this package when updating your Python minor version due to the way it is packaged. This problem is sadly common for most/all? AUR Python packages.
Detail: This is due to the paths Python searches for packages.
Python 3.11.5 (main, Sep 2 2023, 14:16:33) [GCC 13.2.1 20230801] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', '/usr/lib/python3.11/site-packages']
As you can see, the version is included in all paths.
I hope that this fixes your issue. I had the same issue upon reproducing it and was able to fix it by clean building and reinstalling the package.
Pinned Comments
galaxy102 commented on 2023-10-07 19:57 (UTC) (edited on 2023-10-07 19:57 (UTC) by galaxy102)
Sorry for not responding in a timely manner, I was on vacation.
You need to rebuild (clean build) this package when updating your Python minor version due to the way it is packaged. This problem is sadly common for most/all? AUR Python packages.
Detail: This is due to the paths Python searches for packages.
As you can see, the version is included in all paths.
I hope that this fixes your issue. I had the same issue upon reproducing it and was able to fix it by clean building and reinstalling the package.