Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python type lookup broken when C domain is used #6488

Closed
lazka opened this issue Jun 15, 2019 · 8 comments
Closed

Python type lookup broken when C domain is used #6488

lazka opened this issue Jun 15, 2019 · 8 comments

Comments

@lazka
Copy link

lazka commented Jun 15, 2019

Describe the bug

The pycairo docs build has started to fail after some recent sphinx upgrade: https://travis-ci.org/pygobject/pycairo/jobs/543179784#L938

To Reproduce

conf.py:

extensions = ['sphinx.ext.intersphinx']
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}

index.rst:

.. c:function:: cfoo()

.. function:: foo()

    :param float bar: :class:`float`

python3 -m sphinx -b html -n . _build

Expected output: No warnings

Actual output:

index.rst:5: WARNING: py:type reference target not found: float

Using:

  • Python 3.7.3
  • Sphinx 2.1.1
@lazka
Copy link
Author

lazka commented Jun 15, 2019

It works with 2.0.1 and is broken with 2.1.0

@lazka
Copy link
Author

lazka commented Jun 15, 2019

Bisected to a990f9f

@tk0miya tk0miya added the domain label Jun 15, 2019
@tk0miya tk0miya added this to the 2.1.2 milestone Jun 15, 2019
@tk0miya
Copy link
Member

tk0miya commented Jun 15, 2019

Sorry for inconvenience. Will be fixed by #6192

@lazka
Copy link
Author

lazka commented Jun 15, 2019

Thanks!

@lazka
Copy link
Author

lazka commented Jun 16, 2019

btw, did you reference the wrong PR? That's the one causing the issue :)

@lazka
Copy link
Author

lazka commented Jun 16, 2019

ok, #6482, I can confirm that that fixes my issue.

@tk0miya
Copy link
Member

tk0miya commented Jun 16, 2019

oh, sorry.

@tk0miya
Copy link
Member

tk0miya commented Jun 18, 2019

Fixed by #6478.
Thank you for reporting.

@tk0miya tk0miya closed this as completed Jun 18, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants