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

Replace usage of deprecated sphinx.util.status_iterator #391

Closed
AWhetter opened this issue Jun 10, 2023 · 2 comments · Fixed by #398
Closed

Replace usage of deprecated sphinx.util.status_iterator #391

AWhetter opened this issue Jun 10, 2023 · 2 comments · Fixed by #398
Assignees
Labels
Good First Issue Good issue for first time contributors Other Improvement Improvements that aren't targeted at users

Comments

@AWhetter
Copy link
Collaborator

Running the tests outputs the following warnings:

tests/test_domains.py::TestDotNetSphinxMapper::test_get_objects
  /sphinx-autoapi/.tox/py311/lib/python3.11/site-packages/autoapi/mappers/dotnet.py:145: RemovedInSphinx80Warning: The alias 'sphinx.util.status_iterator' is deprecated, use 'sphinx.util.display.status_iterator' instead. Check CHANGES for Sphinx API modifications.
    for _, data in sphinx.util.status_iterator(

tests/test_integration.py::TestJavaScript::test_integration
  /sphinx-autoapi/.tox/py311/lib/python3.11/site-packages/autoapi/mappers/base.py:210: RemovedInSphinx80Warning: The alias 'sphinx.util.status_iterator' is deprecated, use 'sphinx.util.display.status_iterator' instead. Check CHANGES for Sphinx API modifications.
    for path in sphinx.util.status_iterator(

tests/test_integration.py::TestJavaScript::test_integration
  /sphinx-autoapi/.tox/py311/lib/python3.11/site-packages/autoapi/mappers/javascript.py:53: RemovedInSphinx80Warning: The alias 'sphinx.util.status_iterator' is deprecated, use 'sphinx.util.display.status_iterator' instead. Check CHANGES for Sphinx API modifications.
    for _, data in sphinx.util.status_iterator(

tests/test_integration.py: 4 warnings
tests/python/test_pyintegration.py: 35 warnings
  /sphinx-autoapi/.tox/py311/lib/python3.11/site-packages/autoapi/mappers/base.py:312: RemovedInSphinx80Warning: The alias 'sphinx.util.status_iterator' is deprecated, use 'sphinx.util.display.status_iterator' instead. Check CHANGES for Sphinx API modifications.
    for _, obj in sphinx.util.status_iterator(


tests/test_integration.py: 3 warnings
tests/python/test_pyintegration.py: 37 warnings
  /sphinx-autoapi/.tox/py311/lib/python3.11/site-packages/autoapi/mappers/python/mapper.py:294: RemovedInSphinx80Warning: The alias 'sphinx.util.status_iterator' is deprecated, use 'sphinx.util.display.status_iterator' instead. Check CHANGES for Sphinx API modifications.
    for dir_root, path in sphinx.util.status_iterator(

tests/test_integration.py: 3 warnings
tests/python/test_pyintegration.py: 37 warnings
  /sphinx-autoapi/.tox/py311/lib/python3.11/site-packages/autoapi/mappers/base.py:294: RemovedInSphinx80Warning: The alias 'sphinx.util.status_iterator' is deprecated, use 'sphinx.util.display.status_iterator' instead. Check CHANGES for Sphinx API modifications.
    for _, data in sphinx.util.status_iterator(

We need to get these address before Sphinx v8 is released.

@AWhetter AWhetter added Good First Issue Good issue for first time contributors Other Improvement Improvements that aren't targeted at users labels Jun 10, 2023
@AWhetter AWhetter changed the title Replace deprecated usage of sphinx.util.status_iterator Replace usage of deprecated sphinx.util.status_iterator Jun 10, 2023
@N-Wouda
Copy link
Contributor

N-Wouda commented Jul 11, 2023

I just noticed this pop up in my docs build after upgrading to Sphinx v7. I could pick this up sometime this week if you're not already working on this @AWhetter. Feel free to assign me.

@AWhetter
Copy link
Collaborator Author

Thanks for volunteering to do this! I've assigned you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue Good issue for first time contributors Other Improvement Improvements that aren't targeted at users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants