diff --git a/setup.cfg b/setup.cfg index b8c3e75..d8b71db 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,10 +32,11 @@ classifiers = zip_safe = False packages = find: include_package_data = True +# Note we don't yet support TensorFlow 2.16 or later due to Keras 3, +# which does not support complex datatypes. install_requires = - tensorflow>=2.4; sys_platform != 'darwin' or platform.machine != 'arm64' - tensorflow-macos>=2.4; sys_platform == 'darwin' and platform.machine == 'arm64' - tensorboard + tensorflow>=2.4,<2.16; sys_platform != 'darwin' or platform.machine != 'arm64' + tensorflow-macos>=2.4,<2.16; sys_platform == 'darwin' and platform.machine == 'arm64' types-protobuf numpy typing_extensions @@ -59,8 +60,8 @@ test = nnaudio numpy>=1.22 librosa>=0.9,<0.10 - tensorflow>=2.4,<=2.17; sys_platform != 'darwin' or platform.machine != 'arm64' - tensorflow-macos>=2.4,<=2.17; sys_platform == 'darwin' and platform.machine == 'arm64' + tensorflow>=2.4,<2.16; sys_platform != 'darwin' or platform.machine != 'arm64' + tensorflow-macos>=2.4,<2.16; sys_platform == 'darwin' and platform.machine == 'arm64' [bumpversion:file:realbook/__init__.py]