Skip to content

No warning printed about entrypoint installation being skipped for workspace members #18388

@zsol

Description

@zsol

Summary

When a pyproject.toml contains

[project.scripts]
foo = "bar:baz"

without a [build-system] or tool.uv.package = true setting, uv normally prints:

warning: Skipping installation of entry points (`project.scripts`) because this project is not packaged; to install entry points, set `tool.uv.package = true` or define a `build-system`

But this warning is not emitted for (non-root) members of a workspace.

MRE:

pushd $(mktemp -d)
uv init .
mkdir member && cd member
uv init .
echo -e '[project.scripts]\nmember="main:main"\n' >> pyproject.toml
cd ..
uv sync --all-packages  # no warning

Platform

all

Version

uv 0.10.9

Python version

yes.

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