From 3747ae37c06fff94ba2309723481819b497376ce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Mar 2024 16:25:12 +0000 Subject: [PATCH] Bump the pip group across 2 directories with 5 updates Updates the requirements on [numpy](https://github.com/numpy/numpy), [wheel](https://github.com/pypa/wheel), [grpcio](https://github.com/grpc/grpc), [scipy](https://github.com/scipy/scipy) and [certifi](https://github.com/certifi/python-certifi) to permit the latest version. Updates `numpy` to 1.26.4 - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](https://github.com/numpy/numpy/compare/v1.19.5...v1.26.4) Updates `wheel` to 0.43.0 - [Release notes](https://github.com/pypa/wheel/releases) - [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst) - [Commits](https://github.com/pypa/wheel/compare/0.36.2...0.43.0) Updates `grpcio` to 1.62.1 - [Release notes](https://github.com/grpc/grpc/releases) - [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md) - [Commits](https://github.com/grpc/grpc/compare/v1.38.1...v1.62.1) Updates `scipy` to 1.12.0 - [Release notes](https://github.com/scipy/scipy/releases) - [Commits](https://github.com/scipy/scipy/compare/v1.5.4...v1.12.0) Updates `certifi` to 2024.2.2 - [Commits](https://github.com/certifi/python-certifi/compare/2020.12.05...2024.02.02) Updates `numpy` to 1.26.4 - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](https://github.com/numpy/numpy/compare/v1.19.5...v1.26.4) Updates `scipy` to 1.12.0 - [Release notes](https://github.com/scipy/scipy/releases) - [Commits](https://github.com/scipy/scipy/compare/v1.5.4...v1.12.0) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production dependency-group: pip-security-group - dependency-name: wheel dependency-type: direct:production dependency-group: pip-security-group - dependency-name: grpcio dependency-type: direct:production dependency-group: pip-security-group - dependency-name: scipy dependency-type: direct:production dependency-group: pip-security-group - dependency-name: certifi dependency-type: direct:production dependency-group: pip-security-group - dependency-name: numpy dependency-type: direct:production dependency-group: pip-security-group - dependency-name: scipy dependency-type: direct:development dependency-group: pip-security-group ... Signed-off-by: dependabot[bot] --- tensorflow/tools/ci_build/release/requirements_common.txt | 8 ++++---- tensorflow/tools/ci_build/release/requirements_mac.txt | 2 +- tensorflow/tools/pip_package/setup.py | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) 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', ]