Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-602

Fix doc build warnings RemovedInSphinx40Warning: PyClassmember is deprecated

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.5
    • Affects Version/s: None
    • Component/s: Docs

      We should fix these doc build warnings:

       [2020/08/10 23:25:32.663] py3-sphinx-docs run-test: commands[0] | sphinx-build -q -E -W -b html . /data/mci/54080f1ff7147a775a4b89567f2d3257/src/.tox/py3-sphinx-docs/tmp/html
       [2020/08/10 23:25:41.924] /data/mci/54080f1ff7147a775a4b89567f2d3257/src/doc/coroutine_annotation.py:23: RemovedInSphinx40Warning: PyClassmember is deprecated. Please check the implementation of <class 'doc.coroutine_annotation.PyCoroutineMethod'>
       [2020/08/10 23:25:41.924]   return PyClassmember.run(self)
       [2020/08/10 23:25:41.924] /data/mci/54080f1ff7147a775a4b89567f2d3257/src/doc/coroutine_annotation.py:23: RemovedInSphinx40Warning: PyClassmember is deprecated. Please check the implementation of <class 'doc.coroutine_annotation.PyCoroutineMethod'>
       [2020/08/10 23:25:41.924]   return PyClassmember.run(self)
       [2020/08/10 23:25:41.924] /data/mci/54080f1ff7147a775a4b89567f2d3257/src/doc/coroutine_annotation.py:23: RemovedInSphinx40Warning: PyClassmember is deprecated. Please check the implementation of <class 'doc.coroutine_annotation.PyCoroutineMethod'>
       [2020/08/10 23:25:41.924]   return PyClassmember.run(self)
       [2020/08/10 23:25:41.924] /data/mci/54080f1ff7147a775a4b89567f2d3257/src/doc/coroutine_annotation.py:23: RemovedInSphinx40Warning: PyClassmember is deprecated. Please check the implementation of <class 'doc.coroutine_annotation.PyCoroutineMethod'>
       [2020/08/10 23:25:41.924]   return PyClassmember.run(self)
       [2020/08/10 23:25:41.924] /data/mci/54080f1ff7147a775a4b89567f2d3257/src/doc/mongo_extensions.py:78: FutureWarning:
       [2020/08/10 23:25:41.924]    The iterable returned by Node.traverse()
       [2020/08/10 23:25:41.924]    will become an iterator instead of a list in Docutils > 0.16.
       [2020/08/10 23:25:41.924]   tag = str(para.traverse()[1])
       

      https://evergreen.mongodb.com/task/motor_docs_docs_patch_11df507902398e549dfde6235e68156cf26ec2ab_5f31bf2a0305b91cc07cc49f_20_08_10_21_42_03

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: