Skip to content

Doc builds are suddenly failing #3622

@kurtmckee

Description

@kurtmckee

Issue

Scheduled doc builds have started failing with this warning as of today:

<unknown>:1: WARNING: py:data reference target not found: typing.Union [ref.data]
<unknown>:1: WARNING: py:data reference target not found: typing.Union [ref.data]
<unknown>:1: WARNING: py:data reference target not found: typing.Union [ref.data]

I've been able to narrow this down to these files by searching for the word "union" in the generated HTML:

    def add_config(  # noqa: PLR0913
        self,
        keys: str | Sequence[str],
        of_type: type[V],
        default: Callable[[Config, str | None], V] | V,
        desc: str,
        post_process: Callable[[V], V] | None = None,
        factory: Factory[Any] | None = None,
    ) -> ConfigDynamicDefinition[V]:

However, I haven't been able to figure out why this is suddenly triggering an issue, nor have I figured out what can be done to resolve the problem.

I'm opening this issue simply to note what I've found about the issue so far. I won't have additional time to drive this issue to closure, unfortunately.

Environment

Provide at least:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions