Skip to content

[Bug]: build and setuptools being missing produces odd errors #887

@arrdem

Description

@arrdem

What happened?

In order for us to do sdist builds for users, we need build at a minimum and often wheel and setuptools too. The UV extension produces the very much not obvious error

Error in fail: Unable to resolve a default version for requirement "build" in @@//cases/uv-default-version-xxx:uv.lock

if the user hasn't provided these dependencies. We should try to provide a more specific warning if we can.

Version

Development (host) and target OS/architectures:

Output of bazel --version:

Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:

Language(s) and/or frameworks involved:

How to reproduce

Any other information?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions