Skip to content

pip / uv

Avrea caches packages from PyPI so that pip install and uv pip install resolve from the colocated cache on repeat runs.

The index URL is pre-configured:

Terminal window
PIP_INDEX_URL="https://avrea-host:8443/pypi/simple/"

Your workflow needs no changes:

workflow.yml
jobs:
test:
runs-on: avrea-ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: '3.14'
- run: pip install -r requirements.txt
- run: pytest
Terminal window
export PIP_INDEX_URL="https://avrea-host:8443/pypi/simple/"