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:
commit
fd8ff4618c
|
@ -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";
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue