Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kba
Copy link
Member

@kba kba commented Jul 1, 2025

Trying to fix the shapely compile error issue that I (and the ocrd_all CI encounter with python 3.8.

For Python <= 3.8:

  • Use numpy >= 1.19.3 for the build environment
  • Use shapely <= 2.0.1 for the runtime environment (for me the compile errors started with that patch)

For Python > 3.9:

  • Use oldest-supported-numpy for the build environment
  • Use the most recent shapely for the runtime environment

This seems to work but I am not sure I understand the ramifications of the build requirements and wheter oldest-supported-numpy is deprecated now, so feedback welcome.

@kba kba merged commit 60f507f into master Jul 4, 2025
17 checks passed
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.

3 participants