nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python313Packages.monai: 1.4.0 -> 1.5.0

Ben Darwin f463eec5 8f1d80cf

+7 -3
+7 -3
pkgs/development/python-modules/monai/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "monai"; 16 - version = "1.4.0"; 16 + version = "1.5.0"; 17 17 pyproject = true; 18 18 19 19 disabled = pythonOlder "3.9"; ··· 22 22 owner = "Project-MONAI"; 23 23 repo = "MONAI"; 24 24 tag = version; 25 - hash = "sha256-PovYyRLgoYwxqGeCBpWxX/kdClYtYK1bgy8yRa9eue8="; 25 + hash = "sha256-SUZSWChO0oQlLblPwmCg2zt2Jp5QnpM1CXWnMiOiLhw="; 26 26 # note: upstream consistently seems to modify the tag shortly after release, 27 27 # so best to wait a few days before updating 28 28 }; 29 + 30 + postPatch = '' 31 + substituteInPlace pyproject.toml --replace-fail 'torch>=2.4.1, <2.7.0' 'torch' 32 + ''; 29 33 30 34 preBuild = '' 31 35 export MAX_JOBS=$NIX_BUILD_CORES; ··· 48 44 torch 49 45 ]; 50 46 51 - pythonRelaxDeps = [ "numpy" ]; # supported; see https://github.com/Project-MONAI/MONAI/pull/7857 47 + pythonRelaxDeps = [ "torch" ]; 52 48 53 49 env.BUILD_MONAI = 1; 54 50