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

testing with geopandas.dataset module – deprecation #191

Closed
jGaboardi opened this issue Sep 5, 2023 · 0 comments · Fixed by #194
Closed

testing with geopandas.dataset module – deprecation #191

jGaboardi opened this issue Sep 5, 2023 · 0 comments · Fixed by #194
Assignees

Comments

@jGaboardi
Copy link
Member

Some of our tests here use the geopandas.dataset module, which is now deprecated. We should decide if the tests should be updated for a different source (and the notebooks will need to be updated, too) or something else.

/Users/user/mapclassify/mapclassify/tests/test_greedy.py:11: FutureWarning: The geopandas.dataset module is deprecated and will be removed in GeoPandas 1.0. You can get the original 'naturalearth_lowres' data from https://www.naturalearthdata.com/downloads/110m-cultural-vectors/.
    world = geopandas.read_file(geopandas.datasets.get_path("naturalearth_lowres"))
<doctest mapclassify.greedy.greedy[2]>:1: FutureWarning: The geopandas.dataset module is deprecated and will be removed in GeoPandas 1.0. You can get the original 'naturalearth_lowres' data from https://www.naturalearthdata.com/downloads/110m-cultural-vectors/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants