Repository navigation
fix(ci): bump platformio pin to >=6.1.19 for pioarduino compat - #2283
Conversation
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
📝 WalkthroughWalkthroughUpdated the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (2)
pyproject.toml (2)
8-9: Remove duplicatefbuilddependency entry.The dependency
fbuild>=2.1.12is 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 duplicaterunning-processentries with conflicting constraints.The
running-processdependency 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
📒 Files selected for processing (1)
pyproject.toml
Summary
The esp32c2 workflow (and any other CI path routing through
ci/cppcheck.py) has been failing on master becausepyproject.tomlpinnedplatformio==6.1.18, while the current stable pioarduino espressif32 platform now requires PlatformIO Core>=6.1.19.pio checkaborted with:Example failing run: https://github.com/FastLED/FastLED/actions/runs/24590168932/job/71909046151
Root cause
pyproject.tomlline 10 pinned PlatformIO one patch release behind what pioarduino stable expects.Change
pyproject.toml:"platformio==6.1.18"→"platformio>=6.1.19,<6.2"uv.lockis gitignored in this repo so no lockfile diff is needed; localuv lockresolved cleanly and platformio pins to 6.1.19.Test plan
bash test --cpp— all 299 unit tests pass locallypyproject.tomlpio check-consuming workflows after mergeCloses #2281
Summary by CodeRabbit