From d28cf49432bdd44647e7f1f057949e31c2ebec7f Mon Sep 17 00:00:00 2001 From: David Rubinstein Date: Tue, 23 Apr 2024 18:12:49 -0400 Subject: [PATCH] Don't install tensorflow-macos for python<=3.11 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1d47995..3c12bae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "basic-pitch" -version = "0.3.2" +version = "0.3.3" description = "Basic Pitch, a lightweight yet powerful audio-to-MIDI converter with pitch bend detection." readme = "README.md" keywords = [] @@ -28,7 +28,7 @@ dependencies = [ "scikit-learn", "scipy>=1.4.1", "tensorflow>=2.4.1,<2.15.1; platform_system != 'Darwin' and python_version >= '3.11'", - "tensorflow-macos>=2.4.1,<2.15.1; platform_system == 'Darwin'", + "tensorflow-macos>=2.4.1,<2.15.1; platform_system == 'Darwin' and python_version > '3.11'", "tflite-runtime; platform_system == 'Linux' and python_version < '3.11'", "typing_extensions", ]