build_metrics tool fails to import jsonschema module

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When the build_metrics tool was rolled out, it depended on the jsonschema Python module. The requirement was put in etc/pip/components/build_metrics.req which is included by etc/pip/toolchain-requirements.txt. Unfortunately, this means that only Evergreen is actually adding the module to its venv - developers would instead use either etc/pip/compile-requirements.txt or etc/pip/dev-requirements.txt.

      We already have SERVER-71268 as a larger effort to simplify the Python requirements files. In the meantime, we should add etc/pip/components/build_metrics.req to etc/pip/compile-requirements.txt and etc/pip/dev-requirements.txt so it does not interfere with developer workflows.

            Assignee:
            Daniel Moody
            Reporter:
            Ryan Egesdahl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: