pythonPackages.tensorflow: disable for python2.7 and 3.8

(cherry picked from commit b7bdf48e3f)
This commit is contained in:
Jonathan Ringer 2020-03-18 12:04:55 -07:00 committed by John Ericson
parent 436a4bace6
commit ca6ccd4f4c

View file

@ -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;