Skip to content

chore(deps): patch open Python Dependabot alerts - #13

Open
ElliotWood13 wants to merge 3 commits into
mainfrom
chore/bump-py-deps-2026-05-08
Open

chore(deps): patch open Python Dependabot alerts#13
ElliotWood13 wants to merge 3 commits into
mainfrom
chore/bump-py-deps-2026-05-08

Conversation

@ElliotWood13

Copy link
Copy Markdown
Contributor

What

Patch all open Python Dependabot alerts on this repo via uv constraint-dependencies.

Why

This repo migrated to a pure Python service — there is no Next.js to bump. However, the active Dependabot alerts target three transitive Python deps that were addressed by an upstream patch.

Open alerts addressed:

  • aiohttp <=3.13.3 (multiple medium/low) -> 3.13.5
  • python-dotenv <1.2.2 (medium) -> 1.2.2
  • requests <2.33.0 (medium) -> 2.33.1

These are pinned via [tool.uv] constraint-dependencies because they are transitive (not direct deps in [project.dependencies]), so a constraint is the right tool — it forces a minimum version during resolution without adding noise to the public dep list.

Test plan

  • CI passes (pytest, lint)
  • uv lock shows aiohttp@3.13.5, python-dotenv@1.2.2, requests@2.33.1
  • Run the integration tests against testnet to confirm no regression in HTTP behaviour

Security & data impact

Security impact: Patches multiple disclosed CVEs in transitive Python deps. No app-level auth or data-flow changes.
Data classification affected: None
Audit log updated: N/A

Rollback

Revert commit. No state migration.

- aiohttp 3.13.3 -> 3.13.5 (multiple medium/low alerts)
- python-dotenv 1.2.1 -> 1.2.2 (medium)
- requests 2.32.5 -> 2.33.1 (medium)

Pinned via [tool.uv] constraint-dependencies since these are transitive
deps and not listed in [project.dependencies].
Copilot AI review requested due to automatic review settings May 8, 2026 12:22
@ElliotWood13
ElliotWood13 requested review from a team as code owners May 8, 2026 12:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo’s Python dependency resolution to remediate open Dependabot alerts by enforcing minimum transitive dependency versions via uv constraints and refreshing the lockfile accordingly.

Changes:

  • Added uv constraint-dependencies to enforce minimum versions for affected transitive dependencies.
  • Updated uv.lock to include the constraint manifest and resolve to newer patched versions of aiohttp, python-dotenv, and requests.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Adds [tool.uv].constraint-dependencies to enforce minimum versions for transitive deps.
uv.lock Records the constraints in [manifest] and updates resolved package versions/artifacts for the patched deps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml Outdated
Bump constraint floors to match the resolved versions documented in the
PR description so future uv locks cannot regress to lower patched
releases:
- aiohttp >=3.13.4 -> >=3.13.5
- requests >=2.33.0 -> >=2.33.1

@ari-ethena ari-ethena left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just upgrade the libs please dont add constraint dependencies.

Per review feedback, the patched transitive versions
(aiohttp 3.13.5, python-dotenv 1.2.2, requests 2.33.1) are
already pinned by uv.lock. The [tool.uv] constraint block is
redundant given uv sync --frozen in CI.
@ElliotWood13
ElliotWood13 requested a review from ari-ethena May 8, 2026 15:19
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.

3 participants