JCSDA / spack

A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
https://spack.io
Other
0 stars 14 forks source link

Fix bug for Linux in var/spack/repos/builtin/packages/py-shapely/shapely-1.8.0-geos.py.patch #373

Closed climbfuji closed 11 months ago

climbfuji commented 11 months ago

Description

Years ago I created a patch for shapely to correct the crude logic in the package's geos.py file (which is responsible for finding the geos library and dll-open it). The bug fix for macOS was mistakenly copied in for Linux, too. So far it hasn't caused problems ... until today. This bug fix here fixes the bug fix from years ago. It was tested on AWS, Red Hat 8, where the error was reported first. (Some settings in the user environment triggered the wrongly patched branch of the if condition for Linux).

Issue(s) addressed

See above

Dependencies

n/a

Impact

Expected impact on downstream repositories: none

Checklist