-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
I try to uv build . a local package that has
[build-system]
build-backend = "foo.build_meta"
requires = [
"foo>=0.1a2",
]foo depends on bar>=0.2a7. uv reports
├─▶ Failed to resolve requirements from `build-system.requires`
├─▶ No solution found when resolving: `foo>=0.1a2`
╰─▶ Because only bar<0.2a7 is available and
foo==0.1a2 depends on bar>=0.2a7, we can
conclude that foo==0.1a2 cannot be used.
And because only foo<=0.1a2 is available and you require
foo>=0.1a2, we can conclude that your requirements are unsatisfiable.
After manually adding
[build-system]
build-backend = "foo.build_meta"
requires = [
"foo>=0.1a2",
"bar>=0.2a7",
]it all works fine. This suggests that the build system requirements resolver is buggy. Perhaps the fact that there are alpha-versions involved plays a role here.
Platform
Linux 6.12.55-1-lts x86_64 GNU/Linux
Version
uv 0.9.5
Python version
all
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working