From 47a91d1334616dd2785fcd74823780a96a9fdc78 Mon Sep 17 00:00:00 2001 From: psamanoelton Date: Thu, 5 Mar 2026 23:32:13 -0600 Subject: [PATCH 1/2] Update dependencies to support TensorFlow v2.21.0-rc1 --- tensorboard/pip_package/build_pip_package.sh | 2 +- tensorboard/pip_package/requirements.txt | 3 ++- tensorboard/pip_package/requirements_dev.txt | 8 +++++--- tensorboard/pip_package/setup.py | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/tensorboard/pip_package/build_pip_package.sh b/tensorboard/pip_package/build_pip_package.sh index 9c5cd945c81..ca6fb9069b1 100755 --- a/tensorboard/pip_package/build_pip_package.sh +++ b/tensorboard/pip_package/build_pip_package.sh @@ -106,7 +106,7 @@ build() ( # Require wheel for bdist_wheel command, and setuptools 36.2.0+ so that # env markers are handled (https://github.com/pypa/setuptools/pull/1081) export PYTHONWARNINGS=ignore:DEPRECATION # suppress Python 2.7 deprecation spam - pip install -qU wheel 'setuptools>=36.2.0' + pip install -qU wheel 'setuptools>=36.2.0, <82.0.0' # Overrides file timestamps in the zip archive to make the build # reproducible. (Date is mostly arbitrary, but must be past 1980 to be diff --git a/tensorboard/pip_package/requirements.txt b/tensorboard/pip_package/requirements.txt index ac31021fbb8..6e859cd026e 100644 --- a/tensorboard/pip_package/requirements.txt +++ b/tensorboard/pip_package/requirements.txt @@ -33,6 +33,7 @@ pillow # 4.24.0 had an issue that broke our tests, so we should avoid that release: # https://github.com/protocolbuffers/protobuf/issues/13485 protobuf >= 3.19.6, != 4.24.0 -setuptools >= 41.0.0 # Note: provides pkg_resources as well as setuptools +setuptools >= 41.0.0, < 82.0.0 # Note: provides pkg_resources as well as setuptools +six >= 1.16.0 tensorboard-data-server >= 0.7.0, < 0.8.0 werkzeug >= 1.0.1 diff --git a/tensorboard/pip_package/requirements_dev.txt b/tensorboard/pip_package/requirements_dev.txt index f9a7a3ae702..35dc342812f 100644 --- a/tensorboard/pip_package/requirements_dev.txt +++ b/tensorboard/pip_package/requirements_dev.txt @@ -16,11 +16,13 @@ # Dependencies of TensorBoard used only for testing or development. # For tests -grpcio-testing==1.24.3 +grpcio-testing>=1.48.2 pandas~=2.0 + # For gfile S3 test -boto3==1.9.86 -moto==1.3.7 +boto3 >= 1.28 +moto[s3] >= 4.2 + # For gfile fsspec test fsspec>=2021.06.0 diff --git a/tensorboard/pip_package/setup.py b/tensorboard/pip_package/setup.py index 8bcf841688f..ab16f2b6bf1 100644 --- a/tensorboard/pip_package/setup.py +++ b/tensorboard/pip_package/setup.py @@ -64,7 +64,7 @@ def get_readme(): }, install_requires=REQUIRED_PACKAGES, tests_require=REQUIRED_PACKAGES, - python_requires=">=3.9", + python_requires=">=3.10", # PyPI package information. classifiers=[ "Development Status :: 4 - Beta", From 64e2d8e9344fed8962dff8fc9612b057ca934066 Mon Sep 17 00:00:00 2001 From: psamanoelton Date: Fri, 6 Mar 2026 16:42:36 -0600 Subject: [PATCH 2/2] This should no longer be necessary --- tensorboard/pip_package/build_pip_package.sh | 2 +- tensorboard/pip_package/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorboard/pip_package/build_pip_package.sh b/tensorboard/pip_package/build_pip_package.sh index ca6fb9069b1..9c5cd945c81 100755 --- a/tensorboard/pip_package/build_pip_package.sh +++ b/tensorboard/pip_package/build_pip_package.sh @@ -106,7 +106,7 @@ build() ( # Require wheel for bdist_wheel command, and setuptools 36.2.0+ so that # env markers are handled (https://github.com/pypa/setuptools/pull/1081) export PYTHONWARNINGS=ignore:DEPRECATION # suppress Python 2.7 deprecation spam - pip install -qU wheel 'setuptools>=36.2.0, <82.0.0' + pip install -qU wheel 'setuptools>=36.2.0' # Overrides file timestamps in the zip archive to make the build # reproducible. (Date is mostly arbitrary, but must be past 1980 to be diff --git a/tensorboard/pip_package/requirements.txt b/tensorboard/pip_package/requirements.txt index 6e859cd026e..bf8a0d6b30f 100644 --- a/tensorboard/pip_package/requirements.txt +++ b/tensorboard/pip_package/requirements.txt @@ -33,7 +33,7 @@ pillow # 4.24.0 had an issue that broke our tests, so we should avoid that release: # https://github.com/protocolbuffers/protobuf/issues/13485 protobuf >= 3.19.6, != 4.24.0 -setuptools >= 41.0.0, < 82.0.0 # Note: provides pkg_resources as well as setuptools +setuptools >= 41.0.0 six >= 1.16.0 tensorboard-data-server >= 0.7.0, < 0.8.0 werkzeug >= 1.0.1