And to rebild them all with latest python (python 3.10) you can do following :
pacman -Qoq /usr/lib/python3.9 | yay -S - --rebuild
source: reddit
Git Clone URL: | https://aur.archlinux.org/caffeine-ng.git (read-only, click to copy) |
---|---|
Package Base: | caffeine-ng |
Description: | Status bar application able to temporarily inhibit the screensaver and sleep mode. |
Upstream URL: | https://codeberg.org/WhyNotHugo/caffeine-ng |
Keywords: | caffeine powersaving screensaver |
Licenses: | GPL-3.0-or-later |
Conflicts: | caffeine, caffeine-bzr, caffeine-oneclick, caffeine-systray |
Provides: | caffeine, caffeine-bzr, caffeine-oneclick, caffeine-systray |
Replaces: | caffeine-oneclick, caffeine-systray |
Submitter: | whynothugo |
Maintainer: | whynothugo (darose) |
Last Packager: | whynothugo |
Votes: | 119 |
Popularity: | 0.091067 |
First Submitted: | 2014-10-19 05:26 (UTC) |
Last Updated: | 2023-05-08 10:23 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 23 Next › Last »
And to rebild them all with latest python (python 3.10) you can do following :
pacman -Qoq /usr/lib/python3.9 | yay -S - --rebuild
source: reddit
After upgrading to Python 3.10, you need to rebuild all Python packages built with Python 3.9. You can get a list of these packages using:
pacman -Qo /usr/lib/python3.9
You can reinstall these with:
paru -S --aur --rebuild $(pacman -Qo /usr/lib/python3.9)
caffeine not working anymore after python upgrade to 3.10.1
it reports this error:
importlib.metadata.PackageNotFoundError: No package metadata was found for caffeine-ng
I tried to uninstall and reinstall but the error persists.
I am using pyenv and had to install "dbus-python" manually using pip.
build fails as python-pulsectl build fails with following error.
error: failed to commit transaction (conflicting files)
python-pulsectl: /home/xxxx/.pyenv exists in filesystem
Errors occurred, no packages were upgraded.
Updated, thanks!
A few improvements:
python setup.py install --root="$pkgdir"
, do python setup.py install --root="$pkgdir" --optimize=1 --skip-build
. Why? See https://wiki.archlinux.org/title/Python_package_guidelinesNM. I see that this has already been referenced in several bug reports. I'll stay on 3.4.2 until the bug fixes for audio get released in the next version.
Looks like this might be the trigger:
INFO:caffeine.core:Audio playback detected (firefox). Inhibiting.
I've been having an issue with caffeine v3.5.1, where it automatically activates even when I'm not in full-screen mode in any window. (I think it might be getting triggered by browser windows - Firefox.) v3.4.2 doesn't have this issue. Anyone else experiencing this / have a fix/workaround?
Pinned Comments
whynothugo commented on 2023-05-05 09:34 (UTC)
After an upgrade to Python 3.11, you need to rebuild this package (and all Python packages in the AUR).