Skip to content

Hold the Python base image at 3.14 in Dependabot - #315

Merged
ptr727 merged 1 commit into
developfrom
fix/pin-python-314
Oct 21, 2026
Merged

ptr727 merged 1 commit into
developfrom
fix/pin-python-314

Conversation

@ptr727

@ptr727 ptr727 commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

Dependabot PRs #311 and #312 bump the base image from python:3.14-slim to python:3.15-slim, and both fail the compile test. At runtime ESPHome installs the ESP-IDF 5.5.5 Python dependencies, tree_sitter has no prebuilt wheel for Python 3.15, and the runtime image has no gcc to build it from source.

This holds the python base image at its current minor version by adding a Dependabot ignore for semver-minor and semver-major python updates on both the main and develop docker entries. The floating 3.14-slim tag still picks up patch releases on every build.

Lifting the hold is a manual step once the ESP-IDF toolchain's Python dependencies publish 3.15 wheels.

Verification

  • prose_lint.py --allow-comments, with and without --check sentence-length: clean.
  • Local strict review pass recorded at the pushed content (0 findings after one comment rewording round).

Carries the comments label for the one-line rationale comment on each ignore.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated dependency management settings to keep Python at version 3.14 for supported development and deployment environments.
    • No user-facing functionality or exported interfaces were changed.

ESP-IDF's Python dependencies have no prebuilt wheels for Python 3.15 yet,
and the runtime image carries no compiler to build them, so the 3.15-slim
bump fails the compile test. Ignore minor and major python bumps until the
toolchain supports the next version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ptr727 ptr727 added the comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses label Oct 21, 2026
Copilot AI lite review requested due to automatic review settings October 21, 2026 18:57
@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: bf769e36-969c-4a3f-9a0a-ed22ff0b2f42
📥 Commits

Reviewing files that changed from the base of the PR and between 473a37d and f73d194.

📒 Files selected for processing: 1
  • .github/dependabot.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

Dependabot now ignores minor and major Python updates in the Docker configurations for the main and develop branches.

Changes: Python Update Rules

Layer / File(s) Summary
Docker Python update rules
.github/dependabot.yml
The Docker update configurations for main and develop ignore Python semver-minor and semver-major updates.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to f73d1

The Dependabot rules preserve patch updates while holding minor and major Python updates.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: preventing Dependabot from moving the Python base image beyond version 3.14.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

🟢 Approval recommended

No unresolved review issues were identified.

No open issues 🎉

What changed in this PR

This PR configures Dependabot to keep Python Docker base images on 3.14 while continuing to receive patch updates.

Changes:

  • Ignores Python minor and major updates for main and develop.
  • Documents the Python dependency compatibility constraint.
File Description
.github/​dependabot.yml Adds matching Python version holds to both Docker configurations.

Review effort: Lite

@ptr727

ptr727 commented Oct 21, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head f73d194ce039f941376197effded6e5ed5f75ceb, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@ptr727
ptr727 merged commit a933a70 into develop Oct 21, 2026
13 checks passed
@ptr727
ptr727 deleted the fix/pin-python-314 branch October 21, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants