diff --git a/pyproject.toml b/pyproject.toml index da272d0..2156c4f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,6 +71,13 @@ torch = { index = "pytorch-cu121" } torchvision = { index = "pytorch-cu121" } torchaudio = { index = "pytorch-cu121" } +# Override enum34 dependency to only install on Python < 3.4 +# (which effectively never happens since we require Python >= 3.9) +# enum34 is an obsolete backport incompatible with PyInstaller +[tool.uv] +override-dependencies = [ + "enum34; python_version < '3.4'" +] [tool.ruff] line-length = 100