python3Packages.chainer: rm cupy warning

main
Someone Serge 2 years ago
parent a5282b8bfc
commit 632043a5bb
No known key found for this signature in database
GPG Key ID: 7B0E3B1390D61DA4
  1. 6
      pkgs/development/python-modules/chainer/default.nix

@ -16,6 +16,10 @@ buildPythonPackage rec {
sha256 = "1n07zjzc4g92m1sbgxvnansl0z00y4jnhma2mw06vnahs7s9nrf6";
};
postPatch = ''
substituteInPlace chainer/_version.py --replace ",<8.0.0" ""
'';
checkInputs = [
pytestCheckHook
mock
@ -39,8 +43,6 @@ buildPythonPackage rec {
meta = with lib; {
description = "A flexible framework of neural networks for deep learning";
homepage = "https://chainer.org/";
# Un-break me when updating chainer next time!
broken = cudaSupport && (lib.versionAtLeast cupy.version "8.0.0");
license = licenses.mit;
maintainers = with maintainers; [ hyphon81 ];
};

Loading…
Cancel
Save