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

Fix doc build warnings RemovedInSphinx40Warning: PyClassmember is deprecated

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: