Skip to content

Commit 641e8e3

Browse files
committed
CI: Build Python docstubs in Ubuntu 24.04 config
1 parent f3c63b1 commit 641e8e3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ubuntu_24.04/Dockerfile.ci

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ RUN PYTHON_CMD=python3 && $PYTHON_CMD -m pip install --break-system-packages cfc
166166

167167
RUN PYTHON_CMD=python3 && $PYTHON_CMD -m pip install --break-system-packages fsspec
168168

169+
RUN PYTHON_CMD=python3 && $PYTHON_CMD -m pip install --break-system-packages docstub
170+
169171
# Manually install ADBC packages from Ubuntu 22.04 as there are no 24.04 packages at time of writing.
170172
RUN curl -LO -fsS https://apache.jfrog.io/artifactory/arrow/ubuntu/pool/jammy/main/a/apache-arrow-adbc/libadbc-driver-manager102_14-1_amd64.deb \
171173
&& curl -LO -fsS https://apache.jfrog.io/artifactory/arrow/ubuntu/pool/jammy/main/a/apache-arrow-adbc/libadbc-driver-manager-dev_14-1_amd64.deb \

.github/workflows/ubuntu_24.04/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ cmake ${GDAL_SOURCE_DIR:=..} \
1717
"-DUSE_PRECOMPILED_HEADERS=ON" \
1818
-DOracle_ROOT=/opt/instantclient_19_9 \
1919
-DGDAL_USE_GEOTIFF_INTERNAL:BOOL=ON \
20-
-DGDAL_USE_TIFF_INTERNAL:BOOL=ON
20+
-DGDAL_USE_TIFF_INTERNAL:BOOL=ON \
21+
-DBUILD_PYTHON_STUBS=ON
2122

2223
echo "Test turning GDAL drivers off"
2324
cp CMakeCache.txt CMakeCache.txt.bak

0 commit comments

Comments
 (0)