Skip to content

Conversation

@HyukjinKwon
Copy link
Member

@HyukjinKwon HyukjinKwon commented Jan 6, 2026

Rationale for this change

Python wheel builds are failing with:

ValueError: invalid pyproject.toml config: `project.license`.
configuration error: `project.license` must be valid exactly by one definition (2 matches found)

This was introduced in commit 866502e which changed the license to:

license = "Apache-2.0"

However, PEP 621 requires the license field to be a table with either text or file key, not a plain string.

What changes are included in this PR?

Changed line 35 from:

license = "Apache-2.0"

to:

license = {text = "Apache-2.0"}

(I believe this can also be license = {file = "LICENSE.txt"} but kept the original intention from the commit).

This maintains SPDX compliance while fixing PEP 621 compliance.

Are these changes tested?

Should trigger the build to make sure it passes all fine with CI

Are there any user-facing changes?

No, dev-only.

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

⚠️ GitHub issue #48735 has been automatically assigned in GitHub to PR creator.

@HyukjinKwon HyukjinKwon marked this pull request as draft January 6, 2026 10:48
@HyukjinKwon HyukjinKwon closed this Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant