From df30a52a1858c4646a951663d9dead768b9f3755 Mon Sep 17 00:00:00 2001 From: Ana-Maria Rosu Date: Fri, 14 Nov 2025 09:54:57 +0100 Subject: [PATCH 1/3] ci: set ubuntu version --- .github/workflows/coveralls.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index fab32e1b..e4d59a7e 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -8,7 +8,7 @@ on: jobs: Caches: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v2 @@ -22,7 +22,7 @@ jobs: run: | sudo apt-get update - name: Install gdal - # latest version of ubuntu (24.04) has only unstable ubuntugis release + # ubuntu 24.04 has only unstable ubuntugis release run: | sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable && sudo apt-get update sudo apt-get install python3-gdal From 8f586f8f7e4df6b127d3f805463092f30ce51517 Mon Sep 17 00:00:00 2001 From: Ana-Maria Rosu Date: Thu, 13 Nov 2025 08:36:40 +0100 Subject: [PATCH 2/3] ci: change python version --- .github/workflows/coveralls.yml | 4 ++-- .github/workflows/lint-python.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index e4d59a7e..da8d1bdc 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.12.11 + - name: Set up Python 3.12 uses: actions/setup-python@v1 with: - python-version: 3.12.11 + python-version: 3.12 - name: apt update run: | diff --git a/.github/workflows/lint-python.yml b/.github/workflows/lint-python.yml index 08ca698d..bfaa2d32 100644 --- a/.github/workflows/lint-python.yml +++ b/.github/workflows/lint-python.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.12.11 + - name: Set up Python 3.12 uses: actions/setup-python@v1 with: - python-version: 3.12.11 + python-version: 3.12 - name: Install dependencies run: | From 5aa65807b41003737d8a0f359cf42819fbfc111a Mon Sep 17 00:00:00 2001 From: Ana-Maria Rosu Date: Thu, 13 Nov 2025 08:47:32 +0100 Subject: [PATCH 3/3] ci: update pip gdal settings --- .github/workflows/coveralls.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index da8d1bdc..3d868085 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -34,7 +34,9 @@ jobs: run: | python -m pip install --upgrade pip pip install numpy - pip install --global-option=build_ext --global-option="-I/usr/include/gdal" GDAL==`gdal-config --version` + pip install --config-settings="--global-option=build_ext" \ + --config-settings="--global-option=-I/usr/include/gdal" \ + GDAL==`gdal-config --version` - name: create cache RGB run: |