diff --git a/pyproject.toml b/pyproject.toml index 2156c4f..0f08e9d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,13 @@ 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 +# +# Background: RealtimeSTT depends on pvporcupine==1.9.5 (the last fully open-source +# version before 2.0+ required an access key). pvporcupine 1.9.5 depends on enum34, +# which is an obsolete Python 2.7/3.3 backport that's incompatible with PyInstaller. +# +# Since enum is part of Python stdlib since 3.4, and we don't use wake word features +# from pvporcupine (it's just an indirect dependency), we can safely skip enum34. [tool.uv] override-dependencies = [ "enum34; python_version < '3.4'"