Skip to content

Commit

Permalink
Pin TensorFlow to <2.16.
Browse files Browse the repository at this point in the history
  • Loading branch information
psobot committed Aug 8, 2024
1 parent 21cd0c8 commit 5f9e2f6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]

Expand Down

0 comments on commit 5f9e2f6

Please sign in to comment.