Skip to content

WARNING: undefined label: 'python:bltin-boolean-values' #509

Closed as not planned
python/cpython
#110371
@pllim

Description

@pllim

Intersphinx like this now points to Python 3.12 doc:

intersphinx_mapping = {
    'python': ('https://docs.python.org/3/', None),

Unfortunately, the bltin-boolean-values ref tag was completely removed in python/cpython#103487 . As a result, this xref now fails:

"bool": ":ref:`bool <python:bltin-boolean-values>`",
"boolean": ":ref:`bool <python:bltin-boolean-values>`",

WARNING: undefined label: 'python:bltin-boolean-values'

As I am unfamiliar with the internals here, it is unclear to me how one can make such xref be flexible enough for different Python versions. Would be nice if they add back the old tag but I am not sure if they will.

Update: Maybe they will after all, see python/cpython#110371 🤞

xref astropy/astropy#15428

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