Skip to content

Commit 4052efa

Browse files
committed
try using this uv install of deps
1 parent 8f56e31 commit 4052efa

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ jobs:
2626
- name: Install System Dependencies (GDAL)
2727
run: |
2828
sudo apt-get update
29-
sudo apt-add-repository -y ppa:ubuntugis/ubuntugis-unstable
30-
sudo apt-get -y update
31-
sudo apt-get install -y gdal-bin libgdal-dev libproj-dev libgeos-dev
32-
python -m pip install --upgrade pip wheel
29+
sudo apt-get install -y libgdal-dev g++
3330
3431
- name: Install uv
3532
uses: astral-sh/setup-uv@v5
@@ -42,9 +39,7 @@ jobs:
4239
- name: Install dependencies
4340
run: |
4441
uv lock --upgrade
45-
uv pip install .
46-
uv pip install .[docs]
47-
uv pip freeze
42+
uv sync --all-extras
4843
env:
4944
GDAL_CONFIG: /usr/bin/gdal-config
5045

.github/workflows/python-package.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,23 @@ jobs:
3838
python -m pip install pre-commit
3939
pre-commit run --show-diff-on-failure --all-files
4040
41+
- name: Install System Dependencies (GDAL)
42+
run: |
43+
sudo apt-get update
44+
sudo apt-get install -y libgdal-dev g++
45+
46+
- name: Install uv
47+
uses: astral-sh/setup-uv@v5
48+
with:
49+
enable-cache: true
50+
51+
- name: Set up Python
52+
run: uv python install
53+
4154
- name: Install dependencies
42-
env:
43-
CURL_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
4455
run: |
45-
sudo apt-add-repository -y ppa:ubuntugis/ubuntugis-unstable
46-
sudo apt-get -y update
47-
sudo apt-get install -y gdal-bin libgdal-dev libproj-dev libgeos-dev
48-
python -m pip install --upgrade pip wheel
49-
uv pip install .
50-
uv pip install .[test]
51-
uv pip freeze
56+
uv lock --upgrade
57+
uv sync --all-extras
5258
5359
# run tests
5460
- name: run

0 commit comments

Comments
 (0)