Conversation
GDAL 3.8.4 was using pip's isolated build environment, which installed an older, incompatible version of NumPy during the wheel compilation. By explicitly installing numpy in the main environment and using --no-build-isolation, we force GDAL to compile against the exact same NumPy version used at runtime. Assisted-by: gemini-3.1-pro-low
These tests were previously skipped by default in pytest addopts. Since the CI environment has a modern GDAL version, these tests can now be run to ensure coverage of stack export functionality. Assisted-by: gemini-3.1-pro-low
PR Reviewer Guide 🔍(Review updated until commit 5c3773d)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 5c3773d Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit efd0917
Suggestions up to commit efd0917
Suggestions up to commit e2b9119
Suggestions up to commit cf2310f
|
|
Persistent review updated to latest commit e2b9119 |
|
Persistent review updated to latest commit e2b9119 |
|
Persistent review updated to latest commit efd0917 |
enable strict shell mode for GDAL_VERSION
|
Persistent review updated to latest commit 5c3773d |
User description
This should fix the pipeline failing because of some GDAL issues
PR Type
Bug fix, Enhancement, Configuration changes
Description
Stabilize GDAL pip installs in CI
Disable GDAL build isolation; pin NumPy
Run
newgdaltests in CIRaise minimum Python version to 3.10
Diagram Walkthrough
File Walkthrough
gh-pages.yml
Make GDAL install reproducible for docs build.github/workflows/gh-pages.yml
setuptools,wheel, andnumpy--no-build-isolationpublish.yml
Standardize GDAL version install quoting.github/workflows/publish.yml
${GDAL_VERSION}expansion in pip commandpython-test.yml
Stabilize GDAL install and adjust CI matrix.github/workflows/python-test.yml
setuptools,wheel, andnumpy--no-build-isolationpyproject.toml
Bump minimum Python and enable `newgdal` testspyproject.toml
requires-pythonto>=3.10not newgdalpytest marker filter