Skip to content
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

Compatibility issue with shapely 2.x #408

Closed
KrisTapp opened this issue Mar 20, 2023 · 1 comment
Closed

Compatibility issue with shapely 2.x #408

KrisTapp opened this issue Mar 20, 2023 · 1 comment

Comments

@KrisTapp
Copy link

When I installed gerrychain with conda, the environment solver forced an upgrade from shapely 1.x to 2.x. But yet gerrychain seems to have incompatibilities with shapely 2.x.

For example, Graph.from_file caused errors for shapely 2.0, while in shapely 1.85, it only results in this message: "ShapelyDeprecationWarning: Setting custom attributes on geometry objects is deprecated, and will raise an AttributeError in Shapely 2.0"

@peterrrock2 peterrrock2 mentioned this issue Feb 1, 2024
@peterrrock2
Copy link
Collaborator

This should be fixed in the latest release. We have deprecated support for conda-forge, so we are asking everyone to install things using pip. Let me know if you have any more issues with this!

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

No branches or pull requests

2 participants