Skip to content

Pin pre-commit Python to 3.14 - #3937

Merged
MarqRazz merged 2 commits into
moveit:mainfrom
MarqRazz:marq/fix/pin-precommit-python
Oct 26, 2026
Merged

MarqRazz merged 2 commits into
moveit:mainfrom
MarqRazz:marq/fix/pin-precommit-python

Conversation

@MarqRazz

@MarqRazz MarqRazz commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

python-version: 3.x now resolves to Python 3.15, and cmake-format crashes on it (ValueError: Cannot use capturing groups in re.Scanner), so pre-commit fails on every PR (e.g. #3828). This pins the format job to 3.14 until cmakelang is fixed or replaced.

Summary by CodeRabbit

  • Chores
    • Updated the Python version used by the formatting workflow to Python 3.14. This is a behind-the-scenes maintenance change and does not alter the app’s user-facing behavior.

@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c8028f09-3404-41f9-97e9-a5a5ddf53bf4
📥 Commits

Reviewing files that changed from the base of the PR and between 72a9e6f and 0fbbbae.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f3261a16-2ec5-4223-944a-e24995b2ffb7
📥 Commits

Reviewing files that changed from the base of the PR and between a9004a4 and 72a9e6f.

📒 Files selected for processing: 1
  • .github/workflows/format.yaml

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

📝 Walkthrough

The formatting workflow now configures actions/setup-python to use Python 3.14 instead of the 3.x version range.

Changes: Formatting workflow

Layer / File(s) Summary
Python version selection
.github/workflows/format.yaml
The setup step now selects Python 3.14 instead of the 3.x version range.

Priority: ⬆️ High

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Suggested reviewers: rhaschke

Merge Risk: ⚪ Minimal · up to 72a9e

The formatting workflow change is narrowly scoped and ready to merge.

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: pinning the pre-commit workflow to Python 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)
  • 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.

@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.90%. Comparing base (c3fdbb7) to head (0fbbbae).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3937      +/-   ##
==========================================
- Coverage   48.92%   48.90%   -0.01%     
==========================================
  Files         735      735              
  Lines       62684    62684              
  Branches     7617     7617              
==========================================
- Hits        30660    30652       -8     
- Misses      32024    32032       +8     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MarqRazz
MarqRazz requested a review from rhaschke October 23, 2026 14:47

@130s 130s 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.

so pre-commit fails on every PR (e.g. #3828)

More specifically this precommit job

Then wondering why do some other PRs pass CI e.g. #3538?

@mergify

mergify Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

This pull request is merged.

@MarqRazz
MarqRazz merged commit fc2f394 into moveit:main Oct 26, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this to ✅ Done in MoveIt Oct 26, 2026
@MarqRazz
MarqRazz deleted the marq/fix/pin-precommit-python branch October 26, 2026 16:22
@130s 130s added the backport-jazzy Mergify label that triggers a PR backport to Jazzy label Nov 23, 2026
130s pushed a commit that referenced this pull request Nov 23, 2026
130s added a commit that referenced this pull request Nov 23, 2026
Pin pre-commit Python to 3.14 (backport #3937)
130s pushed a commit to 130s/moveit2 that referenced this pull request Nov 23, 2026
idesign0 added a commit to idesign0/id_moveit2 that referenced this pull request Nov 30, 2026
The only conflict was collision_common.hpp's DistanceMap key: our a87d862/bcb5c49b4
and upstream's aa64747 (moveit#3548, ours) both drop the const from the
std::pair key and differ by one space; upstream's line is taken.

Upstream's 7 new jazzy commits are launch/test Python (moveit#3851, moveit#3777, moveit#3937), the
GIL release in moveit_py (moveit#3935), moveit#3548, and FloatingJointModel::getMaximumExtent()
(moveit#3854: M_PI * 0.5 -> M_PI). The fork's other macOS changes carry over unchanged
(octomap-distribution depend, pilz joint_limits_common links, moveit_py_utils
Python3::Module, fmt::fmt, perception GLEW target + OpenCV, the Apple progress-bar
drawing fix, urdf_config fmt/ranges.h).

Not compile-tested locally: none of our lines changed in this merge, and the upstream
C++ it brings in is a one-constant change in floating_joint_model.cpp plus the
moveit_py GIL release; the jazzy layered build is the check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-jazzy Mergify label that triggers a PR backport to Jazzy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants