mesonbuild / meson-python

Meson PEP 517 Python build backend
https://mesonbuild.com/meson-python/
MIT License
128 stars 66 forks source link

intersphinx object.inv missing #693

Closed timhoffm closed 3 hours ago

timhoffm commented 3 hours ago

We've been using intersphinx to link tp meson-python

intersphinx_mapping = {
    'meson-python': ('https://meson-python.readthedocs.io/en/stable/', None),
}

Since recently, this results in a sphinx-build error ( e.g. https://app.circleci.com/pipelines/github/matplotlib/matplotlib/33363/workflows/c7423837-956c-4d75-85de-93e55fbdb8a5/jobs/85311):

intersphinx inventory 'https://meson-python.readthedocs.io/en/stable/objects.inv' not readable due to ValueError: unknown or unsupported inventory version: ValueError('invalid inventory header: <!doctype html>')

Actually, https://meson-python.readthedocs.io/en/stable/objects.inv does not exist and is redirected to https://mesonbuild.com/meson-python/

dnicolodi commented 3 hours ago

The bug report contains the solution: use https://mesonbuild.com/meson-python/objects.inv instead of the old readthedocs URL.

timhoffm commented 3 hours ago

Thanks.

rgommers commented 2 hours ago

I just added the redirect that broke this (xref gh-564). I tweaked the redirect now, and it resolves again to the right file. Sorry about that.

Still best to update the link, but things should work now either way.