about summary refs log tree commit diff
path: root/pkgs/development/python-modules/tensorflow/2/lift-gast-restriction.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/tensorflow/2/lift-gast-restriction.patch')
-rw-r--r--pkgs/development/python-modules/tensorflow/2/lift-gast-restriction.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/tensorflow/2/lift-gast-restriction.patch b/pkgs/development/python-modules/tensorflow/2/lift-gast-restriction.patch
new file mode 100644
index 000000000000..e0d367f4924f
--- /dev/null
+++ b/pkgs/development/python-modules/tensorflow/2/lift-gast-restriction.patch
@@ -0,0 +1,11 @@
+diff --git a/tensorflow/tools/pip_package/setup.py b/tensorflow/tools/pip_package/setup.py
+index 992f2eae22..d9386f9b13 100644
+--- a/tensorflow/tools/pip_package/setup.py
++++ b/tensorflow/tools/pip_package/setup.py
+@@ -54,5 +54,5 @@ REQUIRED_PACKAGES = [
+     'enum34 >= 1.1.6;python_version<"3.4"',
+-    'gast == 0.2.2',
++    'gast >= 0.2.2',
+     'google_pasta >= 0.1.6',
+     'keras_applications >= 1.0.8',
+     'keras_preprocessing >= 1.0.5',