Skip to content

Allow bzip2-1.0.6 license for plotly_kaleido build dep chain#312

Merged
daniel-thom merged 1 commit intomainfrom
deps/allow-bzip2-license
May 10, 2026
Merged

Allow bzip2-1.0.6 license for plotly_kaleido build dep chain#312
daniel-thom merged 1 commit intomainfrom
deps/allow-bzip2-license

Conversation

@daniel-thom
Copy link
Copy Markdown
Collaborator

Summary

Fixes the Security workflow's cargo-deny license check that broke after #311 merged. The plotly 0.14 → plotly_kaleido 0.13 → zip 7 → bzip2 → libbz2-rs-sys chain pulled in a crate licensed bzip2-1.0.6, which wasn't on the allow-list.

Why this is safe

  • bzip2-1.0.6 is a permissive SPDX-listed FOSS license (BSD-like with a non-endorsement clause), used by the original bzip2 C library and now by libbz2-rs-sys (a Rust port).
  • The dep appears only via plotly_kaleido's build.rs — used at build time to extract the kaleido binary — so it doesn't land in the compiled torc binary.

Failing run for context: https://github.com/NatLabRockies/torc/actions/runs/25619601153

Test plan

  • cargo deny check (runs in CI)

🤖 Generated with Claude Code

The plotly 0.14 → plotly_kaleido 0.13 → zip 7 → bzip2 → libbz2-rs-sys
chain pulled in a crate licensed bzip2-1.0.6, which is a permissive
SPDX-listed FOSS license (BSD-like with a non-endorsement clause). It
appears only as a build-dep of plotly_kaleido (used by build.rs to
extract the kaleido binary), so it doesn't land in the compiled torc
binary -- but cargo-deny still requires it to be on the allow-list.
@daniel-thom daniel-thom merged commit 16236d9 into main May 10, 2026
9 checks passed
@daniel-thom daniel-thom deleted the deps/allow-bzip2-license branch May 10, 2026 15:28
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