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

Test Failure - SUSE 12 Python 3.4.10 ImportError: No module named 'setuptools'

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Won't Do
    • None
    • None
    • Tests
    • None

    Description

      SUSE 12 (x86_64) tests are failing with Python 3.4.10:

       [2021/01/20 21:15:09.031] Running auth tests over ssl with python /usr/bin/python3
       [2021/01/20 21:15:09.031] 3.4.10 (default, Dec 13 2019, 16:20:47) [GCC]
       [2021/01/20 21:15:09.034] /data/mci/40692b8f22076b34aca64a16e1c45ca9/src/.evergreen/run-tests.sh: line 167: [: too many arguments
       [2021/01/20 21:15:09.061] Traceback (most recent call last):
       [2021/01/20 21:15:09.061]   File "setup.py", line 18, in <module>
       [2021/01/20 21:15:09.061]     from setuptools import setup, __version__ as _setuptools_version
       [2021/01/20 21:15:09.061] ImportError: No module named 'setuptools'
       [2021/01/20 21:15:09.065] Command failed: command encountered problem: error waiting on process '897c4e8e-01db-44ce-9aa3-f50d1126e801': exit status 1
       [2021/01/20 21:15:09.065] Task completed - FAILURE.
      

      This is caused by the following commit for PYTHON-2133 which removed ez_setup.py: https://github.com/mongodb/mongo-python-driver/commit/dea4b9019371720d81b37245f24abbbc3107e0fc

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shane.harvey@mongodb.com Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: