uv venv creates a virtual environment much faster than python -m venv and can fetch a managed Python version on demand. It is the usual first step in a uv-based CI job.
What it does
Creates a virtual environment (default .venv) and can target or even download a specific Python version with --python. Subsequent uv pip commands install into it.
Pass --python to build the environment on an exact version; uv can download a managed interpreter if it is not present, removing a separate setup-python step.
uv venv creates a virtual environment much faster than python -m venv and can fetch a managed Python version on demand. It is the usual first step in a uv-based CI job.
What it does?
Creates a virtual environment (default .venv) and can target or even download a specific Python version with --python. Subsequent uv pip commands install into it.
Common CI use: pin the Python version?
Pass --python to build the environment on an exact version; uv can download a managed interpreter if it is not present, removing a separate setup-python step.