Skip to content

BUG: reflect changes in bool(geom) in shapely 1.7 #1244

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

Merged
merged 3 commits into from
Jan 20, 2020

Conversation

martinfleis
Copy link
Member

Shapely have changed the behaviour of boolean representation of empty geometries (shapely/shapely#812) which broke our _binary_geo. I have made the condition used there more explicit to avoid the issue.

@martinfleis
Copy link
Member Author

Alright. In the meantime, there was another change on pandas master causing new fails. As there are like four pages of commits to pandas master in last 6 days (since this passed), I am struggling a bit to find what caused the issue.

@martinfleis
Copy link
Member Author

Got it. pandas-dev/pandas#30308 Pandas added new tests for ExtensionArray for which our GeometryArray was not ready :). This will require some changes in GeometryArray. I'll open separate issue for that.

@jorisvandenbossche
Copy link
Member

Can you merge master now I merged the other PR? That should then give green tests again.

@martinfleis
Copy link
Member Author

Green again. If you don't have any further comments we can merge and I'll update those red PRs to make them finally green.

@jorisvandenbossche jorisvandenbossche merged commit dcda96f into geopandas:master Jan 20, 2020
@jorisvandenbossche
Copy link
Member

Thanks!

I am personally not fully convinced this was a good change in shapely, but will comment about that there.

@martinfleis martinfleis deleted the shapely_17 branch January 20, 2020 15:26
jorisvandenbossche pushed a commit to jorisvandenbossche/geopandas that referenced this pull request Feb 6, 2020
jorisvandenbossche pushed a commit that referenced this pull request Feb 6, 2020
lwasser pushed a commit to lwasser/geopandas that referenced this pull request Apr 8, 2020
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.

2 participants