Closed
Description
I feel like I'm going against the grain here and maybe that's the issue.
I'd like to replace setup-python
with setup-uv
. Our existing CI uses python
from setup-python
directly, without setting up a virtualenv.
Is it possible to use uv
in a similar way? Basically, I'd like to install directly into the global environment associated with a uv python install
command. When I try to actually do that, I see errors like:
Run uv pip install --python=3.13t -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython
error: No virtual environment found for Python 3.13t; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment
Is the right thing to do here to put uv's python at the front of the PATH
and then pass --system
? Or just use a virtualenv? If it's the latter, then this is not quite a drop-in replacement for setup-python, since that's not necessary with setup-python.
Metadata
Metadata
Assignees
Labels
No labels