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

Fix evergreen config generation script for Python 3

    • Type: Icon: Improvement Improvement
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: python

      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)
      

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

              Created:
              Updated:
              Resolved: