FIXUP: install python via uv

This commit is contained in:
Alexis Métaireau 2024-09-30 00:03:02 +02:00
parent 0f8011ad6c
commit ef246bb5b6
No known key found for this signature in database
GPG key ID: 1C21B876828E5FF2

View file

@ -90,10 +90,12 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install uv - name: Install uv
run: pip install uv run: pip install uv
- name: install python from uv
run: |
uv python install ${{ matrix.python-version }}
uv venv --python ${{ matrix.python-version }} .venv
- name: Change dependencies to minimal supported versions - name: Change dependencies to minimal supported versions
run: sed -i -e 's/>=/==/g; s/~=.*==\(.*\)/==\1/g; s/~=/==/g;' pyproject.toml run: sed -i -e 's/>=/==/g; s/~=.*==\(.*\)/==\1/g; s/~=/==/g;' pyproject.toml
if: matrix.dependencies == 'minimal' if: matrix.dependencies == 'minimal'