rebuild fails with this error:
Program python3 (click, ewmh, setproctitle, pulsectl) found: NO modules: click, ewmh, setproctitle
meson.build:24:15: ERROR: python3 is missing modules: pulsectl
EDIT: nevermind, solved rebuilding python-pulsectl
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: | darose |
Votes: | 127 |
Popularity: | 0.76 |
First Submitted: | 2014-10-19 05:26 (UTC) |
Last Updated: | 2024-09-24 00:34 (UTC) |
rebuild fails with this error:
Program python3 (click, ewmh, setproctitle, pulsectl) found: NO modules: click, ewmh, setproctitle
meson.build:24:15: ERROR: python3 is missing modules: pulsectl
EDIT: nevermind, solved rebuilding python-pulsectl
No change is needed for Python 3.12; this package supports it fine. You just need to rebuild locally.
@hmeiser2000 You need to rebuild and reinstall the package, because Arch upgraded python to v3.12.
Since last Systemupdate caffeine is not working anymore:
└─[0] <> caffeine Traceback (most recent call last): File "/usr/bin/caffeine", line 3, in <module> from caffeine.cli import cli ModuleNotFoundError: No module named 'caffeine'
I don't know which packet changed. Anybody else got this problem?
@whynothugo do you have any idea when the next release is planned? Specifically, i'd be interested in my PRs that added MPRIS support. Now that caffeine-ng-git is orphan this issue seems a little more relevant ^^
You can put me down as a co-maintainer if no one else volunteers. I might need to ask you some packaging questions from time to time though.
I'm not actively using this package on Arch. If somebody wants to (co)-maintain it, the help is appreciated.
Please remove python-xdg dependency; it is not used.
paths.py gets the users config dir path via os.environ.get
.
@whynothugo
The above command issues a bunch of output similar to what's shown below, the important part being the version of python shown (3.10) compared to the actual python version installed (Python 3.11.3). I've tried removing and reinstalling python-pulsectl using "yay". The result remains the same.
"python-pulsectl /usr/lib/python3.10/site-packages/pulsectl/tests/test_with_dummy_instance.py"
@Senk42: Sounds like you're missing python-pulsectl. Can you check pacman -Ql python-pulsectl
, and make sure that the package is built for python 3.11?
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).