Skip to content

Keep the Python version files out of Renovate - #5

Merged
rayakame merged 1 commit into
mainfrom
renovate-python-version
Nov 26, 2026
Merged

rayakame merged 1 commit into
mainfrom
renovate-python-version

Conversation

@rayakame

@rayakame rayakame commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Renovate stops updating .python-version. The packages support Python 3.12 and newer, and releases build and test with 3.12, so local runs and CI should use the lowest supported version instead of following the newest release.

Summary by CodeRabbit

  • Chores
    • Updated automated maintenance settings. There are no changes to app features or user-facing behavior.

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

renovate/default.json adds a disabled pyenv package rule. Its description states that .python-version is intended to remain at the lowest supported Python version used for release builds and tests.

Changes: Renovate pyenv rule

Layer / File(s) Summary
Add the pyenv package rule
renovate/default.json
Lines 34–38 add a disabled pyenv rule and describe the intended .python-version policy.
Merge Risk: Minimal · up to 99b83

This change stops Renovate from bumping .python-version, so local runs and CI stay on the lowest supported Python version. It has no runtime impact and is easy to revert, so it is ready to merge.

Security architecture risk: Minimal · up to 99b83

The change narrows Renovate’s update policy for Python version files. It does not change the pinned Python version or expand the bot’s permissions.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Keep the Python version files out of Renovate" matches the changeset, which adds a disabled pyenv package rule to renovate/default.json so Renovate does not update .python-version. It is a …
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: Title check

Explanation

The title "Keep the Python version files out of Renovate" matches the changeset, which adds a disabled pyenv package rule to renovate/default.json so Renovate does not update .python-version. It is a plain imperative sentence in sentence case, with no prefix, scope, issue number, or trailing period, so it meets the configured title requirements.

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
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between d03804c and 99b8365.

Files selected for processing: 1

  • renovate/default.json
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

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

Recent review details

Context from checks skipped due to timeout: 1

  • GitHub Check: CodeRabbit
Additional context used

Path-based instructions: 1

The Renovate preset every repository reads from main, so a change applies everywhere at once.

CodeRabbit configuration file

Files:

  • renovate/default.json
Multi-repo context libre-bots/hub, libre-bots/kit

Linked repositories findings

libre-bots/hub

Python version file and package constraint:

  • A .python-version file exists at clients/python/.python-version. Its contents were not printed, so I haven't confirmed the pinned version.
  • clients/python/pyproject.toml declares requires-python = ">=3.12" [::libre-bots/hub::clients/python/pyproject.toml:9]. This matches the PR's stated 3.12 minimum.

Renovate configuration:

  • A renovate.json exists at the repository root. The search found no ignorePaths, ignoreDeps, or python-version references in it, so no existing rule keeps .python-version out of Renovate.

libre-bots/kit

Python version file and package constraint:

  • A .python-version file exists at the repository root. Its contents were not printed.
  • pyproject.toml declares requires-python = ">=3.12" [::libre-bots/kit::pyproject.toml:9]. This also matches the PR's stated minimum.

Renovate configuration:

  • A root renovate.json exists. As in hub, the search found no ignorePaths, ignoreDeps, or python-version references.

Review considerations

  • Both repositories have a .python-version file alongside a >=3.12 floor. If the PR adds an ignore rule for these files, it would need to go in each repository's renovate.json, since neither currently has one.
  • The sandbox checkout reflects the PR branch, but I did not verify whether this PR modifies renovate.json or the .python-version files, so these results describe the current state of the checkout.
  • Both repositories call shared CI and release workflows pinned by commit, so the .python-version value may also flow into those workflows. The search did not cover the workflow files for python-version usage beyond the patterns above, so I can't confirm that from these results.

@rayakame
rayakame merged commit da234fd into main Nov 26, 2026
4 checks passed
@rayakame
rayakame deleted the renovate-python-version branch November 26, 2026 00:06
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