HyukjinKwon opened a new pull request, #48737:
URL: https://github.com/apache/arrow/pull/48737

   ### 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](https://github.com/apache/arrow/commit/866502e6d64e1e2422bbe7978c7bc3a5617431df)
 which changed the license to:
   ```toml
   license = "Apache-2.0"
   ```
   
   However, [PEP 621](https://peps.python.org/pep-0621/#license) 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:
   ```toml
   license = "Apache-2.0"
   ```
   to:
   ```toml
   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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to