Skip to content

docs builds are broken #9774

Closed
Closed

Description

@dcherian

What happened?


Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/9766/lib/python3.12/site-packages/nbsphinx/__init__.py", line 634, in parse
    rststring, resources = exporter.from_notebook_node(nb, resources)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/9766/lib/python3.12/site-packages/nbsphinx/__init__.py", line 397, in from_notebook_node
    nb, resources = pp.preprocess(nb, resources)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/9766/lib/python3.12/site-packages/nbconvert/preprocessors/execute.py", line 103, in preprocess
    self.preprocess_cell(cell, resources, index)
  File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/9766/lib/python3.12/site-packages/nbconvert/preprocessors/execute.py", line 124, in preprocess_cell
    cell = self.execute_cell(cell, index, store_history=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/9766/lib/python3.12/site-packages/jupyter_core/utils/__init__.py", line 165, in wrapped
    return loop.run_until_complete(inner)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/9766/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/9766/lib/python3.12/site-packages/nbclient/client.py", line 1062, in async_execute_cell
    await self._check_raise_for_error(cell, cell_index, exec_reply)
  File "/home/docs/checkouts/readthedocs.org/user_builds/xray/conda/9766/lib/python3.12/site-packages/nbclient/client.py", line 918, in _check_raise_for_error
    raise CellExecutionError.from_cell_and_msg(cell, exec_reply_content)
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
------------------
ds = xr.tutorial.load_dataset("era5-2mt-2019-03-uk.grib", engine="cfgrib")
------------------


�[0;31mHTTPError�[0m: 403 Client Error: Forbidden for url: https://raw.githubusercontent.com/pydata/xarray-data/master/era5-2mt-2019-03-uk.grib

What did you expect to happen?

No response

Minimal Complete Verifiable Example

No response

MVCE confirmation

  • Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
  • Complete example — the example is self-contained, including all data and the text of any traceback.
  • Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
  • New issue — a search of GitHub Issues suggests this is not a duplicate.
  • Recent environment — the issue occurs with the latest version of xarray and its dependencies.

Relevant log output

No response

Anything else we need to know?

No response

Environment

Details

Activity

  1. added
    needs triageIssue that has not been reviewed by xarray team member
    AutomationGithub bots, testing workflows, release automation
    and removed
    needs triageIssue that has not been reviewed by xarray team member
    on Nov 13, 2024
  2. kmuehlbauer commented on Nov 14, 2024

    @kmuehlbauer
    Contributor

    This issue is not only affecting xarray, also other projects hosted on RTD experience these download issues. Not idea how to tackle this, since the data downloads perfectly fine locally.

    pooch also didn't have an update recently, ruling that out as an issue. Maybe some other dependencies have changed in the network stack?

  3. kmuehlbauer commented on Nov 14, 2024

    @kmuehlbauer
    Contributor

    This is some weird upstream issue between RTD and GitHub AFAICT, see readthedocs/readthedocs.org#11763 (comment) for a summary.

  4. phofl commented on Nov 14, 2024

    @phofl
    Contributor

    Dask fixed this here: dask/dask-sphinx-theme#91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AutomationGithub bots, testing workflows, release automationbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions