From 8627e3d9cc73da7ec0121ca35f8913bd6bd92ffe Mon Sep 17 00:00:00 2001 From: Jincheng Miao Date: Thu, 19 Sep 2024 07:57:20 +0800 Subject: [PATCH] Increase the upper limit version of typing_extensions to fix install (cherry picked from commit e8ca04ef83563a374babc41415c20577a2c86167) --- modify-deps-on-libclang-gcsfs-gast.patch | 2 +- tensorflow.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/modify-deps-on-libclang-gcsfs-gast.patch b/modify-deps-on-libclang-gcsfs-gast.patch index f7cf468..49a9d2c 100644 --- a/modify-deps-on-libclang-gcsfs-gast.patch +++ b/modify-deps-on-libclang-gcsfs-gast.patch @@ -22,7 +22,7 @@ 'six >= 1.12.0', 'termcolor >= 1.1.0', - 'typing_extensions>=3.6.6,<4.6.0', -+ 'typing_extensions>=3.6.6,<=4.10.0', ++ 'typing_extensions>=3.6.6,<=4.13.0', # TODO(b/266362323): wrapt==1.15.0rc0 incompatible with TF 2.12.0 RC0 (and # nightly, but works with TF 2.11) - 'wrapt >= 1.11.0, <1.15', diff --git a/tensorflow.spec b/tensorflow.spec index 6530e7c..08f5f7b 100644 --- a/tensorflow.spec +++ b/tensorflow.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: tensorflow Version: 2.12.1 -Release: 1 +Release: 2 Summary: An Open Source Machine Learning Framework for Everyone License: Apache License 2.0 URL: https://www.tensorflow.org/ @@ -67,6 +67,9 @@ bazel --output_user_root=`pwd`/../output_user_root build --nofetch --host_copt=- %{_bindir}/* %changelog +* Thu Sep 19 2024 Jincheng Miao - 2.12.1-2 +- Increase the upper limit version of typing_extensions to fix install + * Tue Apr 02 2024 zhangxianting - 2.12.1-1 * Increase the upper limit version of typing_extensions to fix install, typing_extensions>=3.6.6,<4.6.0 to typing_extensions>=3.6.6,<=4.10.0 -- Gitee