From 058f806db7608eea5f65c0b63a071d679b58dbe3 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Mon, 7 Sep 2026 15:58:42 +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 | 10 +++++----- app/pubspec.yaml | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c097a29..d74d3f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -102,13 +102,13 @@ repos: additional_dependencies: - pytest - requests - # Kept in step with pyproject.toml on purpose: pip refuses two - # different direct URLs for one distribution, so a stale pin here - # becomes an unresolvable hook environment the moment freedays -- - # which requires gatelock v0.7.3 -- joins the list. + # Kept in step with pyproject.toml: pip refuses two different + # 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 # Test suites intentionally use patterns (protected-access, magic-value diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 72b6c08..53f78ce 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -2,7 +2,7 @@ name: diet_guard_app description: "Companion phone app for diet_guard: log meals on the go." publish_to: 'none' -version: 1.0.78+1 +version: 1.0.79+1 environment: sdk: ^3.12.2 diff --git a/pyproject.toml b/pyproject.toml index 5168027..340a62d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,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", "requests==2.34.2", ] diff --git a/requirements.txt b/requirements.txt index d3f0eea..d04d5f3 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