Skip to content

[rust][python] Add LICENSE and NOTICE to the published artifacts - #4090

Merged
fresh-borzoni merged 1 commit into
apache:mainfrom
fresh-borzoni:rust-license-python-crate
Aug 25, 2026
Merged

[rust][python] Add LICENSE and NOTICE to the published artifacts#4090
fresh-borzoni merged 1 commit into
apache:mainfrom
fresh-borzoni:rust-license-python-crate

Conversation

@fresh-borzoni

@fresh-borzoni fresh-borzoni commented Aug 24, 2026

Copy link
Copy Markdown
Member

closes #4091

Follow-up to #3803 - the python/crates check I said I'd do separately.

Neither the PyPI wheel/sdist nor the fluss-rs .crate carries LICENSE or NOTICE: git archive roots at fluss-rust/ and cargo roots at the crate dir, so neither inherits what #3803 added.
The sdist even bundles the Flink/Kafka/Paimon-derived sources that LICENSE attributes.

Adds both files to bindings/python and crates/fluss, declares them in pyproject.toml (maturin ships them only when license-files lists them), and fails the two release workflows if an artifact is missing either.

@fresh-borzoni

Copy link
Copy Markdown
Member Author

@leekeiabstraction @charlesdong1991 Appreciate a review, related to release requirements 🙏

@charlesdong1991 charlesdong1991 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Comment thread fluss-rust/bindings/python/pyproject.toml
@fresh-borzoni
fresh-borzoni force-pushed the rust-license-python-crate branch from 552c55c to 5870b38 Compare August 25, 2026 13:54
@fresh-borzoni
fresh-borzoni merged commit 60e2e96 into apache:main Aug 25, 2026
28 checks passed
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.

[rust][python] PyPI and crates.io artifacts are missing LICENSE and NOTICE

2 participants