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
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[x] I have run the unit tests before creating the PR - tested installing on macOS, and tested to work on Red Hat Linux
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 thegeos
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
I have made corresponding changes to the documentation