uv/crates/uv-build-backend
liam 1a14d595fd
Error when a project.license-files glob matches nothing (#16697)
Resolves https://github.com/astral-sh/uv/issues/16693

[`PEP 639`](https://peps.python.org/pep-0639/#add-license-files-key)
requires build tools to error if any user-specified
`project.license-files` glob fails to match a file, but uv currently
allows the build to succeed and produces empty `.dist-info/licenses/`
directories.

This PR enforces the spec by tracking matches for each glob during
metadata generation, raising a clear
validation error when one is unmatched.
2025-11-14 11:02:04 +01:00
..
src Error when a project.license-files glob matches nothing (#16697) 2025-11-14 11:02:04 +01:00
Cargo.toml Fix uv_build wheel hashes (#15400) 2025-08-21 10:54:21 +02:00