mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-20 07:12:43 +00:00
Respect [tool.uv.sources]
in build requirements (#7172)
## Summary We weren't respecting `tool.uv.sources` for `build-requires`. Closes https://github.com/astral-sh/uv/issues/7147.
This commit is contained in:
parent
0943144cf5
commit
855c1917e1
15 changed files with 459 additions and 65 deletions
|
@ -57,6 +57,8 @@ static DISTUTILS_NOT_FOUND_RE: LazyLock<Regex> =
|
|||
pub enum Error {
|
||||
#[error(transparent)]
|
||||
Io(#[from] io::Error),
|
||||
#[error(transparent)]
|
||||
Lowering(#[from] uv_distribution::MetadataError),
|
||||
#[error("{} does not appear to be a Python project, as neither `pyproject.toml` nor `setup.py` are present in the directory", _0.simplified_display())]
|
||||
InvalidSourceDist(PathBuf),
|
||||
#[error("Invalid `pyproject.toml`")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue