Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3220

Fix evergreen config generation script for Python 3

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • python
    • None

    Description

      Running generate-evergreen-config.py with Python 3 results in the following error:

      Traceback (most recent call last):
        File "generate-evergreen-config.py", line 42, in <module>
          from evergreen_config_lib.tasks import all_tasks
        File "/Users/kevinalbertson/code/mongo-c-driver/build/evergreen_config_lib/tasks.py", line 26, in <module>
          from evergreen_config_generator.tasks import (
        File "/Users/kevinalbertson/.virtualenvs/main3/lib/python3.7/site-packages/evergreen_config_generator/tasks.py", line 17, in <module>
          from types import NoneType
      ImportError: cannot import name 'NoneType' from 'types' (/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/types.py)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: