File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,8 @@ jobs:
218
218
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/install-gdal/lib
219
219
$GITHUB_WORKSPACE/install-gdal/bin/gdalinfo --version
220
220
PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/python3.8/site-packages python3 -c "from osgeo import gdal;print(gdal.VersionInfo(None))"
221
+ # Test fix for https://github.com/conda-forge/gdal-feedstock/issues/995
222
+ PYTHONWARNINGS="error" PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/python3.8/site-packages python3 -c "from osgeo import gdal"
221
223
PYTHONPATH=$GITHUB_WORKSPACE/install-gdal/lib/python3.8/site-packages python3 $GITHUB_WORKSPACE/scripts/check_doc.py
222
224
- name : CMake with rpath
223
225
run : |
Original file line number Diff line number Diff line change @@ -60,4 +60,8 @@ string(REPLACE "if (--interpreter_counter != 0) // another sub-interpreter may s
60
60
"/* Even Rouault / GDAL hack for SWIG >= 4.1 related to objects not being freed. See swig/python/modify_cpp_files.cmake for more details */\n if( 1 )"
61
61
_CONTENTS "${_CONTENTS} " )
62
62
63
+ # Works around https://github.com/swig/swig/issues/3061
64
+ string (REPLACE "# define SWIG_HEAPTYPES" "// Below is disabled because of https://github.com/swig/swig/issues/3061\n // # define SWIG_HEAPTYPES"
65
+ _CONTENTS "${_CONTENTS} " )
66
+
63
67
file (WRITE ${FILE} "${_CONTENTS} " )
You can’t perform that action at this time.
0 commit comments