Niko Föhr
Niko Föhr
#### ALL software version info - panel 1.4.0 + bokeh 3.4.0 (alternatively: panel: 1.3.8 + bokeh 3.2.2) - param 2.1.0 - CPython 3.12.2 on Ubuntu 22.04.4 - Google Chrome 123.0.6312.58...
Hi, I'm the maintainer of the wakepy package, and was just looking where the package is used. I noticed that you install wakepy on all systems, but utilize it only...
Not all people read all the documentation. Adding `on_fail="warn"` in the examples, like this: ```python from wakepy import keep with keep.running(on_fail="warn"): # Do something that takes a long time. The...
Would it be useful to have an `on_success` / `on_activation` hook which would allow for calling a function when activation succeeds? There's already [`on_fail` action](https://wakepy.readthedocs.io/v0.9.1/user-guide.html#controlling-the-on-fail-action) which is similar but for...
It's probably quite usual use case to do something like: ```python if some_flag: with keep.running(): do_something() else: do_something() ``` I thought first that there could be some conditional flag added...
This naturally depends on the OS, desktop environment etc. It would be good if that was documented. See also discussions in: https://github.com/fohrloop/wakepy/discussions/366
The docs use syntax which check `m.success`. Would be good to introduce the `on_fail` action in the [migration guide](https://wakepy.readthedocs.io/v0.9.1/migration.html), too.
[This comment](https://stackoverflow.com/questions/72436579/setthreadexecutionstatees-system-required-does-not-prevent-system-sleep-on-win#comment131861436_72515859) says: > Prior to Windows 11 power requests were held an additional 2 minutes after they were dropped by the application. That's probably valuable information in the wakepy...
Found this one accidentally when debugging https://github.com/fohrloop/wakepy/issues/276. This will freeze Ubuntu 22.04, GNOME 42.9, development version of 0.8.0 wakepy (for example https://github.com/fohrloop/wakepy/commit/c574e529ea01fdeb4dbb4469bf9d1b84841af730): ```python from wakepy import keep for i in...