Closed
Description
Issue
I have tested the upcoming Sphinx version (using Sphinx 8.2.0rc1) and got this warning:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/sphinx_codeautolink/extension/__init__.py", line 46, in wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/sphinx_codeautolink/extension/__init__.py", line 180, in create_references
self.inventory = self.make_inventory(app)
~~~~~~~~~~~~~~~~~~~^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/sphinx_codeautolink/extension/__init__.py", line 169, in make_inventory
transposed = transpose_inventory(inter_inv, relative_to=app.outdir)
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/sphinx_codeautolink/extension/__init__.py", line 301, in transpose_inventory
location = info[2]
~~~~^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/sphinx/util/inventory.py", line 313, in __getitem__
warnings.warn(
~~~~~~~~~~~~~^
'The tuple interface for _InventoryItem objects is deprecated.',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RemovedInSphinx10Warning,
^^^^^^^^^^^^^^^^^^^^^^^^^
stacklevel=2,
^^^^^^^^^^^^^
)
^
sphinx.deprecation.RemovedInSphinx10Warning: The tuple interface for _InventoryItem objects is deprecated.
See sphinx-doc/sphinx#13325 for Sphinx release plan.
Expected behavior
No warning.
Steps to reproduce
See https://github.com/mgeier/nbsphinx/actions/runs/13377728736/job/37360423578