From f716b9529fb36c995f88e4b2bc238683b2dfdd77 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Mon, 7 Sep 2026 15:58:57 +0200 Subject: [PATCH] Pin freedays v0.2.0 v0.2.0 drops freedays's gatelock dependency (importing gatelock pulled in tkinter, so the headless pool needed a GUI toolkit) and adds the sync timer that makes a day marked on the phone actually reach this machine. Mechanical, but not optional: the freshness gate compares the pinned tag against the newest release, so leaving v0.1.0 here would turn this repo red on its next commit. Suite re-run against v0.2.0 before pinning it. Co-Authored-By: Claude Opus 5 --- .pre-commit-config.yaml | 14 ++++++++------ pyproject.toml | 2 +- requirements.txt | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b5059ba..57118b2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -123,11 +123,12 @@ repos: additional_dependencies: - pytest # Kept in step with pyproject.toml: pip refuses two different - # direct URLs for one distribution, so a stale pin here becomes - # an unresolvable hook env once freedays joins the list. + # direct URLs for one distribution, so any pin that drifts from + # the manifest becomes an unresolvable hook environment rather + # than merely an old one. - gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock - crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync - - freedays @ git+https://github.com/kuhyx/utils@freedays-v0.1.0#subdirectory=freedays + - freedays @ git+https://github.com/kuhyx/utils@freedays-v0.2.0#subdirectory=freedays - mcp>=2,<3 - pydantic - id: pylint @@ -142,11 +143,12 @@ repos: additional_dependencies: - pytest # Kept in step with pyproject.toml: pip refuses two different - # direct URLs for one distribution, so a stale pin here becomes - # an unresolvable hook env once freedays joins the list. + # direct URLs for one distribution, so any pin that drifts from + # the manifest becomes an unresolvable hook environment rather + # than merely an old one. - gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock - crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync - - freedays @ git+https://github.com/kuhyx/utils@freedays-v0.1.0#subdirectory=freedays + - freedays @ git+https://github.com/kuhyx/utils@freedays-v0.2.0#subdirectory=freedays - mcp>=2,<3 - pydantic diff --git a/pyproject.toml b/pyproject.toml index df200c2..e18a6f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ requires-python = ">=3.14" dependencies = [ "gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock", "crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync", - "freedays @ git+https://github.com/kuhyx/utils@freedays-v0.1.0#subdirectory=freedays", + "freedays @ git+https://github.com/kuhyx/utils@freedays-v0.2.0#subdirectory=freedays", ] [project.scripts] diff --git a/requirements.txt b/requirements.txt index a710971..f502518 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ bandit==1.9.4 codespell==2.4.3 coverage==7.16.0 crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync -freedays @ git+https://github.com/kuhyx/utils@freedays-v0.1.0#subdirectory=freedays +freedays @ git+https://github.com/kuhyx/utils@freedays-v0.2.0#subdirectory=freedays gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock mcp==2.1.1 mypy==2.3.1