Skip to content

LookupError for uv workspaces after upgrading to 9.0.0 #1184

@WSH032

Description

@WSH032

I have a workspaces based on uv, and I use uv sync to install my monorepo.

I include setuptools-scm in build-system.requires so that sdist can automatically include files tracked by git.

Notably, I do not use dynamic = ["version"]; instead, I specify the version manually. In other words, I only use setuptools-scm to track git files.

This worked fine with setuptools-scm 8.3.1, but after upgrading to 9.0.0, it fails with:

LookupError: setuptools-scm was unable to detect version for /Users/runner/work/pytauri/pytauri/tests/pytauri-test.

https://github.com/pytauri/pytauri/actions/runs/16721825221/job/47327792333?pr=220#step:13:151

(uv) pip install -e ./python/pytauri-wheel also fails unless --no-build-isolation is specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions