-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
We incorrectly treat numpy as a transitive instead of a direct dependency, which means we don't emit the correct diagnostic about a missing lower bound:
[project]
name = "dummy"
version = "0.1.0"
description = "Add your description here"
requires-python = ">=3.9"
dependencies = [
"numpy",
]
Relevant log line from RUST_LOG=uv=debug uv lock:
DEBUG Adding transitive dependency for dummy==0.1.0: numpy*
We need to change this check to consider workspace packages:
uv/crates/uv-resolver/src/resolver/mod.rs
Line 2163 in 30e11c6
| if let Some(for_package) = for_package { |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers