Skip to content

Audit Cross-Checks No Python Dependabot Ecosystem, and KiCadLibrary's requirements-dev.txt Is Untracked #2286

Open

Description

@ptr727

Measured

A read-only sweep on 2026-10-02 covered all 22 active registry repositories. It read each repository's .github/dependabot.yml on main and develop, plus its full git tree, checking that no tree was truncated.

Python manifests that no pip or uv entry tracks:

Repository Manifest What it declares Entry needed
KiCadLibrary requirements-dev.txt four dependencies with floors (pymupdf, pikepdf, Pillow, pytest) pip, directory /, for both main and develop

Every other Python manifest is either tracked or has nothing to track:

  • Tracked. aiopurpleair and Financial-Modeling use uv /, homeassistant-purpleair uses pip /, HomeAutomation-Config CloudInit uses uv, and Blog scripts uses pip. ESPHome-Config's easystart/python is a uv workspace member, so the root uv.lock and the uv / entry already cover it.
  • Config-only, nothing to track. These are the Scripts profile, with no [project], no dependencies, and no lock: this hub's root pyproject.toml, PlexCleaner RegressionTests, HomeAutomation-Config's Cloudflare, MutationSweep, and Notify, and Blog checks.

Devcontainers no devcontainers entry tracks: only ESPHome-NonRoot, which #1609 already records. homeassistant-purpleair and ESPHome-Config declare devcontainers /. This hub's catalog/snippets/devcontainer/* files are templates, not a live devcontainer.

Also measured:

The Gap Behind It

spec/audit.py asserts only the github-actions and devcontainers ecosystems a tree implies. Its own comment says that language ecosystems such as nuget, uv, and npm are directory-scoped and "not yet cross-checked". So setup.dependabot.ecosystems in spec/project-types.json is an intent the audit does not measure for Python, and a missing pip entry passes every audit.

Proposal

  1. KiCadLibrary. Add pip for /, targeting both main and develop. KiCadLibrary is one of the seven repositories whose rulesets were deliberately left un-applied on 2026-10-02 pending a resync, so this can ride with that resync.

  2. spec/audit.py. Cross-check Python directories against pip/uv entries, using the profile rule this sweep applied by hand:

    • a directory carrying uv.lock implies uv
    • requirements*.txt implies pip
    • a pyproject.toml with [project] dependencies and no lock implies pip or uv, unless it is a member of a uv workspace whose root lock is tracked
    • a config-only pyproject.toml implies nothing

    Report a missing entry the way the github-actions and devcontainers checks already do.

  3. Record in AUDIT.md that a uvx tool@version pin in a workflow is invisible to Dependabot. Pin with @latest, or track the version through a manifest Dependabot reads.

Activity

  1. added
    gate
    on Oct 2, 2026
  2. ptr727 commented on Nov 25, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-25): this group merged into develop as #4460 (hub items 2 and 3) and its branch and worktree were cleaned up, so the claim holds no files. #2286 stays open for item 1, a write in KiCadLibrary.

    Backlog burndown claim (away run 2026-11-25, round 1, refill group G): branch burndown/audit-python-dependabot, issue #2286, its hub items 2 and 3 only.

    Item 1, adding a pip entry to KiCadLibrary's .github/dependabot.yml, is a write outside this repository. It stays open here for that repository's resync, and this group does not touch it.

    Predicted files:

    • spec/audit.py, check_dependabot_ecosystems and its helpers: cross-check Python directories in the tree against declared pip/uv entries by the issue's profile rule (uv.lock implies uv, requirements*.txt implies pip, a pyproject.toml with [project] dependencies and no lock implies pip or uv unless it is a member of a uv workspace whose root lock is tracked, a config-only pyproject.toml implies nothing), reporting a missing entry as the github-actions and devcontainers checks already do.
    • tests/test_audit_helpers.py, constructed fixtures for each profile case, the workspace-member case included.
    • AUDIT.md, section 4 "Dependabot ecosystem coverage": the sentence saying language ecosystems are audited by inspection, the by-hand script where it must agree, and the note that a uvx tool@version pin in a workflow is invisible to Dependabot (item 3).
    • spec/project-types.json, the setup.dependabot.ecosystems assert, which says language ecosystems are audited by inspection.
    • spec/audit_dependabot.py (new), the Dependabot ecosystem helpers moved out of spec/audit.py, which sits at its 3000-line ceiling, plus the new Python cross-check.
    • tests/test_audit.py, the run_audit fixture text for the tree's pyproject.toml, and tests/test_audit_size.py, a line ceiling for the new module. (Extended by the orchestrator on 2026-11-25 after the worker reported the need; no other group holds either file.)

    Any other group needing one of these files waits for this branch to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions