Skip to content

allow "uv run" to work without a projectΒ #8666

@mmerickel

Description

@mmerickel

It'd be nice if this flow worked simply to avoid needing to activate a virtualenv - regardless of whether I'm using a full uv project or not.

$ uv venv
$ uv pip install -e .
$ uv run python

However as of 0.4.28 I get the following error:

$ uv run python
error: No `project` table found in: `/Users/michael/work/oss/webob/pyproject.toml`

Obviously in this case I'm not asking uv to do anything except use the correct path as if I was activating the virtualenv - equivalent to .venv/bin/activate; python.

Metadata

Metadata

Assignees

Labels

needs-decisionUndecided if this should be donequestionAsking for clarification or support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions