Zanie Blue

Results 2964 comments of Zanie Blue

Continuing this in https://github.com/astral-sh/uv/pull/7850

For details, see - https://docs.astral.sh/uv/concepts/resolution/#universal-resolution - https://docs.astral.sh/uv/concepts/projects/#limited-resolution-environments

`uv tool run` will also run a tool in an ephemeral environment, it's like `pipx run` or `npx`.

It probably makes more sense than starting a `python` REPL (which I think we should remove?)

Gosh, I'd sure love this. The error message here, e.g., when I haven't installed `django` yet is not helpful: ``` ❯ uv run django-admin startproject mysite Using Python 3.11.7 Creating...

`uv tool run` already does this. We're not sure what we we want to do for `uv run`, but I think we'd want to either list things in `.venv/bin` or...

This is unintentional but a fun find :) I wonder if we should keep this behavior, it seems convenient. If we want to do so, we'll need to error at...

> (We seem to have this same issue in our test suite, we have symlinks to Pythons that aren't a full "install tree", just an executable.) This suggests we should...

> Stick with what we have here, fix our test suite setup, and call "symlinks that aren't Python installations" unsupported. This breaks the goals of creating a stable Python versions...

(I recently rebased the tracking branch)