diff --git a/remove-deps-on-libclang-gcsfs.patch b/modify-deps-on-libclang-gcsfs-gast.patch similarity index 62% rename from remove-deps-on-libclang-gcsfs.patch rename to modify-deps-on-libclang-gcsfs-gast.patch index 9773c9a8ddf66f35e75f5e1cd8896292c7493a49..a424478b30f812b1bef824337b935eb8dda015cb 100644 --- a/remove-deps-on-libclang-gcsfs.patch +++ b/modify-deps-on-libclang-gcsfs-gast.patch @@ -1,6 +1,11 @@ ---- a/tensorflow/tools/pip_package/setup.py 2022-11-14 23:25:07.647922300 +0800 -+++ b/tensorflow/tools/pip_package/setup.py 2022-11-14 23:25:36.901952800 +0800 -@@ -82,7 +82,7 @@ REQUIRED_PACKAGES = [ +--- a/tensorflow/tools/pip_package/setup.py 2022-11-30 08:53:15.528680400 +0800 ++++ b/tensorflow/tools/pip_package/setup.py 2022-11-30 08:53:37.069067700 +0800 +@@ -78,11 +78,11 @@ REQUIRED_PACKAGES = [ + 'astunparse >= 1.6.0', + 'flatbuffers >= 2.0', + # TODO(b/213222745) gast versions above 0.4.0 break TF's tests +- 'gast >= 0.2.1, <= 0.4.0', ++ 'gast >= 0.2.1', 'google_pasta >= 0.1.1', 'h5py >= 2.9.0', 'keras_preprocessing >= 1.1.1', # 1.1.0 needs tensorflow==1.7 diff --git a/tensorflow.spec b/tensorflow.spec index 830990bc3d7b7bdd26ef46f24ffdc21ebafc0181..86fe760b4db98013942a545134e0f3fde79c340d 100644 --- a/tensorflow.spec +++ b/tensorflow.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: tensorflow Version: 2.10.0 -Release: 1 +Release: 2 Summary: An Open Source Machine Learning Framework for Everyone License: Apache License 2.0 URL: https://www.tensorflow.org/ @@ -10,8 +10,10 @@ Source1: external.tar.bz2.partaa Source2: external.tar.bz2.partab Source3: external.tar.bz2.partac Source4: aarch64_external_files.patch -Patch0: remove-deps-on-libclang-gcsfs.patch -Requires: python3-future python3-numpy +Patch0: modify-deps-on-libclang-gcsfs-gast.patch +Requires: python3-future python3-numpy python3-six python3-astunparse python3-google-pasta python3-opt-einsum +Requires: python3-typing-extensions python3-wrapt python3-h5py python3-protobuf python3-grpcio python3-absl-py +Requires: python3-flatbuffers python3-gast %description TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries, and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML-powered applications. @@ -62,6 +64,9 @@ bazel --output_user_root=`pwd`/../output_user_root build --host_copt=-Wno-string %{_bindir}/* %changelog +* Wed Nov 30 2022 Jincheng Miao - 2.10.0-2 +- Modify dependency on gast + * Mon Nov 14 2022 Jincheng Miao - 2.10.0-1 - update version to 2.10.0 for oneDNN with AMX