Skip to content

Commit

Permalink
ci: Use pip install for Python 3.12 (#142)
Browse files Browse the repository at this point in the history
* Python 3.12 installs with uv are currently unreliable, so fall back
  to using pip.
   - c.f. astral-sh/uv#4333
  • Loading branch information
matthewfeickert authored Jun 14, 2024
1 parent f75e97a commit 5411c72
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,21 @@ jobs:
sudo apt-get install -y graphviz libgraphviz-dev
- name: Install Python dependencies
if: matrix.python-version != '3.12'
run: |
python -m pip install uv
uv pip install --system --upgrade pip setuptools wheel
uv pip install --system '.[develop,local,reana]'
# c.f. https://github.com/astral-sh/uv/issues/4333
- name: Install dependencies (Python 3.12)
if: matrix.python-version == '3.12'
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade '.[develop,local,reana]'
- name: List installed dependencies
run: uv pip list --system
run: python -m pip list

- name: Run unit tests
run: |
Expand Down

0 comments on commit 5411c72

Please sign in to comment.