1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

Merge pull request #59178 from markuskowa/fix-cntk

pythonPackages.cntk: mark as broken with python 3.7
This commit is contained in:
Robert Schütz 2019-04-10 10:36:23 +02:00 committed by GitHub
commit fd8ff4618c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,9 +10,10 @@
}:
buildPythonPackage rec {
inherit (pkgs.cntk) name version src meta;
inherit (pkgs.cntk) name version src;
buildInputs = [ pkgs.cntk pkgs.swig pkgs.openmpi ];
nativeBuildInputs = [ pkgs.swig pkgs.openmpi ];
buildInputs = [ pkgs.cntk pkgs.openmpi ];
propagatedBuildInputs = [ numpy scipy enum34 protobuf pip ];
CNTK_LIB_PATH = "${pkgs.cntk}/lib";
@ -35,4 +36,12 @@ buildPythonPackage rec {
cd $NIX_BUILD_TOP
${python.interpreter} -c "import cntk"
'';
meta = {
inherit (pkgs.cntk.meta) homepage description license maintainers;
# broken in CNTK 2.4 starting with python-3.7
# ("ImportError: cannot import name 'GenericMeta' from 'typing'")
broken = stdenv.lib.versionAtLeast python.version "3.7";
};
}