Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/builder_releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ on:
# Globals
env:
PROJECT_FOLDER: "dicogis"
PYTHON_VERSION: "3.11"
# Python embedded in the executables, Linux and Windows alike
PYTHON_VERSION: "3.14"
PYINSTALLER_LOG_LEVEL: "DEBUG"
USE_PATH_FOR_GDAL_PYTHON: yes

Expand Down Expand Up @@ -133,8 +134,12 @@ jobs:

env:
export_output_folder: tests/ci/windows
GDAL_VERSION: "3.11.1"
PYTHON_VERSION: "3.11"
# geospatial-wheels release providing a GDAL wheel for PYTHON_VERSION:
# v2025.10.25 is the first one built after Python 3.14.0 final (earlier
# cp314 wheels target 3.14 pre-releases, before its ABI was frozen).
# Keep aligned with the Windows job of tester.yml.
GDAL_VERSION: "3.11.4"
GEOSPATIAL_WHEELS_RELEASE: "v2025.10.25"

steps:
- name: Get source code
Expand All @@ -150,9 +155,11 @@ jobs:
cache-dependency-path: pyproject.toml

- name: Install project requirements
shell: pwsh
run: |
python -m pip install -U pip setuptools wheel
python -m pip install -U https://github.com/cgohlke/geospatial-wheels/releases/download/v2025.7.4/gdal-3.11.1-cp311-cp311-win_amd64.whl
$cpTag = "cp" + ($env:PYTHON_VERSION -replace '\.', '')
python -m pip install -U "https://github.com/cgohlke/geospatial-wheels/releases/download/${env:GEOSPATIAL_WHEELS_RELEASE}/gdal-${env:GDAL_VERSION}-$cpTag-$cpTag-win_amd64.whl"

- name: Install project as a package
run: python -m pip install .[gdal,gui,packaging]
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,14 @@ jobs:
- "3.11"
- "3.12"
- "3.13"
- "3.14"

env:
export_output_folder: tests/ci/windows
GDAL_VERSION: "3.11.1"
# keep aligned with the Windows job of builder_releaser.yml, which ships
# this GDAL in the executables
GDAL_VERSION: "3.11.4"
GEOSPATIAL_WHEELS_RELEASE: "v2025.10.25"

permissions:
contents: read
Expand All @@ -170,7 +174,7 @@ jobs:
run: |
python -m pip install -U pip setuptools wheel
$cpTag = "cp" + ($env:PYTHON_VERSION -replace '\.', '')
$wheelUrl = "https://github.com/cgohlke/geospatial-wheels/releases/download/v2025.7.4/gdal-${env:GDAL_VERSION}-$cpTag-$cpTag-win_amd64.whl"
$wheelUrl = "https://github.com/cgohlke/geospatial-wheels/releases/download/${env:GEOSPATIAL_WHEELS_RELEASE}/gdal-${env:GDAL_VERSION}-$cpTag-$cpTag-win_amd64.whl"
python -m pip install -U $wheelUrl

- name: Install project as a package
Expand Down
2 changes: 1 addition & 1 deletion docs/development/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
> letting pip pull one from the package index used in "Install project" below.

1. Go to <https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal> or to <https://github.com/cgohlke/geospatial-wheels/releases/latest>
1. Download the appropriate package for the Python environment (version, type...). For example: `gdal-3.11.1-cp311-cp311-win_amd64`
1. Download the appropriate package for the Python environment (version, type...). For example: `gdal-3.11.4-cp311-cp311-win_amd64`
1. Move downloaded wheel to the `lib` subfolder
1. Make sure there is only one wheel of GDAL in the `lib` subfolder

Expand Down
Loading