From 2a6a1215b3a28d3f068fee66b308f3e9a54e4feb Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Fri, 27 Nov 2026 10:12:13 +0100 Subject: [PATCH] Pin gatelock 0.16.2: monotonic stall watch The 2026-11-25 tk.mainloop report (c890f31a21, 1556 ms) was chrony stepping the wall clock 1.33 s during a fresh lock; gatelock 0.16.2 times stalls on the monotonic clock and scans RandR without a full output re-probe (57 -> 0.56 ms per scan). install_systemd.sh's fallback pin was still v0.10.0. Co-Authored-By: Claude Opus 5.5 --- install_systemd.sh | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install_systemd.sh b/install_systemd.sh index 055afd7..5fc4a4c 100755 --- a/install_systemd.sh +++ b/install_systemd.sh @@ -73,7 +73,7 @@ ensure_runtime_deps() { echo "WARNING: could not install $1 automatically" >&2 } _pip_runtime_dep gatelock \ - "gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.10.0#subdirectory=gatelock" + "gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.16.2#subdirectory=gatelock" _pip_runtime_dep crdt_sync \ "crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.11.1#subdirectory=crdt-sync" # The shared credit logo every lock surface shows (_credit.py). diff --git a/pyproject.toml b/pyproject.toml index 1acbb2e..1820278 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ requires-python = ">=3.14" # crdt-sync: shared CRDT merge scheme + sync transports, also used by # diet_guard; here for phone-workout sync, Firebase RTDB only since 2026-10-09 dependencies = [ - "gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.16.1#subdirectory=gatelock", + "gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.16.2#subdirectory=gatelock", "crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.11.1#subdirectory=crdt-sync", "freedays @ git+https://github.com/kuhyx/utils@freedays-v0.4.4#subdirectory=freedays", "earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.24.0#subdirectory=earned_time", diff --git a/requirements.txt b/requirements.txt index da37bb6..ec48c0f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ coverage==7.17.4 crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.11.1#subdirectory=crdt-sync earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.24.0#subdirectory=earned_time freedays @ git+https://github.com/kuhyx/utils@freedays-v0.4.4#subdirectory=freedays -gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.16.1#subdirectory=gatelock +gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.16.2#subdirectory=gatelock holds @ git+https://github.com/kuhyx/utils@holds-v0.1.0#subdirectory=holds kuhy-credit @ git+https://github.com/kuhyx/utils@kuhy-credit-v0.3.2#subdirectory=kuhy_credit mcp==2.3.0