Skip to content

fix(notices): granit-parser moved to 2.1.0 - #250

Open
jacderida wants to merge 1 commit into
mainfrom
chrisoneil/granit-parser-2-1-0
Open

jacderida wants to merge 1 commit into
mainfrom
chrisoneil/granit-parser-2-1-0

Conversation

@jacderida

Copy link
Copy Markdown
Member

What

Moves the [missing.granit-parser] entry in scripts/third_party_notices/config.toml from
version = "1.3.0" to "2.1.0".

Why

serde-saphyr 1 → 2, arriving through saorsa-transport, moved granit-parser to 2.1.0. The
entry is version-pinned, so it stopped matching and the notices generator reopened the gap:

error: cannot produce complete notices:
  granit-parser 2.1.0 (MIT OR Apache-2.0): no crate-level licence file contains the text of an
  allowed option; review it and add [missing.granit-parser] or [exception.granit-parser]

That failed every build target on both rc tags of the 2026-11-05 release train before anything
published. Only the release workflow runs the generator, so a transitive version move surfaces
after a tag push rather than on a pull request.

Is 2.1.0 still the same case?

Checked against the published crate, not assumed. 2.1.0 still declares license = "MIT OR Apache-2.0", and its root LICENSE still only refers to texts under the hidden .licenses
directory the generator does not search, carrying the same attributions to Chen Yuheng, Ethiraric
and Bourumir Wyngs. The entry's text_url and text_sha256 point at the SPDX MIT text, which is
version-independent. So the note remains accurate and only the version pin needed moving.

Verification

python3 scripts/third_party_notices/generate.py --config scripts/third_party_notices/config.toml --output /tmp/notices.txt --target x86_64-unknown-linux-musl now completes instead of raising a
gap, with granit-parser present in the output.

The same one-line fix is already on rc-2026.11.1; this carries it to main so the next release
candidate cuts clean.

Risk tier

  • T0 — docs / tooling / CI / pure UX-output. Repo CI only.

Semver impact

  • fix

🤖 Generated with Claude Code

The `[missing.granit-parser]` entry is pinned to 1.3.0. serde-saphyr 1 -> 2,
arriving through saorsa-transport, moved granit-parser to 2.1.0, so the entry
no longer matches and the release build fails at THIRD-PARTY-NOTICES on every
target with "no crate-level licence file contains the text of an allowed
option". Only the release workflow runs the generator, so this surfaces after
a tag push rather than on a pull request.

2.1.0 is unchanged in every respect the entry describes: it still declares
MIT OR Apache-2.0, and its root LICENSE still only refers to texts under the
hidden .licenses directory the generator does not search, with the same
attributions to Chen Yuheng, Ethiraric and Bourumir Wyngs. The SPDX MIT text
and its sha256 are version-independent, so only the version pin needed moving.

Verified by running the generator for x86_64-unknown-linux-musl, which now
completes instead of raising a gap. The same fix is already on rc-2026.11.1;
this carries it to main so the next release candidate cuts clean.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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