diff --git a/tensorflow/tools/ci_build/release/requirements_common.txt b/tensorflow/tools/ci_build/release/requirements_common.txt index 0c2e24dde366ad..4edb98694d5d35 100644 --- a/tensorflow/tools/ci_build/release/requirements_common.txt +++ b/tensorflow/tools/ci_build/release/requirements_common.txt @@ -8,13 +8,13 @@ flatbuffers ~= 2.0 google_pasta ~= 0.2 h5py ~= 3.1.0 # NOTE: not the latest version due to py3.6 keras_preprocessing ~= 1.1.2 -numpy ~= 1.19.5 # NOTE: not the latest version due to py3.6 +numpy ~= 1.26.4 # NOTE: not the latest version due to py3.6 opt_einsum ~= 3.3.0 protobuf >= 3.17.1 six ~= 1.16.0 termcolor ~= 1.1.0 typing_extensions ~= 3.10.0.0 -wheel ~= 0.36.2 +wheel ~= 0.43.0 wrapt ~= 1.12.1 # We need to pin the gast dependency exactly @@ -29,6 +29,6 @@ tb-nightly ~= 2.6.0.a tf-estimator-nightly ~= 2.6.0.dev # Test dependencies -grpcio ~= 1.38.1 +grpcio ~= 1.62.1 portpicker ~= 1.4.0 -scipy ~= 1.5.4 # NOTE: not the latest version due to py3.6 +scipy ~= 1.12.0 # NOTE: not the latest version due to py3.6 diff --git a/tensorflow/tools/ci_build/release/requirements_mac.txt b/tensorflow/tools/ci_build/release/requirements_mac.txt index 91601726a55d5c..c69376dca2213b 100644 --- a/tensorflow/tools/ci_build/release/requirements_mac.txt +++ b/tensorflow/tools/ci_build/release/requirements_mac.txt @@ -1,4 +1,4 @@ -r requirements_common.txt # Dependencies only required for Mac -certifi ~= 2020.12.5 +certifi ~= 2024.2.2 diff --git a/tensorflow/tools/pip_package/setup.py b/tensorflow/tools/pip_package/setup.py index 4fc5de5c3d2346..24dec881fd64f9 100644 --- a/tensorflow/tools/pip_package/setup.py +++ b/tensorflow/tools/pip_package/setup.py @@ -78,7 +78,7 @@ # NOTE: As numpy has releases that break semver guarantees and several other # deps depend on numpy without an upper bound, we must install numpy before # everything else. - 'numpy ~= 1.19.2', + 'numpy >= 1.19.2,< 1.27.0', # Install other dependencies 'absl-py ~= 0.10', 'astunparse ~= 1.6.3', @@ -136,7 +136,7 @@ # Follows the same conventions as `REQUIRED_PACKAGES` TEST_PACKAGES = [ 'portpicker ~= 1.3.1', - 'scipy ~= 1.5.2', + 'scipy >= 1.5.2,< 1.13.0', 'tblib ~= 1.7.0', 'dill ~= 0.3.2', ]