Skip to content

chore(deps-dev): bundle five Python dependency bumps - #3201

Merged
vpetersson merged 1 commit into
masterfrom
chore/bundle-python-dep-bumps
Jul 16, 2026
Merged

chore(deps-dev): bundle five Python dependency bumps#3201
vpetersson merged 1 commit into
masterfrom
chore/bundle-python-dep-bumps

Conversation

@vpetersson

Copy link
Copy Markdown
Contributor

Bundles the five open Dependabot Python bumps into a single PR, and fixes the lockfile drift each of them carries.

What

Package From To
django-stubs-ext 6.0.6 6.0.7
pillow-heif 1.3.0 1.4.0
sentry-sdk 2.63.0 2.65.0
types-python-dateutil 2.9.0.20260518 2.9.0.20260716
types-PyYAML 6.0.12.20260408 6.0.12.20260518

Supersedes:

The fix

Every one of the five Dependabot PRs bumps the pin in pyproject.toml but leaves uv.lock resolved to the old version, so each would merge with the lock out of sync with the manifest. This PR regenerates uv.lock alongside the pins. uv lock --check passes, and the only versions that move in the lock are the five above — no transitive churn.

Validation

All run locally on this branch:

  • uv lock --check — clean, 125 packages resolved.
  • uv run ruff check . — all checks passed; ruff format --check — 168 files already formatted.
  • mypy — reproduced the CI job (uv pip install --group mypy in a clean venv): Success: no issues found in 168 source files. This is the bump with the most teeth, since three of the five are typing stubs and django-stubs-ext has to stay compatible with the django-stubs==6.0.5 pin.
  • pytest -m "not integration" — 1480 passed.
  • pillow-heif is the only bump with real runtime surface (it backs the upload-time HEIC/HEIF -> lossless WebP normalisation). Its tests are behind a skipif that silently passes when the library is missing, so I confirmed they actually execute rather than skip: pytest -k "heif or heic" -> 7 passed, 0 skipped, decoding real HEIC input on 1.4.0.
  • sentry-sdk: verified the exact API surface settings.py depends on (sentry_sdk.types.Event/Hint, ignore_logger, init(before_send=...), set_tag) still imports, and that django.setup() drives sentry_sdk.init cleanly on 2.65.0.

🤖 Generated with Claude Code

Bundles the five open Dependabot bumps into a single change and
regenerates uv.lock, which each individual PR left pinned to the old
versions:

- django-stubs-ext 6.0.6 -> 6.0.7
- pillow-heif 1.3.0 -> 1.4.0
- sentry-sdk 2.63.0 -> 2.65.0
- types-python-dateutil 2.9.0.20260518 -> 2.9.0.20260716
- types-PyYAML 6.0.12.20260408 -> 6.0.12.20260518

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@vpetersson
vpetersson requested a review from a team as a code owner July 16, 2026 13:44
@vpetersson
vpetersson requested a review from Copilot July 16, 2026 13:44
@sonarqubecloud

Copy link
Copy Markdown

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

Bundles five existing Dependabot Python dependency bumps into a single update and regenerates uv.lock so the lockfile matches the pinned versions in pyproject.toml.

Changes:

  • Bumped five dependencies (django-stubs-ext, pillow-heif, sentry-sdk, types-python-dateutil, types-PyYAML) in pyproject.toml.
  • Regenerated uv.lock to reflect only those version changes (no other resolved-version churn).

Reviewed changes

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

File Description
pyproject.toml Updates pinned versions for the five targeted dependencies across the relevant dependency groups.
uv.lock Updates the resolved versions + artifact metadata to match the new pins for those same five packages.

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

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.

2 participants