From 36330ed2d3f05f7b07c19983a8f20d4702d79f77 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sat, 25 Jul 2026 15:42:21 +0200 Subject: [PATCH] Point wake_alarm at gatelock v0.2.0 Three pins, all of which have to move together or the gate lies: the runtime dependency in pyproject.toml, the mirror of it in requirements.txt, and -- easy to miss -- the copy inside the pylint hook's own isolated environment in .pre-commit-config.yaml. With only the first two bumped, pre-commit still resolved 0.1.1 and reported the v0.2.0 API as no-name-in-module. --- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2642ddf..191c863 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -96,7 +96,7 @@ repos: additional_dependencies: - pytest - python-kasa - - gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.1.1#subdirectory=gatelock + - gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.2.0#subdirectory=gatelock # Test suites intentionally use patterns (protected-access, magic-value # comparisons) that don't belong in the source-code 10/10 gate. exclude: ^(\.venv/)|(^|/)(tests/|conftest\.py) diff --git a/pyproject.toml b/pyproject.toml index 6e8b10d..3277ede 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ version = "1.0.0" description = "Phone-driven wake alarm with fan ramp and smart-plug control" requires-python = ">=3.10" dependencies = [ - "gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.1.1#subdirectory=gatelock", + "gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.2.0#subdirectory=gatelock", "python-kasa>=0.7", ] diff --git a/requirements.txt b/requirements.txt index e2701e7..bc119ad 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ bandit>=1.7.0 codespell>=2.2.0 coverage>=7.4.0 -gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.1.1#subdirectory=gatelock +gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.2.0#subdirectory=gatelock mypy>=1.8.0 pre-commit>=3.6.0 pylint>=3.0.0