Skip to content

Commit

Permalink
try installing python 3.9 with uv
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Sep 16, 2024
1 parent cbdd6d5 commit 9f82eec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker-gdal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@ jobs:
# install uv and use it to create a virtual environment, then add it to
# environment variables so that it is automatically activated and can be
# used for tests below
shell: bash
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
. $HOME/.cargo/env
if [ ${{ matrix.container }} == "osgeo/gdal:ubuntu-small-3.5.3" ]; then
uv python install 3.9
fi
uv venv .venv
echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV
echo "$PWD/.venv/bin" >> $GITHUB_PATH
Expand Down

0 comments on commit 9f82eec

Please sign in to comment.