From ca6ccd4f4c0467b20b28b6aaa444f75631787ae6 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Wed, 18 Mar 2020 12:04:55 -0700 Subject: [PATCH] pythonPackages.tensorflow: disable for python2.7 and 3.8 (cherry picked from commit b7bdf48e3fa6b90ea475a03ed159f397bd3c3c65) --- pkgs/development/python-modules/tensorflow/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/tensorflow/default.nix b/pkgs/development/python-modules/tensorflow/default.nix index a740a5282f4f..54629bebc116 100644 --- a/pkgs/development/python-modules/tensorflow/default.nix +++ b/pkgs/development/python-modules/tensorflow/default.nix @@ -1,7 +1,7 @@ { stdenv, pkgs, bazel_0, buildBazelPackage, lib, fetchFromGitHub, fetchpatch, symlinkJoin , addOpenGLRunpath # Python deps -, buildPythonPackage, isPy3k, pythonOlder, pythonAtLeast, python +, buildPythonPackage, isPy3k, isPy27, pythonOlder, pythonAtLeast, python # Python libraries , numpy, tensorflow-tensorboard, backports_weakref, mock, enum34, absl-py , future, setuptools, wheel, keras-preprocessing, keras-applications, google-pasta @@ -348,6 +348,7 @@ let in buildPythonPackage { inherit version pname; + disabled = isPy27 || (pythonAtLeast "3.8"); src = bazel-build.python;