Skip to content

chore: bump fbuild pin to >=2.1.20 (unblocks uno CI — DRAFT, waits on fbuild#138) - #2353

Merged
zackees merged 1 commit into
masterfrom
bump-fbuild-2.1.20
Apr 19, 2026
Merged

zackees merged 1 commit into
masterfrom
bump-fbuild-2.1.20

Conversation

@zackees

@zackees zackees commented Apr 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Bumps the FastLED repo's fbuild dependency pin from >=2.1.19 → >=2.1.20. Pairs with FastLED/fbuild#138 (version bump).

Why this is a draft

fbuild 2.1.20 is not yet on PyPI. uv lock can't resolve it:

Because only fbuild<=2.1.19 is available and your project depends on
fbuild>=2.1.20, we can conclude that your project's requirements are unsatisfiable.

This PR only contains the pyproject.toml pin change — the corresponding uv.lock update must happen after 2.1.20 lands on PyPI. The release path is:

  1. Merge FastLED/fbuild#138.
  2. Run uv run ci/publish.py locally (PyPI creds required) to trigger the native-binary build workflow and upload wheels.
  3. Once 2.1.20 is live, re-run uv lock on this branch — that'll update uv.lock cleanly.
  4. Mark this PR ready for review and merge.

Why we need 2.1.20

Master's uno workflow has been red on every run since the 2.1.19 wheel issue surfaced. CI log from run 24621693195:

/opt/hostedtoolcache/Python/3.12.13/x64/bin/fbuild: Permission denied
fbuild --version not yet supported on this release
...
FAILED: AnalogOutput — build failed: io error: Operation not permitted (os error 1)
FAILED: Apa102 — build failed: io error: Operation not permitted (os error 1)
... [every example fails identically]

Two root causes, both fixed post-2.1.19 in fbuild but not yet released:

  • FastLED/fbuild#135 — wheel's fbuild console script installs without +x, so CI can't execute it.
  • FastLED/fbuild#134 — P0 Operation not permitted (os error 1) on warm builds.

Test plan

  • fbuild#138 merged + 2.1.20 published to PyPI
  • Re-run uv lock on this branch, commit the updated uv.lock
  • CI goes green on uno workflow
  • Mark ready for review, merge

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated dependency version for improved compatibility and stability.

Pairs with FastLED/fbuild#138 (version bump). 2.1.20 contains the two
P0 fixes currently blocking every uno build on GitHub Actions:

- exec bit preserved on fbuild console script in wheel (#135 on fbuild)
- "Operation not permitted (os error 1)" warm-build regression fix
  (#134 on fbuild)

Symptom on master CI (run 24621693195):
  fbuild: Permission denied
  ...
  FAILED: Blink — build failed: io error: Operation not permitted

This PR should NOT be merged until 2.1.20 is live on PyPI. When that
happens, `uv lock` will pick up 2.1.20 and this can merge. Tracking:
FastLED/fbuild#138.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Apr 19, 2026 •

Copy link
Copy Markdown

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 869a4657-0921-458f-9eb3-3929e5f4b7e7

📥 Commits

Reviewing files that changed from the base of the PR and between 54dec22 and 4f1e31a.

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

📝 Walkthrough

Walkthrough

The fbuild dependency constraint in pyproject.toml has been updated from version >=2.1.19 to >=2.1.20. All other project configuration and dependencies remain unchanged.

Changes

Cohort / File(s) Summary
Dependency Version Update
pyproject.toml
Updated fbuild minimum version constraint from 2.1.19 to 2.1.20.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A version bump, oh what delight!
From 2.1.19 to 2.1.20, shining bright!
Dependencies dance, constraints align,
One little change, and all feels fine! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly and specifically describes the main change: bumping the fbuild dependency pin from 2.1.19 to 2.1.20, which is the only modification in the changeset.
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 bump-fbuild-2.1.20

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.

@zackees
zackees marked this pull request as ready for review April 19, 2026 08:19
@zackees
zackees merged commit b0a6be1 into master Apr 19, 2026
5 of 8 checks passed
zackees added a commit that referenced this pull request Apr 19, 2026
Allows manually re-running the uno build from the Actions UI without
making a trigger-path change. Also serves as a verification trigger
for the fbuild 2.1.20 bump in #2353 — this PR's change lives in the
uno workflow's own trigger-path list, so CI will actually run uno
against the new fbuild, confirming FastLED/fbuild#134 (Operation not
permitted) and #135 (exec bit on wheel) are resolved.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
zackees added a commit that referenced this pull request Apr 19, 2026
Adds a minimal standalone PlatformIO project under
`tests/fbuild_qemu_smoke/` with a tiny FastLED sketch that prints
`FBUILD-QEMU-TEST-OK` on boot, plus `ci/tests/test_fbuild_qemu.py`
which invokes `fbuild test-emu` against it and asserts the marker.

## Why a dedicated project
FastLED's root `platformio.ini` uses `src_dir = ./src` (the library
itself, no `setup()`/`loop()`). `fbuild test-emu` needs an actual
sketch. Keeping the smoke project small and standalone (single-env
`esp32dev`, DIO flash mode for QEMU compat, FastLED via
`lib_deps = symlink://../..`) avoids tangling with the Docker-based
QEMU runner in `ci/runners/qemu_runner.py`.

## Status
fbuild 2.1.20 resolves FastLED/fbuild#130 (`daemon error: request
failed` on Windows despite healthy daemon) — the previous `xfail`
marker is removed and this is now a passing smoke test as of the
fbuild pin bump in #2353. The pytest `skipif` falls back to
"fbuild not on PATH" if fbuild isn't installed.

## Review fixes
- `CMD: {subprocess.list2cmdline(cmd)}` in the failure message per
  the repo guideline (CodeRabbit feedback on the previous revision).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
zackees added a commit that referenced this pull request Apr 19, 2026
Follow-up to #2353 (2.1.20 bump). 2.1.21 is live on PyPI and picks up
post-2.1.20 fixes. Pure pin bump — no behavioural change expected;
downstream CI workflows continue to work as before (uno, esp32c3, etc.).

Verified locally:

    $ uv run fbuild --version
    fbuild 2.1.21

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@zackees zackees mentioned this pull request Apr 19, 2026
2 tasks
@zackees
zackees deleted the bump-fbuild-2.1.20 branch August 21, 2026 19:15
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