diff --git a/sdks/python/setup.py b/sdks/python/setup.py index e6299954dc..918cce3fdd 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -48,7 +48,7 @@ "tenacity", "tokenizers<0.21.0 ; python_version<'3.9.0'", # no 3.8 support starting from 0.21.0 "tqdm", - "uuid7<1.0.0", + "uuid6", ], entry_points={ "pytest11": [ diff --git a/sdks/python/src/opik/api_objects/helpers.py b/sdks/python/src/opik/api_objects/helpers.py index e6e20708af..bf5245bdcf 100644 --- a/sdks/python/src/opik/api_objects/helpers.py +++ b/sdks/python/src/opik/api_objects/helpers.py @@ -2,7 +2,7 @@ import logging from typing import Optional -import uuid_extensions +import uuid6 from .. import config, datetime_helpers, logging_messages @@ -10,7 +10,7 @@ def generate_id() -> str: - return str(uuid_extensions.uuid7()) + return str(uuid6.uuid7()) def datetime_to_iso8601_if_not_None(