diff --git a/python/arcticdb/util/utils.py b/python/arcticdb/util/utils.py index 5dedbf4aef..07cc82401b 100644 --- a/python/arcticdb/util/utils.py +++ b/python/arcticdb/util/utils.py @@ -4,8 +4,12 @@ As of the Change Date specified in that file, in accordance with the Business Source License, use of this software will be governed by the Apache License, version 2.0. """ +import sys from typing import List, Tuple, Union -from typing_extensions import Literal +if sys.version_info >= (3, 8): + from typing import Literal +else: + from typing_extensions import Literal import numpy as np import pandas as pd