Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3146

Test Failure - Could not import extension sphinxcontrib.shellcheck

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.1
    • Affects Version/s: None
    • Component/s: Tests
    • None

      The doc tests are failing since PYTHON-3052:

      [2022/02/25 00:24:13.581] + /opt/python/3.6/bin/python3 setup.py clean
      [2022/02/25 00:24:13.581] + /opt/python/3.6/bin/python3 setup.py doc -t
      [2022/02/25 00:24:15.706] Extension error:
      [2022/02/25 00:24:15.706] Could not import extension sphinxcontrib.shellcheck (exception: No module named 'sphinxcontrib.shellcheck')
      [2022/02/25 00:24:15.707] Traceback (most recent call last):
      [2022/02/25 00:24:15.707]   File "setup.py", line 345, in <module>
      [2022/02/25 00:24:15.707]     **extra_opts
      [2022/02/25 00:24:15.707]   File "/opt/python/3.6/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
      [2022/02/25 00:24:15.707]     return distutils.core.setup(**attrs)
      [2022/02/25 00:24:15.707]   File "/opt/python/3.6/lib/python3.6/distutils/core.py", line 148, in setup
      [2022/02/25 00:24:15.707]     dist.run_commands()
      [2022/02/25 00:24:15.707]   File "/opt/python/3.6/lib/python3.6/distutils/dist.py", line 955, in run_commands
      [2022/02/25 00:24:15.707]     self.run_command(cmd)
      [2022/02/25 00:24:15.707]   File "/opt/python/3.6/lib/python3.6/distutils/dist.py", line 974, in run_command
      [2022/02/25 00:24:15.707]     cmd_obj.run()
      [2022/02/25 00:24:15.707]   File "setup.py", line 168, in run
      [2022/02/25 00:24:15.707]     raise RuntimeError("documentation step '%s' failed" % (mode,))
      [2022/02/25 00:24:15.707] RuntimeError: documentation step 'doctest' failed 

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_doctests__platform~ubuntu_18.04_python_version~3.6_doctests_f8f34b043843125f162d2b79307c9df68c16b51b_22_02_23_22_

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: