Use the build options value to improve hints for no wheel / source distribution errors (#9950)

Extends the hints from https://github.com/astral-sh/uv/pull/9948 with
`BuildOptions` context so we can explain a bit more.
This commit is contained in:
Zanie Blue 2024-12-17 14:08:22 -06:00 committed by GitHub
parent 5e7f80ea46
commit 6dfe1774e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 63 additions and 22 deletions

View file

@ -218,6 +218,7 @@ impl<'a> BuildContext for BuildDispatch<'a> {
OptionsBuilder::new()
.exclude_newer(self.exclude_newer)
.index_strategy(self.index_strategy)
.build_options(self.build_options.clone())
.flexibility(Flexibility::Fixed)
.build(),
&python_requirement,