[DOCS] Fix failed Python CI caused by the release of Shapely 2.0 #732
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Did you read the Contributor Guide?
Is this PR related to a JIRA ticket?
[DOCS] my subject
.What changes were proposed in this PR?
GeoPandas has Shapely as a hidden dependency with a version pattern
shapely>=1.7
: https://github.com/geopandas/geopandas/blob/main/requirements-dev.txt#L5When pip installs GeoPandas, the latest shapely version will be installed automatically (if the user does not have one) as long as it is larger than 1.7.
Last night, Shapely publishes the 2.0 release which includes many breaking changes while GeoPandas only starts to support Shapely 2.0 in the latest GeoPandas 0.12
People who installs GeoPandas <0.12.0 will now have Shapely 2.0 install but the installed GeoPandas cannot work with it.
See the bug report I created on GeoPandas repo: geopandas/geopandas#2677
How was this patch tested?
Manually pin the Shapely version and passed CI
Did this PR include necessary documentation updates?