-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Labels
bugSomething isn't workingSomething isn't workinggreat writeupA wonderful example of a quality contribution 💜A wonderful example of a quality contribution 💜
Description
Summary
The problem is that after running uv lock, the --check command still fails.
the pyproject.toml content is:
[project]
name = "uv_bug"
version = "0.1.0"
requires-python = ">=3.10,<3.11"
[tool.uv]
conflicts = [
[
{ group = "numpy" },
{ group = "numpy_old" },
]
]
[dependency-groups]
numpy = [
"numpy==2.0.0",
]
numpy_old = [
"numpy<2.0.0",
]
include_numpy = [
{include-group = "numpy"},
]
terminal output:
➜ ~/repos/txt2img git:(poetry_to_uv) ✗ uv lock && uv lock --check --verbose
Resolved 3 packages in 6ms
DEBUG uv 0.8.17 (10960bc13 2025-09-10)
DEBUG Found workspace root: `/Users/yshiftan/repos/txt2img`
DEBUG Adding root workspace member: `/Users/yshiftan/repos/txt2img`
DEBUG No Python version file found in workspace: /Users/yshiftan/repos/txt2img
DEBUG Using Python request `==3.10.*` from `requires-python` metadata
DEBUG Checking for Python environment at: `.venv`
DEBUG The project environment's Python version satisfies the request: `Python ==3.10.*`
DEBUG Using request timeout of 30s
DEBUG Resolving despite existing lockfile due to change in conflicting groups: `Conflicts([ConflictSet { set: {ConflictItem { package: PackageName("uv-bug"), kind: Group(GroupName("numpy")) }, ConflictItem { package: PackageName("uv-bug"), kind: Group(GroupName("numpy-old")) }}, is_inferred_conflict: false }, ConflictSet { set: {ConflictItem { package: PackageName("uv-bug"), kind: Group(GroupName("include-numpy")) }, ConflictItem { package: PackageName("uv-bug"), kind: Group(GroupName("numpy-old")) }}, is_inferred_conflict: true }])` vs. `Conflicts([ConflictSet { set: {ConflictItem { package: PackageName("uv-bug"), kind: Group(GroupName("numpy")) }, ConflictItem { package: PackageName("uv-bug"), kind: Group(GroupName("numpy-old")) }}, is_inferred_conflict: false }, ConflictSet { set: {ConflictItem { package: PackageName("uv-bug"), kind: Group(GroupName("include-numpy")) }, ConflictItem { package: PackageName("uv-bug"), kind: Group(GroupName("numpy-old")) }}, is_inferred_conflict: false }])`
DEBUG Found static `pyproject.toml` for: uv-bug @ file:///Users/yshiftan/repos/txt2img
DEBUG No workspace root found, using project root
DEBUG Solving with installed Python version: 3.10.18
DEBUG Solving with target Python version: ==3.10.*
DEBUG Pre-fork all marker environments took 0.000s
DEBUG Splitting resolution on root==0a0.dev0 over uv-bug into 5 resolutions with separate markers
DEBUG Adding direct dependency: uv-bug*
DEBUG Adding direct dependency: uv-bug*
DEBUG Adding direct dependency: uv-bug*
DEBUG Adding direct dependency: uv-bug*
DEBUG Adding direct dependency: uv-bug:include-numpy*
DEBUG Adding direct dependency: uv-bug*
DEBUG Adding direct dependency: uv-bug*
DEBUG Adding direct dependency: uv-bug:numpy*
DEBUG Adding direct dependency: uv-bug*
DEBUG Adding direct dependency: uv-bug*
DEBUG Adding direct dependency: uv-bug:include-numpy*
DEBUG Adding direct dependency: uv-bug:numpy*
DEBUG Adding direct dependency: uv-bug*
DEBUG Adding direct dependency: uv-bug*
DEBUG Adding direct dependency: uv-bug:numpy-old*
DEBUG Solving split (included: uv-bug[group:numpy-old]; excluded: uv-bug[group:include-numpy], uv-bug[group:numpy]) (requires-python: RequiresPython { specifiers: VersionSpecifiers([VersionSpecifier { operator: EqualStar, version: "3.10" }]), range: RequiresPythonRange(LowerBound(Included("3.10")), UpperBound(Excluded("3.11"))) })
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (*)
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (*)
DEBUG Adding direct dependency: uv-bug:numpy-old==0.1.0
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (==0.1.0)
DEBUG Adding direct dependency: numpy<2.0.0
DEBUG Found fresh response for: https://pypi.org/simple/numpy/
DEBUG Searching for a compatible version of numpy (<2.0.0)
DEBUG Selecting: numpy==1.26.4 [preference] (numpy-1.26.4-cp310-cp310-macosx_10_9_x86_64.whl)
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/a7/94/ace0fdea5241a27d13543ee117cbc65868e82213fb31a8eb7fe9ff23f313/numpy-1.26.4-cp310-cp310-macosx_10_9_x86_64.whl.metadata
DEBUG Tried 2 versions: numpy 1, uv-bug 1
DEBUG all marker environments resolution took 0.001s
DEBUG Solving split (included: uv-bug[group:include-numpy], uv-bug[group:numpy]; excluded: uv-bug[group:numpy-old]) (requires-python: RequiresPython { specifiers: VersionSpecifiers([VersionSpecifier { operator: EqualStar, version: "3.10" }]), range: RequiresPythonRange(LowerBound(Included("3.10")), UpperBound(Excluded("3.11"))) })
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (*)
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (*)
DEBUG Adding direct dependency: uv-bug:include-numpy==0.1.0
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (*)
DEBUG Adding direct dependency: uv-bug:numpy==0.1.0
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (==0.1.0)
DEBUG Adding direct dependency: numpy>=2.0.0, <2.0.0+
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (==0.1.0)
DEBUG Adding direct dependency: numpy>=2.0.0, <2.0.0+
DEBUG Searching for a compatible version of numpy (>=2.0.0, <2.0.0+)
DEBUG Selecting: numpy==2.0.0 [preference] (numpy-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl)
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/3a/83/24dafa898f172e198a1c164eb01675bbcbf5895ac8f9b1f8078ea5c2fdb5/numpy-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl.metadata
DEBUG Tried 2 versions: numpy 1, uv-bug 1
DEBUG all marker environments resolution took 0.000s
DEBUG Solving split (included: uv-bug[group:numpy]; excluded: uv-bug[group:include-numpy], uv-bug[group:numpy-old]) (requires-python: RequiresPython { specifiers: VersionSpecifiers([VersionSpecifier { operator: EqualStar, version: "3.10" }]), range: RequiresPythonRange(LowerBound(Included("3.10")), UpperBound(Excluded("3.11"))) })
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (*)
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (*)
DEBUG Adding direct dependency: uv-bug:numpy==0.1.0
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (==0.1.0)
DEBUG Adding direct dependency: numpy>=2.0.0, <2.0.0+
DEBUG Searching for a compatible version of numpy (>=2.0.0, <2.0.0+)
DEBUG Selecting: numpy==2.0.0 [preference] (numpy-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl)
DEBUG Tried 2 versions: numpy 1, uv-bug 1
DEBUG all marker environments resolution took 0.000s
DEBUG Solving split (included: uv-bug[group:include-numpy]; excluded: uv-bug[group:numpy-old], uv-bug[group:numpy]) (requires-python: RequiresPython { specifiers: VersionSpecifiers([VersionSpecifier { operator: EqualStar, version: "3.10" }]), range: RequiresPythonRange(LowerBound(Included("3.10")), UpperBound(Excluded("3.11"))) })
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (*)
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (*)
DEBUG Adding direct dependency: uv-bug:include-numpy==0.1.0
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (==0.1.0)
DEBUG Adding direct dependency: numpy>=2.0.0, <2.0.0+
DEBUG Searching for a compatible version of numpy (>=2.0.0, <2.0.0+)
DEBUG Selecting: numpy==2.0.0 [preference] (numpy-2.0.0-cp310-cp310-macosx_10_9_x86_64.whl)
DEBUG Tried 2 versions: numpy 1, uv-bug 1
DEBUG all marker environments resolution took 0.000s
DEBUG Solving split (excluded: uv-bug[group:include-numpy], uv-bug[group:numpy-old], uv-bug[group:numpy]) (requires-python: RequiresPython { specifiers: VersionSpecifiers([VersionSpecifier { operator: EqualStar, version: "3.10" }]), range: RequiresPythonRange(LowerBound(Included("3.10")), UpperBound(Excluded("3.11"))) })
DEBUG Searching for a compatible version of uv-bug @ file:///Users/yshiftan/repos/txt2img (*)
DEBUG Tried 1 versions: uv-bug 1
DEBUG all marker environments resolution took 0.000s
INFO Solved your requirements for 5 environments
DEBUG Distinct solution for split (included: uv-bug[group:numpy-old]; excluded: uv-bug[group:include-numpy], uv-bug[group:numpy]) with 2 package(s)
DEBUG Distinct solution for split (included: uv-bug[group:include-numpy], uv-bug[group:numpy]; excluded: uv-bug[group:numpy-old]) with 2 package(s)
DEBUG Distinct solution for split (included: uv-bug[group:numpy]; excluded: uv-bug[group:include-numpy], uv-bug[group:numpy-old]) with 2 package(s)
DEBUG Distinct solution for split (included: uv-bug[group:include-numpy]; excluded: uv-bug[group:numpy-old], uv-bug[group:numpy]) with 2 package(s)
DEBUG Distinct solution for split (excluded: uv-bug[group:include-numpy], uv-bug[group:numpy-old], uv-bug[group:numpy]) with 1 package(s)
Resolved 3 packages in 5ms
The lockfile at `uv.lock` needs to be updated, but `--locked` was provided. To update the lockfile, run `uv lock`.
Platform
macOS 15.6.1
Version
uv 0.8.17 (10960bc 2025-09-10)
Python version
Python 3.10.18
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggreat writeupA wonderful example of a quality contribution 💜A wonderful example of a quality contribution 💜