TIL: Running UV outside a virtualenv
Briefly

The answer is when you install dependencies using uv in this scenario, use the --python flag to specify the interpreter. According to the uv docs, this flag is intended for use in continuous integration (CI) environments or other automated workflows.
python -m pip install uv uv pip install -p 3.12 -r requirements.txt
- name: Install Dependencies run: | python -m pip install uv uv pip install -p 3.12 -r requirements.txt
Want to know how to handle multiple versions of Python? Here's how use a matrix on GitHub: https://github.com/pydanny/dj-notebook/blob/main/.github/workflows/python-ci.yml#L18-L19
Read at Daniel Roy Greenfeld
[
add
]
[
|
|
]