pysal / mapclassify

Classification schemes for choropleth mapping.
https://pysal.org/mapclassify
BSD 3-Clause "New" or "Revised" License
139 stars 32 forks source link

testing with `geopandas.dataset` module – deprecation #191

Closed jGaboardi closed 1 year ago

jGaboardi commented 1 year ago

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/.