mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-03 18:38:21 +00:00
Respect relative paths in uv build
sources (#8237)
## Summary Right now, `uv build` will fail if a package depends on a local source in `build-system.requires`.
This commit is contained in:
parent
b4dca669b4
commit
999b3f06a4
6 changed files with 174 additions and 3 deletions
|
@ -318,6 +318,7 @@ impl<'a> BuildContext for BuildDispatch<'a> {
|
|||
&'data self,
|
||||
source: &'data Path,
|
||||
subdirectory: Option<&'data Path>,
|
||||
install_path: &'data Path,
|
||||
version_id: Option<String>,
|
||||
dist: Option<&'data SourceDist>,
|
||||
sources: SourceStrategy,
|
||||
|
@ -352,6 +353,7 @@ impl<'a> BuildContext for BuildDispatch<'a> {
|
|||
let builder = SourceBuild::setup(
|
||||
source,
|
||||
subdirectory,
|
||||
install_path,
|
||||
dist_name,
|
||||
dist_version,
|
||||
self.interpreter,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue