uv/crates/uv-build-backend/src
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
..
lib.rs Build backend error message style consistency (#15735) 2025-09-09 17:34:56 +00:00
metadata.rs Error when a `project.license-files` glob matches nothing (#16697) 2025-11-14 11:02:04 +01:00
serde_verbatim.rs A minimal build backend for uv: uv_build (#11446) 2025-03-06 13:27:20 -06:00
settings.rs Error early for parent path in build backend (#15733) 2025-09-08 13:53:16 +00:00
source_dist.rs Build backend error message style consistency (#15735) 2025-09-09 17:34:56 +00:00
wheel.rs Build backend error message style consistency (#15735) 2025-09-09 17:34:56 +00:00