Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uv run --no-project fails due to missing pyproject.toml sections #6550

Closed
meastham opened this issue Aug 23, 2024 · 1 comment · Fixed by #6554
Closed

uv run --no-project fails due to missing pyproject.toml sections #6550

meastham opened this issue Aug 23, 2024 · 1 comment · Fixed by #6554
Labels
bug Something isn't working

Comments

@meastham
Copy link

Similar issue to #6177

If I run uv run --no-project ... in a directory with a pyproject.toml with a missing project table, I get an error:

❯ uv -V
uv 0.3.2 (c5440001c 2024-08-23)
❯ cd $(mktemp -d)
❯ touch pyproject.toml
❯ uv run --no-project python
error: No `project` table found in: `/private/var/folders/1s/0jgtfqgd1wqc327r1kxgrh3w0000gn/T/tmp.mAGDf4eLya/pyproject.toml`

Same result with --no-config

(this is on MacOS / apple silicon)

@zanieb zanieb added the bug Something isn't working label Aug 23, 2024
@charliermarsh
Copy link
Member

Thanks, my bad, I'll fix that now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants