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 traverse attribute on docutils nodes #393

Closed
AWhetter opened this issue Jun 10, 2023 · 0 comments · Fixed by #424
Closed

Replace usage of deprecated traverse attribute on docutils nodes #393

AWhetter opened this issue Jun 10, 2023 · 0 comments · Fixed by #424
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 warning:

tests/test_integration.py: 4 warnings
tests/python/test_pyintegration.py: 33 warnings
  /home/ashley/workspace/sphinx-autoapi/.tox/py311/lib/python3.11/site-packages/autoapi/extension.py:191: PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by Node.findall().
    nodes = list(doctree.traverse(toctree))

We need to address this before a release of astroid removes the method.

@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 usage of deprecated traverse attribute on astroid nodes Replace usage of deprecated traverse attribute on docutils nodes Mar 26, 2024
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.

1 participant