Skip to content

chore(deps-dev): bump the python group, keeping djangorestframework-stubs - #3341

Open
vpetersson-bot wants to merge 1 commit into
masterfrom
fix/dependabot-drf-stubs-3339
Open

vpetersson-bot wants to merge 1 commit into
masterfrom
fix/dependabot-drf-stubs-3339

Conversation

@vpetersson-bot

Copy link
Copy Markdown
Contributor

Why

Dependabot's open python-group update rewrote the dev-host entry
djangorestframework-stubs==3.18.1 into djangorestframework==3.18.1,
dropping the stubs package from the dev/mypy dependency groups. It looks
like it collapsed the two similarly-named packages while bumping
djangorestframework 3.18.0 → 3.18.1 in the server group.

mypy_drf_plugin ships inside djangorestframework-stubs and is named in
[tool.mypy] plugins, so run-mypy (3.13) failed before checking anything:

pyproject.toml:1: error: Error importing plugin "mypy_drf_plugin.main": No module named 'mypy_drf_plugin'  [misc]
Found 1 error in 1 file (errors prevented further checking)

What

The same seven bumps Dependabot intended, with the dev-host stubs entry
left alone:

Package From To
ansible-core 2.21.3 2.21.4
django-dbbackup 5.3.0 5.3.1
djangorestframework 3.18.0 3.18.1
pygit2 1.20.0 1.20.1
ruff 0.16.6 0.16.7
sentry-sdk 2.68.1 2.69.1
time-machine 3.5.0 3.5.1

All are patch-level. uv.lock was regenerated with uv lock rather than
hand-edited, and resolves exactly those seven and nothing else.

Verification

  • uv run mypy . — Success: no issues found in 202 source files
  • uv run ruff check . — All checks passed
  • uv run ruff format --check . — 255 files already formatted

Supersedes Dependabot's python-group PR, which can be closed once this merges.

🤖 Generated with Claude Code

…tubs

Dependabot's python group update rewrote the `dev-host` entry
`djangorestframework-stubs==3.18.1` as `djangorestframework==3.18.1`,
dropping the stubs package entirely. `mypy_drf_plugin` ships inside
djangorestframework-stubs and is named in `[tool.mypy] plugins`, so
mypy aborted before type-checking anything:

    pyproject.toml:1: error: Error importing plugin
    "mypy_drf_plugin.main": No module named 'mypy_drf_plugin'  [misc]

This carries the same seven bumps Dependabot intended, with the
dev-host stubs entry left in place:

  ansible-core       2.21.3  -> 2.21.4
  django-dbbackup    5.3.0   -> 5.3.1
  djangorestframework 3.18.0 -> 3.18.1
  pygit2             1.20.0  -> 1.20.1
  ruff               0.16.6  -> 0.16.7
  sentry-sdk         2.68.1  -> 2.69.1
  time-machine       3.5.0   -> 3.5.1

uv.lock regenerated with `uv lock`. `uv run mypy .` passes
(202 source files), as do `ruff check` and `ruff format --check`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
@vpetersson-bot
vpetersson-bot requested a review from a team as a code owner September 17, 2026 08:10
Copilot AI lite review requested due to automatic review settings September 17, 2026 08:10
@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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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