Skip to content

chore(deps): bump zccache floor 1.12.3 -> 1.12.5 (fixes #3048) - #3052

Merged
zackees merged 1 commit into
masterfrom
chore/zccache-1.12.5-floor
Jun 15, 2026
Merged

zackees merged 1 commit into
masterfrom
chore/zccache-1.12.5-floor

Conversation

@zackees

@zackees zackees commented Jun 15, 2026 •

Copy link
Copy Markdown
Member

Summary

zccache 1.12.5 (released 2026-06-14) ships the meson-native-file lifecycle fix from zackees/zccache#710, which closes FastLED #3048. The snapshot-restore path on Windows previously left meson_native.txt in a broken state after the file-lock race; 1.12.5 rewrites the native file unconditionally on failure recovery.

Change

  • pyproject.toml — \"zccache>=1.12.3\" → \"zccache>=1.12.5\" + a comment block documenting the 1.12.5 fix.
  • uv.lock is gitignored; the next uv sync against this branch resolves zccache at 1.12.5 from the new floor.

Verification

Locally:

$ uv lock --upgrade-package zccache
Resolved 166 packages in 224ms
$ grep -A 1 '^name = \"zccache\"' uv.lock
name = \"zccache\"
version = \"1.12.5\"

Closes #3048.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Bug Fixes
    • Updated dependency to resolve Windows native-file lifecycle issues.

zccache 1.12.5 (released 2026-06-14) ships the meson-native-file
lifecycle fix from forge-ci/zccache#710. The meson-snapshot restore path
on Windows previously left `meson_native.txt` in a broken state after
the file-lock race (`os error 32`), surfacing as the cascade we filed
at FastLED #3048:

  FileNotFoundError: ...\.build\meson-quick\meson_native.txt
  ERROR: Unhandled python OSError. ...
  ninja: error: rebuilding 'build.ninja': subcommand failed

The 1.12.5 fix rewrites the native file unconditionally after a failed
snapshot restore so `meson setup` always finds a valid file to read.

The `>=1.12.5` floor (vs the prior `>=1.12.3`) guarantees that anyone
consuming this `pyproject.toml` without the lockfile (e.g. as a
dependency) cannot resolve back to the buggy version. `uv.lock` is
gitignored so the next `uv sync` picks 1.12.5 from the new floor.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@zackees
zackees merged commit 187d2d0 into master Jun 15, 2026
7 of 8 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jun 15, 2026
@coderabbitai

coderabbitai Bot commented Jun 15, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e78263bf-2f74-42ae-ba26-f3b1ad4025ae

📥 Commits

Reviewing files that changed from the base of the PR and between 128c7b3 and 14d3a5d.

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

📝 Walkthrough

Walkthrough

The zccache minimum version requirement in pyproject.toml is bumped from >=1.12.3 to >=1.12.5, and the associated inline comment block is replaced with a description of the 1.12.5 Windows native-file lifecycle fix.

Changes

zccache Dependency Bump

Layer / File(s) Summary
zccache version constraint update
pyproject.toml
Raises the zccache minimum version from >=1.12.3 to >=1.12.5 and updates the inline release-note comment to describe the Windows native-file lifecycle fix included in 1.12.5.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Possibly related PRs

  • FastLED/FastLED#3020: Immediately preceding zccache bump in the same file (>=1.12.1 → >=1.12.3), making this PR the direct continuation of that dependency update chain.
  • FastLED/FastLED#3001: Also changes the zccache constraint in pyproject.toml to a different minimum version, directly overlapping on the same dependency declaration.
  • FastLED/FastLED#2742: Same pattern — bumps zccache in pyproject.toml to address an upstream cache/depfile lifecycle correctness issue.

Poem

🐇 Hop hop, the cache was broke,
On Windows it would turn to smoke!
But 1.12.5 saves the day,
Native files no longer stray.
A tiny bump to pyproject.toml,
And builds on Windows shall be whole! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/zccache-1.12.5-floor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

build: native_file vanishes under zccache snapshot restore on Windows

1 participant