From c75f6310b0cc815c61dd33ed9911c5f84801b54a Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Thu, 19 Nov 2026 18:11:07 +0100 Subject: [PATCH] =?UTF-8?q?get=20rid=20of=20github=20ci/cd=20version=20che?= =?UTF-8?q?ck=20of=20package=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Todo: 2556952d --- .dep-freshness-no-workflow | 2 + .github/workflows/dependency-freshness.yml | 61 ---------------------- crdt-sync/requirements.txt | 2 +- earned_time/requirements.txt | 2 +- feedback_inbox/requirements.txt | 2 +- focus_project/requirements.txt | 2 +- freedays/requirements.txt | 2 +- game_recording/requirements.txt | 2 +- gatelock/requirements.txt | 2 +- holds/requirements.txt | 2 +- leetcode_coach/requirements.txt | 2 +- music_theory/requirements.txt | 2 +- omniroute_offload/requirements.txt | 2 +- scripts/check_dependency_freshness.sh | 2 +- scripts/dep_freshness_changed.sh | 3 +- sickdays/requirements.txt | 2 +- sql_drills/requirements.txt | 2 +- 17 files changed, 18 insertions(+), 76 deletions(-) create mode 100644 .dep-freshness-no-workflow delete mode 100644 .github/workflows/dependency-freshness.yml diff --git a/.dep-freshness-no-workflow b/.dep-freshness-no-workflow new file mode 100644 index 0000000..8a3ff7e --- /dev/null +++ b/.dep-freshness-no-workflow @@ -0,0 +1,2 @@ +# Dependency freshness runs locally only (pre-commit hook); no GitHub Actions +# workflow. This marker stops the fleet installer from re-adding it. diff --git a/.github/workflows/dependency-freshness.yml b/.github/workflows/dependency-freshness.yml deleted file mode 100644 index eb83ff9..0000000 --- a/.github/workflows/dependency-freshness.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: dependency freshness - -# Every dependency on its ecosystem's newest STABLE release, enforced on push -# as well as at commit time. The local pre-commit hook only sees the manifests -# in a commit and can be skipped entirely by a fresh clone that never ran -# `pre-commit install`; this runs `--all` over the whole repo. -# -# `--strict` is CI-only. Offline the gate degrades to its cached answer and -# passes, because `--no-verify` is banned locally and a hook that hard-failed -# on a flaky connection would leave no way to commit. A runner is always -# online, so here an undeterminable answer is a real failure. -# -# Expect this to go red for reasons this repo's commit did not cause: an -# upstream release overnight is enough. That is the chosen behaviour -- the -# alternative is a gate that only notices staleness when someone remembers to -# look. - -on: - push: - branches: [main] - pull_request: - workflow_dispatch: - -jobs: - dependency-freshness: - name: dependencies on newest stable - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - # The gate lives in the shared utils repo so every repo resolves the - # same "latest stable" the same way. Checking it out beats vendoring a - # copy, which is exactly how a gate and its survey start disagreeing. - - name: Check out the shared gate - uses: actions/checkout@v4 - with: - repository: kuhyx/utils - path: .utils - - # Any recent Python runs the gate. The Python TARGET is python.org's - # newest release (registries/toolchain.python_latest), not this - # interpreter: when it was, "3.x" resolved to 3.15.0 on one runner and - # 3.14.8 on the next, and spellcode's allowlist flipped dead/required. - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.x" - - - name: Install the gate's two runtime dependencies - run: python -m pip install --upgrade pyyaml packaging - - - name: Cache registry lookups - uses: actions/cache@v4 - with: - path: ~/.cache/dep-freshness - key: dep-freshness-${{ hashFiles('**/pubspec.yaml', '**/pyproject.toml', - '**/requirements*.txt', '**/package.json', '**/Cargo.toml', '**/go.mod') }} - restore-keys: dep-freshness- - - - name: Every dependency is on newest stable - run: bash .utils/scripts/check_dependency_freshness.sh --all --strict diff --git a/crdt-sync/requirements.txt b/crdt-sync/requirements.txt index 4cb1579..430892d 100644 --- a/crdt-sync/requirements.txt +++ b/crdt-sync/requirements.txt @@ -10,5 +10,5 @@ pynacl==1.6.2 pytest==9.2.0 pytest-cov==7.1.0 requests==2.34.2 -ruff==0.17.5 +ruff==0.17.6 types-requests==2.33.0.20261030 diff --git a/earned_time/requirements.txt b/earned_time/requirements.txt index e394e4c..649dfae 100644 --- a/earned_time/requirements.txt +++ b/earned_time/requirements.txt @@ -7,4 +7,4 @@ pre-commit==4.7.0 pylint==4.1.4 pytest==9.2.0 pytest-cov==7.1.0 -ruff==0.17.5 +ruff==0.17.6 diff --git a/feedback_inbox/requirements.txt b/feedback_inbox/requirements.txt index e394e4c..649dfae 100644 --- a/feedback_inbox/requirements.txt +++ b/feedback_inbox/requirements.txt @@ -7,4 +7,4 @@ pre-commit==4.7.0 pylint==4.1.4 pytest==9.2.0 pytest-cov==7.1.0 -ruff==0.17.5 +ruff==0.17.6 diff --git a/focus_project/requirements.txt b/focus_project/requirements.txt index f413d87..d0ee5e0 100644 --- a/focus_project/requirements.txt +++ b/focus_project/requirements.txt @@ -8,4 +8,4 @@ pre-commit==4.7.0 pylint==4.1.4 pytest==9.2.0 pytest-cov==7.1.0 -ruff==0.17.5 +ruff==0.17.6 diff --git a/freedays/requirements.txt b/freedays/requirements.txt index e394e4c..649dfae 100644 --- a/freedays/requirements.txt +++ b/freedays/requirements.txt @@ -7,4 +7,4 @@ pre-commit==4.7.0 pylint==4.1.4 pytest==9.2.0 pytest-cov==7.1.0 -ruff==0.17.5 +ruff==0.17.6 diff --git a/game_recording/requirements.txt b/game_recording/requirements.txt index e394e4c..649dfae 100644 --- a/game_recording/requirements.txt +++ b/game_recording/requirements.txt @@ -7,4 +7,4 @@ pre-commit==4.7.0 pylint==4.1.4 pytest==9.2.0 pytest-cov==7.1.0 -ruff==0.17.5 +ruff==0.17.6 diff --git a/gatelock/requirements.txt b/gatelock/requirements.txt index e394e4c..649dfae 100644 --- a/gatelock/requirements.txt +++ b/gatelock/requirements.txt @@ -7,4 +7,4 @@ pre-commit==4.7.0 pylint==4.1.4 pytest==9.2.0 pytest-cov==7.1.0 -ruff==0.17.5 +ruff==0.17.6 diff --git a/holds/requirements.txt b/holds/requirements.txt index e394e4c..649dfae 100644 --- a/holds/requirements.txt +++ b/holds/requirements.txt @@ -7,4 +7,4 @@ pre-commit==4.7.0 pylint==4.1.4 pytest==9.2.0 pytest-cov==7.1.0 -ruff==0.17.5 +ruff==0.17.6 diff --git a/leetcode_coach/requirements.txt b/leetcode_coach/requirements.txt index 78c4b8e..93215ac 100644 --- a/leetcode_coach/requirements.txt +++ b/leetcode_coach/requirements.txt @@ -16,5 +16,5 @@ pytest-cov==7.1.0 pytest-randomly==5.1.0 pytest-xdist==3.8.0 requests==2.34.2 -ruff==0.17.5 +ruff==0.17.6 types-requests==2.33.0.20261030 diff --git a/music_theory/requirements.txt b/music_theory/requirements.txt index 80c845c..5687fc6 100644 --- a/music_theory/requirements.txt +++ b/music_theory/requirements.txt @@ -8,4 +8,4 @@ pre-commit==4.7.0 pylint==4.1.4 pytest==9.2.0 pytest-cov==7.1.0 -ruff==0.17.5 +ruff==0.17.6 diff --git a/omniroute_offload/requirements.txt b/omniroute_offload/requirements.txt index e394e4c..649dfae 100644 --- a/omniroute_offload/requirements.txt +++ b/omniroute_offload/requirements.txt @@ -7,4 +7,4 @@ pre-commit==4.7.0 pylint==4.1.4 pytest==9.2.0 pytest-cov==7.1.0 -ruff==0.17.5 +ruff==0.17.6 diff --git a/scripts/check_dependency_freshness.sh b/scripts/check_dependency_freshness.sh index e6ca6f7..2921064 100755 --- a/scripts/check_dependency_freshness.sh +++ b/scripts/check_dependency_freshness.sh @@ -14,7 +14,7 @@ # # Usage: # scripts/check_dependency_freshness.sh [ ...] # pre-commit -# scripts/check_dependency_freshness.sh --all --strict # CI +# scripts/check_dependency_freshness.sh --all --strict # full local sweep # # Exit: 0 current | 1 behind | 2 allowlist wrong | 3 undeterminable (offline) # ============================================================================ diff --git a/scripts/dep_freshness_changed.sh b/scripts/dep_freshness_changed.sh index b533ede..6bac9e9 100755 --- a/scripts/dep_freshness_changed.sh +++ b/scripts/dep_freshness_changed.sh @@ -7,7 +7,8 @@ # every manifest in the monorepo, so one feature branch went red on 43 stale # pins in 12 projects it never touched. Scoping to changed manifests makes the # hook answer "did this change leave a stale pin?". The repo-wide question -# stays with CI (.github/workflows/dependency-freshness.yml: --all --strict). +# is a local sweep (scripts/check_dependency_freshness.sh --all --strict); +# there is no CI workflow for it (.dep-freshness-no-workflow). # # "Changed" = differs from the merge-base with $DEP_FRESHNESS_BASE (default # main, then origin/main), working tree included, plus untracked files. diff --git a/sickdays/requirements.txt b/sickdays/requirements.txt index e394e4c..649dfae 100644 --- a/sickdays/requirements.txt +++ b/sickdays/requirements.txt @@ -7,4 +7,4 @@ pre-commit==4.7.0 pylint==4.1.4 pytest==9.2.0 pytest-cov==7.1.0 -ruff==0.17.5 +ruff==0.17.6 diff --git a/sql_drills/requirements.txt b/sql_drills/requirements.txt index e394e4c..649dfae 100644 --- a/sql_drills/requirements.txt +++ b/sql_drills/requirements.txt @@ -7,4 +7,4 @@ pre-commit==4.7.0 pylint==4.1.4 pytest==9.2.0 pytest-cov==7.1.0 -ruff==0.17.5 +ruff==0.17.6