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

Fix warning about returning tuples from get_object_members() #428

Closed
AWhetter opened this issue Apr 2, 2024 · 0 comments
Closed

Fix warning about returning tuples from get_object_members() #428

AWhetter opened this issue Apr 2, 2024 · 0 comments
Labels

Comments

@AWhetter
Copy link
Collaborator

AWhetter commented Apr 2, 2024

Running the tests outputs the following warning:

.tox/py312/lib/python3.12/site-packages/sphinx/ext/autodoc/__init__.py:818: RemovedInSphinx80Warning: Returning tuples of (name, object) as the second return value from get_object_members() is deprecated. Return ObjectMember(name, object) instances instead.
    for (mname, member, isattr) in self.filter_members(members, want_all):

We should address this before Sphinx v8 is released and this warning becomes an error.

@AWhetter AWhetter added the Bug label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant