Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch qgis 3.28.1 build 0 with correct GDAL 3.6 pinning #372

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gillins
Copy link

@gillins gillins commented Dec 13, 2022

Recent libgdal36 migration removed the pins for GDAL in QGIS, causing an error like libgdal.so.32: cannot open shared object file: No such file or directory due to mismatch in GDAL version used in build vs runtime. This adds the proper gdal >=3.6.0,<3.7.0a0 pin so that QGIS versions built with GDAL 3.6 can only be installed with GDAL 3.6.

Similar to #366

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

Patches: conda-forge/qgis-feedstock#274
Closes: conda-forge/qgis-feedstock#276
Similar to: #366

cc: @weiji14

Relevant diff when running python show_diff.py (Windows builds failed with 'out of memory' so they don't exist):

linux-64::qgis-3.28.1-py310h3c18fa3_0.tar.bz2
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
linux-64::qgis-3.28.1-py311hf5d26d0_0.tar.bz2
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
linux-64::qgis-3.28.1-py38hbecbac2_0.tar.bz2
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
linux-64::qgis-3.28.1-py39ha366a5a_0.tar.bz2
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
osx-64::qgis-3.28.1-py310h05cb66a_0.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
osx-64::qgis-3.28.1-py311he4927b1_0.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
osx-64::qgis-3.28.1-py38h5ae8a72_0.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
osx-64::qgis-3.28.1-py39hda9d10f_0.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",

@gillins gillins requested a review from a team as a code owner December 13, 2022 04:27
@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QGIS 3.28.1 + gdal<3.6 causes error loading shared libraries
2 participants