diff options
Diffstat (limited to 'pkgs/development/python-modules/tensorflow/1/lift-gast-restriction.patch')
-rw-r--r-- | pkgs/development/python-modules/tensorflow/1/lift-gast-restriction.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/tensorflow/1/lift-gast-restriction.patch b/pkgs/development/python-modules/tensorflow/1/lift-gast-restriction.patch new file mode 100644 index 000000000000..30861d923417 --- /dev/null +++ b/pkgs/development/python-modules/tensorflow/1/lift-gast-restriction.patch @@ -0,0 +1,13 @@ +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,7 +54,7 @@ REQUIRED_PACKAGES = [ + 'enum34 >= 1.1.6;python_version<"3.4"', + # functools comes with python3, need to install the backport for python2 + 'functools32 >= 3.2.3;python_version<"3"', +- 'gast == 0.2.2', ++ 'gast >= 0.2.2', + 'google_pasta >= 0.1.6', + 'keras_applications >= 1.0.8', + 'keras_preprocessing >= 1.0.5', |