TypeError: ClassDocumenter.add_content() takes 2 positional arguments but 3 were given

Bug #2034891 reported by Yadnesh Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Aodh
New
Undecided
Yadnesh Kulkarni

Bug Description

Aodh docs CI job fails with
~~~
Exception occurred:
  File "/home/zuul/src/opendev.org/openstack/aodh/.tox/docs/lib/python3.10/site-packages/wsmeext/sphinxext.py", line 231, in add_docstring
    super(TypeDocumenter, self).add_content(
TypeError: ClassDocumenter.add_content() takes 2 positional arguments but 3 were given
The full traceback has been saved in /tmp/sphinx-err-t8ol2wh2.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
docs: 8824 C exit 2 (4.48 seconds) /home/zuul/src/opendev.org/openstack/aodh> sphinx-build -W --keep-going -b html doc/source doc/build/html pid=7368 [tox/execute/api.py:279]
.pkg: 8826 W _exit> python /home/zuul/.local/tox/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ [tox/tox_env/api.py:427]
Backend: run command _exit with args {}
Backend: Wrote response {'return': 0} to /tmp/pep517__exit-xh9ugtmw.json
.pkg: 8828 I exit None (0.00 seconds) /home/zuul/src/opendev.org/openstack/aodh> python /home/zuul/.local/tox/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ pid=7230 [tox/execute/api.py:279]
.pkg: 8869 D delete package /home/zuul/src/opendev.org/openstack/aodh/.tox/.tmp/package/2/aodh-16.1.0.dev12-0.editable-py3-none-any.whl [tox/tox_env/python/virtual_env/package/pyproject.py:206]
  docs: FAIL code 2 (8.53=setup[4.05]+cmd[0.00,4.48] seconds)
  evaluation failed :( (8.70 seconds)
~~~

This was identified as an issue with WSME library which is fixed with https://review.opendev.org/c/x/wsme/+/893677

Once a new release is published with this change, docs job can be enabled again. For now it is being disabled.

Changed in aodh:
assignee: nobody → Yadnesh Kulkarni (ykulkarn)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.