Skip to content

chore: Pin Python dependencies and track them with Dependabot#5

Merged
polius merged 1 commit into
mainfrom
pin-python-deps
Jun 17, 2026
Merged

chore: Pin Python dependencies and track them with Dependabot#5
polius merged 1 commit into
mainfrom
pin-python-deps

Conversation

@polius

@polius polius commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Pins the Python dependencies so Dependabot can actually update them.

Why

Unpinned requirements (fastapi, uvicorn, …) give Dependabot no version to compare against, so it never opens PRs. Pinning fixes that and also makes builds reproducible.

What changed

  • api/requirements.txt — pinned to the versions currently running in the container (latest-at-build, known-good):

    Package Version
    fastapi 0.137.1
    uvicorn[standard] 0.49.0
    pydantic 2.13.4
    aiosqlite 0.22.1
    python-multipart 0.0.32
    pyotp 2.10.0
    qrcode[pil] 8.2
    bcrypt 5.0.0
  • .github/dependabot.yml — added a pip ecosystem (directory /api), weekly + grouped, matching the existing ecosystems.

Notes

  • These are the exact versions already installed, so a rebuild installs an identical set — no behaviour change.
  • After merge, Dependabot will open update PRs for any of these with newer releases. Patch/minor auto-merge; majors wait for review.

- Pin api/requirements.txt to the currently-running (latest-at-build)
  versions so Dependabot has a baseline to bump from.
- Add a pip ecosystem (directory /api) to dependabot.yml, weekly and
  grouped, matching the other ecosystems.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@polius polius merged commit 317e59e into main Jun 17, 2026
1 check passed
@polius polius deleted the pin-python-deps branch June 17, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant