Skip to content

Commit

Permalink
pythonPackages.tensorflow: disable for python2.7 and 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer authored and FRidh committed Mar 18, 2020
1 parent 3d846aa commit b7bdf48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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
Expand Down Expand Up @@ -348,6 +348,7 @@ let

in buildPythonPackage {
inherit version pname;
disabled = isPy27 || (pythonAtLeast "3.8");

src = bazel-build.python;

Expand Down

0 comments on commit b7bdf48

Please sign in to comment.