`download_osmnx_graph` produces a deprecation warning for the `shapely` package
user27182 opened this issue · comments
Describe what maintenance you would like added.
Running
pip install pyvista osmnx | python -c "from pyvista.examples.downloads import download_osmnx_graph; download_osmnx_graph()"
Gives a deprecation warning:
UserWarning: Unpickling a shapely <2.0 geometry object. Please save the pickle again; shapely 2.1 will not have this compatibility.
return pickle.load(open(filename, 'rb'))
This dataset was originally added in #1611
cc @akaszynski
EDIT:
The maintenance to be done is perhaps to update the example? Or maybe add a note to the example about the shapely
version requirements.
Link to the docs page for this example: link
Line generating the warning:
pyvista/pyvista/examples/downloads.py
Line 3932 in 3d6e327
Note: This warning was found while running some tests locally as part of #5787
Links to source code.
No response
Pseudocode or Screenshots
No response
Let's drop this example. I think we already have a ton of dependencies in our examples, and we might consider separating out some of our extended examples into a separate repo.