Skip to content

Upgrade jsonschema dependency and schema versions #159

@bjester

Description

@bjester

Overview

Currently, le-utils does not directly require jsonschema directly, but does provide code to use schemas in the Kolibri ecosystem. The current JSON schemas are limited to Draft-07 because the latest version of jsonschema to support Python 3.6 only supports up to that draft. The le-utils project must continue to support Python 3.6 until it is deprecated in Kolibri. Once that happens, we can upgrade jsonschema (used in tests) and update the existing schemas to user a newer schema version, 2019 or 2020.

Prerequisite

  • le-utils drops support for Python 3.6

Description and outcomes

  • Update the jsonschema version to the latest release that aligns with le-utils python version requirements
  • Update all JSON schemas to reference a newer schema version
  • Ensure the updated schemas still validate
  • Replace any UUID regexes with "format": "uuid" (added in 2019-09)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions