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 GMT 6.4.0 builds 3, 4, 5 with correct GDAL 3.6 pinning #366

Merged
merged 1 commit into from
Dec 5, 2022
Merged

Patch GMT 6.4.0 builds 3, 4, 5 with correct GDAL 3.6 pinning #366

merged 1 commit into from
Dec 5, 2022

Conversation

weiji14
Copy link
Member

@weiji14 weiji14 commented Dec 4, 2022

Recent libgdal36 migration removed the pins for GDAL in GMT, 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 GMT versions built with GDAL 3.6 can only be installed with GDAL 3.6.

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/gmt-feedstock#226, conda-forge/gmt-feedstock#230 and conda-forge/gmt-feedstock#231.
Closes GenericMappingTools/pygmt#2215.

Relevant diff when running python show_diff.py:

linux-64::gmt-6.4.0-h8b1eae8_4.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
linux-64::gmt-6.4.0-h8b1eae8_5.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
osx-64::gmt-6.4.0-h09a9948_3.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
osx-64::gmt-6.4.0-h46ce199_4.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
osx-64::gmt-6.4.0-h46ce199_5.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
osx-arm64::gmt-6.4.0-h1d82dbe_3.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
osx-arm64::gmt-6.4.0-h37daf58_4.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
osx-arm64::gmt-6.4.0-h37daf58_5.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
win-64::gmt-6.4.0-h379bcb0_3.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
win-64::gmt-6.4.0-h5e9ae33_4.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",
win-64::gmt-6.4.0-h5e9ae33_5.conda
-    "gdal",
+    "gdal >=3.6.0,<3.7.0a0",

Recent libgdal36 migration removed the pins for GDAL in GMT, 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` so that GMT versions built with GDAL 3.6 can only be installed with GDAL 3.6.
@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.

@weiji14 weiji14 marked this pull request as ready for review December 4, 2022 14:13
@weiji14 weiji14 requested a review from a team as a code owner December 4, 2022 14:13
@ocefpaf ocefpaf merged commit ae360bd into conda-forge:main Dec 5, 2022
@weiji14 weiji14 deleted the gmt-gdal-3.6 branch December 5, 2022 14:51
@weiji14
Copy link
Member Author

weiji14 commented Dec 5, 2022

Thanks Filipe!

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.

Error while loading shared libraries: libgdal.so.32 for Python 3.10/Numpy 1.23 tests
3 participants