-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
informant fails after major Python upgrade #40
Comments
Possible duplicate of #39, try rebuilding informant after the Python 3.10.1 update. |
Encountering this issue after upgrading to Python 3.11. Reinstalling does not fix it, unfortunately.
|
I had a similar issue after upgrading to Python 3.11. I'm using Paru as my AUR helper, and I first tried to just uninstall, then reinstall, but it did not work. I figured the Paru cache had to be cleared before a proper rebuild was triggered, and it worked! This fixes this issue (#40) and #39 for me, but maybe it could be fixed in the PKGBUILD somehow ¯\(ツ)/¯ Here is the fix:
I imagine the procedure is similar with Yay, but I have not checked for myself. |
I updated the package version just now (so informant won't block upgrades of itself), that might help with this cache issue, since there is actually a new package version now -- but otherwise short of increasing pkgrel whenever python updates I'm not sure if there's a way to have the PKGBUILD fix this. |
Thank you for pointing this out. That also fixed it for me. |
I believe this has to do with the pacman hook to run informant, and it crashing. Instead of having to delete the cache, you can combine steps 2 & 3 as 'paru -S --rebuild informant'. |
Edit: nevermind, I just had to rebuild the package as explained here:
The original problem: After upgrading Python from 3.11 to 3.12 informant fails to work.
|
I've been getting this on version 0.6.0 of informant. Reinstalling informant did not fix the problem. (I used |
I'm not familiar with how To get around this issue you have to trigger a rebuild of the package, you cannot reinstall a previously built version. I don't know how to help you do that with |
Please use |
`informant check
Traceback (most recent call last):
File "/usr/bin/informant", line 33, in
sys.exit(load_entry_point('informant==0.4.5', 'console_scripts', 'informant')())
File "/usr/bin/informant", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
File "/usr/lib/python3.10/importlib/metadata/init.py", line 919, in distribution
return Distribution.from_name(distribution_name)
File "/usr/lib/python3.10/importlib/metadata/init.py", line 518, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for informant
`
The text was updated successfully, but these errors were encountered: