Skip to content

Remove failing ff.create_choropleth test #5132

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 1 commit into from
Apr 7, 2025

Conversation

emilykl
Copy link
Contributor

@emilykl emilykl commented Apr 7, 2025

Had a chat with @marthacryan today about how to handle this failing test. Our conclusion is that since the ff.create_choropleth() function has been deprecated anyway since 4 years ago, the best solution is to simply remove this test.


The reason for the failure is that the shapely 2.1.0 release bumps the GEOS dependency version which changes the implementation of some geometric functions and causes shapely to return slightly different values.

Normally we could just update the expected value in the test, but unfortunately shapely 2.1.0 is not compatible with Python 3.9 and below so we'd have to either have two different expected values depending on which Python version is running the test, OR pin shapely<=2.0.7 indefinitely in the test suite, neither of which are great solutions.

@emilykl emilykl requested review from marthacryan and gvwilson April 7, 2025 18:55
@emilykl emilykl merged commit 533f504 into main Apr 7, 2025
5 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