Modify dependency on gast

Signed-off-by: Jincheng Miao <jincheng.miao@intel.com>
This commit is contained in:
Jincheng Miao 2022-11-30 14:13:00 +08:00
parent f9ec6dc6b9
commit d0df8c8efc
2 changed files with 16 additions and 6 deletions

View File

@ -1,6 +1,11 @@
--- a/tensorflow/tools/pip_package/setup.py 2022-11-14 23:25:07.647922300 +0800 --- a/tensorflow/tools/pip_package/setup.py 2022-11-30 08:53:15.528680400 +0800
+++ b/tensorflow/tools/pip_package/setup.py 2022-11-14 23:25:36.901952800 +0800 +++ b/tensorflow/tools/pip_package/setup.py 2022-11-30 08:53:37.069067700 +0800
@@ -82,7 +82,7 @@ REQUIRED_PACKAGES = [ @@ -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', 'google_pasta >= 0.1.1',
'h5py >= 2.9.0', 'h5py >= 2.9.0',
'keras_preprocessing >= 1.1.1', # 1.1.0 needs tensorflow==1.7 'keras_preprocessing >= 1.1.1', # 1.1.0 needs tensorflow==1.7

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: tensorflow Name: tensorflow
Version: 2.10.0 Version: 2.10.0
Release: 1 Release: 2
Summary: An Open Source Machine Learning Framework for Everyone Summary: An Open Source Machine Learning Framework for Everyone
License: Apache License 2.0 License: Apache License 2.0
URL: https://www.tensorflow.org/ URL: https://www.tensorflow.org/
@ -10,8 +10,10 @@ Source1: external.tar.bz2.partaa
Source2: external.tar.bz2.partab Source2: external.tar.bz2.partab
Source3: external.tar.bz2.partac Source3: external.tar.bz2.partac
Source4: aarch64_external_files.patch Source4: aarch64_external_files.patch
Patch0: remove-deps-on-libclang-gcsfs.patch Patch0: modify-deps-on-libclang-gcsfs-gast.patch
Requires: python3-future python3-numpy 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 %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. 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}/* %{_bindir}/*
%changelog %changelog
* Wed Nov 30 2022 Jincheng Miao <jincheng.miao@intel.com> - 2.10.0-2
- Modify dependency on gast
* Mon Nov 14 2022 Jincheng Miao <jincheng.miao@intel.com> - 2.10.0-1 * Mon Nov 14 2022 Jincheng Miao <jincheng.miao@intel.com> - 2.10.0-1
- update version to 2.10.0 for oneDNN with AMX - update version to 2.10.0 for oneDNN with AMX