Skip to content

Fix accessors docs build #11584

Description

@mwyau

What happened?

  • Python 3.14.7 added a docstring to typing._GenericAlias. In Python 3.14.6 they were code comments.
  • This caused sphinx to parse the _GenericAlias docstring instead of the accessor and throw an error.

Fixed in PR: xarray-contrib/sphinx-autosummary-accessors#171

Reference: #11570

What did you expect to happen?

No response

Steps to reproduce

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.

Anything else we need to know?

No response

Environment

Details

Activity

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

    bugneeds triageIssue that has not been reviewed by xarray team member

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions