Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version restrictions to tensorflow for pypi #1485

Merged
merged 8 commits into from
Sep 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions pypi_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ jsonpickle==1.2
networkx
numpy>=1.19.5,<1.23.0
opencv-python>=4.2.0,<=4.6.0
# opencv-python-headless>=4.2.0.34,<=4.5.5.62
pandas
pillow>=8.3.1,<=8.4.0
psutil
pykalman==0.9.5
PySide2>=5.13.2,<=5.14.1; platform_machine != 'arm64'
PySide6; sys_platform == 'darwin' and platform_machine == 'arm64'
python-rapidjson
# Otherwise error: Microsoft Visual C++ 14.0 is required.
python-rapidjson <=1.10; sys_platform == 'win32'
python-rapidjson; sys_platform != 'win32'
pyyaml
pyzmq
qtpy>=2.0.1
Expand All @@ -31,5 +32,15 @@ scikit-image
scikit-learn ==1.0.*
scikit-video
seaborn
tensorflow
tensorflow-hub
tensorflow>=2.6.3,<2.9; platform_machine != 'arm64'
tensorflow-hub<=0.14.0
# These dependencies are untested since we do not offer a wheel for apple silicon atm.
tensorflow-macos==2.9.2; sys_platform == 'darwin' and platform_machine == 'arm64'
tensorflow-metal==0.5.0; sys_platform == 'darwin' and platform_machine == 'arm64'

# Dependencies of dependencies
# google-auth 2.23.0 has requirement urllib3<2.0
urllib3<2.0 # Not a 'noticed' runtime-dependency
# tensorboard 2.11.2 has requirement protobuf<4,>=3.9.2
# tensorflow 2.11.0 has requirement protobuf<3.20,>=3.9.2
protobuf<3.20 # Makes GUI work in windows