Skip to content

fix(ci): bump platformio pin to >=6.1.19 for pioarduino compat - #2283

Merged
zackees merged 1 commit into
masterfrom
fix-platformio-pin-2281
Apr 18, 2026
Merged

zackees merged 1 commit into
masterfrom
fix-platformio-pin-2281

Conversation

@zackees

@zackees zackees commented Apr 18, 2026 •

Copy link
Copy Markdown
Member

Summary

The esp32c2 workflow (and any other CI path routing through ci/cppcheck.py) has been failing on master because pyproject.toml pinned platformio==6.1.18, while the current stable pioarduino espressif32 platform now requires PlatformIO Core >=6.1.19. pio check aborted with:

IncompatiblePlatform: Development platform 'espressif32' is not compatible
with PlatformIO Core v6.1.18 and depends on PlatformIO Core >=6.1.19.

Example failing run: https://github.com/FastLED/FastLED/actions/runs/24590168932/job/71909046151

Root cause

pyproject.toml line 10 pinned PlatformIO one patch release behind what pioarduino stable expects.

Change

  • pyproject.toml: "platformio==6.1.18" → "platformio>=6.1.19,<6.2"
    • Picks up the compat fix
    • Range stays inside the 6.1.x minor so we don't accidentally jump a minor version
    • 6.1.19 is the current latest on PyPI as of this PR

uv.lock is gitignored in this repo so no lockfile diff is needed; local uv lock resolved cleanly and platformio pins to 6.1.19.

Test plan

  • bash test --cpp — all 299 unit tests pass locally
  • Diff is minimal: single-line specifier change in pyproject.toml
  • CI green on esp32c2 and other ESP32 pio check-consuming workflows after merge
  • Spot-check adjacent ESP32 jobs (esp32dev, esp32s3, esp32c6) for any version-bump regressions

Closes #2281

Summary by CodeRabbit

  • Chores
    • Updated platformio dependency to a compatible version range, allowing access to newer patch versions with bug fixes and improvements while maintaining stability.

pioarduino stable espressif32 platform now requires PlatformIO Core
>=6.1.19, which caused `pio check` to abort with IncompatiblePlatform
on esp32c2 (and any other workflow routing through ci/cppcheck.py).

Change pyproject.toml pin from `platformio==6.1.18` to
`platformio>=6.1.19,<6.2` so we pick up the compat fix without jumping
a minor version.

Closes #2281
@coderabbitai

coderabbitai Bot commented Apr 18, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Updated the platformio dependency in pyproject.toml from a pinned version (6.1.18) to a bounded compatible version range (>=6.1.19,<6.2). This allows the project to use PlatformIO Core versions that are compatible with the current stable pioarduino-platform-espressif32 release.

Changes

Cohort / File(s) Summary
Dependency Version Update
pyproject.toml
Updated platformio dependency from exact pin ==6.1.18 to bounded range >=6.1.19,<6.2 to resolve incompatibility with espressif32 stable platform.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Poem

🐰 A hop and a skip, dependencies align,
PlatformIO now at six-point-one-nine!
No more CI stumbles, no more espressif blues,
Version ranges bring the platform the right clues! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main change: bumping platformio from 6.1.18 to >=6.1.19,<6.2 for pioarduino compatibility in CI workflows.
Linked Issues check ✅ Passed The PR successfully addresses the objective from issue #2281 by bumping platformio to >=6.1.19,<6.2, resolving the IncompatiblePlatform error with pioarduino espressif32.
Out of Scope Changes check ✅ Passed All changes are scoped to resolving the dependency compatibility issue; no unrelated modifications to other files or functionality are present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-platformio-pin-2281

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 and usage tips.

@coderabbitai coderabbitai Bot 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.

🧹 Nitpick comments (2)
pyproject.toml (2)

8-9: Remove duplicate fbuild dependency entry.

The dependency fbuild>=2.1.12 is listed twice on consecutive lines. Remove one of the duplicate entries to clean up the dependency list.

♻️ Proposed fix to remove duplicate
 dependencies = [
     "fbuild>=2.1.12",
-    "fbuild>=2.1.12",
     "platformio>=6.1.19,<6.2",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pyproject.toml` around lines 8 - 9, Remove the duplicate dependency entry
"fbuild>=2.1.12" from the pyproject.toml dependencies list by deleting the
repeated line so only a single "fbuild>=2.1.12" remains; locate the two
consecutive identical entries and remove one to clean up the dependency list.

45-51: Consolidate duplicate running-process entries with conflicting constraints.

The running-process dependency appears twice with different version constraints (>=3.0.9 on line 45 and >=3.0.7 on line 51). This creates confusion about the actual requirement. Consolidate to a single entry with the more restrictive constraint.

♻️ Proposed fix to consolidate entries
     "static-ffmpeg>=2.7",
     "fastled>=2.0.5",
     "running-process>=3.0.9",
     "nodejs-wheel>=22.0.0",
     "daemoniker>=0.2.3",
     "colorama>=0.4.6",
     "ty>=0.0.15",
     "bleak>=0.22.3",
-    "running-process>=3.0.7",
 ]
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pyproject.toml` around lines 45 - 51, Remove the duplicate running-process
dependency in pyproject.toml and keep a single entry using the more restrictive
constraint (running-process>=3.0.9); locate both occurrences of
"running-process" in the dependencies list, delete the lower constraint
duplicate (>=3.0.7), and ensure only "running-process>=3.0.9" remains so the
lock/resolve behavior is deterministic and consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@pyproject.toml`:
- Around line 8-9: Remove the duplicate dependency entry "fbuild>=2.1.12" from
the pyproject.toml dependencies list by deleting the repeated line so only a
single "fbuild>=2.1.12" remains; locate the two consecutive identical entries
and remove one to clean up the dependency list.
- Around line 45-51: Remove the duplicate running-process dependency in
pyproject.toml and keep a single entry using the more restrictive constraint
(running-process>=3.0.9); locate both occurrences of "running-process" in the
dependencies list, delete the lower constraint duplicate (>=3.0.7), and ensure
only "running-process>=3.0.9" remains so the lock/resolve behavior is
deterministic and consistent.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: aedcce0a-97d2-431e-be02-c8b0c0531e20

📥 Commits

Reviewing files that changed from the base of the PR and between 427f284 and 240f013.

📒 Files selected for processing (1)
  • pyproject.toml

@zackees
zackees merged commit 50b3f5c into master Apr 18, 2026
7 of 9 checks passed
@zackees
zackees deleted the fix-platformio-pin-2281 branch April 18, 2026 02:47
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.

CI: esp32c2 (and possibly other esp32 workflows) fail because platformio==6.1.18 is incompatible with pioarduino espressif32 stable

1 participant