Skip to content

Hint at tool.uv.required-environments when installation fails for a package with wheels #13702

Open
@konstin

Description

@konstin

A common user question is that their installation fails after a successful resolution. An example is installing ML packages that in recent versions only support Apple Silicon on an Intel Mac.

For cases where we failed to install a package that has wheels, either because there is no sdist or because there is a not otherwise handled build error, we should recommend tool.uv.required-environments.

See https://github.com/astral-sh/uv/issues?q=is%3Aissue%20required-environments and https://discord.com/channels/1039017663004942429/1377300213663793252/1377300213663793252 for examples

Metadata

Metadata

Assignees

Labels

error messagesMessaging when something goes wrong

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions