nixpkgs/pkgs/development/python-modules/tensorflow/2/lift-gast-restriction.patch
Timo Kaufmann a730888ce0 python.pkgs.tensorflow{,-bin,-estimator,-tensorboard}-2: Init at 2.1.0
Major breaking change from 1.x, so treating keeping both versions for now.

(adapted from 33f11be707)
(adapted from 9e8dea7986)
2020-03-30 13:58:28 +00:00

12 lines
447 B
Diff

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',