diff --git a/pyproject.toml b/pyproject.toml index 7415569..3f68a36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,7 @@ dependencies = [ "progress", "python-configuration", "typer", + "uuid7", ] diff --git a/src/wuttjamaican/util.py b/src/wuttjamaican/util.py index 342868e..48c321d 100644 --- a/src/wuttjamaican/util.py +++ b/src/wuttjamaican/util.py @@ -28,7 +28,8 @@ import importlib import logging import os import shlex -from uuid import uuid1 + +from uuid_extensions import uuid7 log = logging.getLogger(__name__) @@ -176,7 +177,7 @@ def make_uuid(): :returns: A 32-character hex string. """ - return uuid1().hex + return uuid7().hex def parse_bool(value):