-
Notifications
You must be signed in to change notification settings - Fork 229
CI: Do not use geopandas 0.13.0 in docs #2545
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
Conversation
Upstream issue opened at geopandas/geopandas#2908. For reference, this was the traceback from the readthedocs build failure: Unexpected failing examples:
/home/docs/checkouts/readthedocs.org/user_builds/pygmt-dev/checkouts/2536/examples/gallery/lines/roads.py failed leaving traceback:
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/pygmt-dev/checkouts/2536/examples/gallery/lines/roads.py", line 16, in <module>
gdf = gpd.read_file(
^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/pygmt-dev/conda/2536/lib/python3.11/site-packages/geopandas/io/file.py", line 248, in _read_file
return _read_file_fiona(
^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/pygmt-dev/conda/2536/lib/python3.11/site-packages/geopandas/io/file.py", line 289, in _read_file_fiona
with reader(path_or_bytes, **kwargs) as features:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/pygmt-dev/conda/2536/lib/python3.11/site-packages/fiona/env.py", line 457, in wrapper
return f(*args, **kwds)
^^^^^^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/pygmt-dev/conda/2536/lib/python3.11/site-packages/fiona/__init__.py", line 336, in open
colxn = Collection(
^^^^^^^^^^^
File "/home/docs/checkouts/readthedocs.org/user_builds/pygmt-dev/conda/2536/lib/python3.11/site-packages/fiona/collection.py", line 243, in __init__
self.session.start(self, **kwargs)
File "fiona/ogrext.pyx", line 588, in fiona.ogrext.Session.start
File "fiona/ogrext.pyx", line 143, in fiona.ogrext.gdal_open_vector
fiona.errors.DriverError: '/vsizip/vsicurl/http://www2.census.gov/geo/tiger/TIGER2015/PRISECROADS/tl_2015_15_prisecroads.zip' does not exist in the file system, and is not recognized as a supported dataset name. |
This is a bit strange: while working on fixing the mentioned issue, this specific URL actually does work for me with geopandas 0.13.0:
and also works with
So for this specific url, it might be related to the GDAL version? (or maybe a temporary server issue?) |
Hmm you're right. I just tested installing |
Description of proposed changes
As mentioned in #2536 (comment), our docs CI fail due to changes with the geopandas 0.13.0 release (geopandas/geopandas#2796 (comment)), which is an unexpected regression.
Before the next geopandas patch version is released, we need to skip geopandas 0.13.0 in the docs workflow so that the docs can be correctly built and updated.
Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.Slash Commands
You can write slash commands (
/command
) in the first line of a comment to performspecific operations. Supported slash commands are:
/format
: automatically format and lint the code/test-gmt-dev
: run full tests on the latest GMT development version