Merge pull request #214016 from bcdarwin/update-python3-rising

python310Packages.rising: 0.2.1 -> 0.3.0

authored by Weijia Wang and committed by GitHub f32a761d e0943392

+23 -8
+23 -8
pkgs/development/python-modules/rising/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , isPy27 4 , fetchFromGitHub 5 , pytestCheckHook 6 , dill 7 , numpy 8 , torch 9 , threadpoolctl ··· 12 13 buildPythonPackage rec { 14 pname = "rising"; 15 - version = "0.2.1"; 16 - 17 - disabled = isPy27; 18 19 src = fetchFromGitHub { 20 owner = "PhoenixDL"; 21 repo = pname; 22 - rev = "v${version}"; 23 - sha256 = "15wYWToXRae1cMpHWbJwzAp0THx6ED9ixQgL+n1v9PI="; 24 }; 25 26 - propagatedBuildInputs = [ numpy torch threadpoolctl tqdm ]; 27 nativeCheckInputs = [ dill pytestCheckHook ]; 28 29 - disabledTests = [ "test_affine" ]; # deprecated division operator '/' 30 31 meta = { 32 description = "High-performance data loading and augmentation library in PyTorch";
··· 1 { lib 2 , buildPythonPackage 3 + , pythonOlder 4 , fetchFromGitHub 5 , pytestCheckHook 6 + , pythonRelaxDepsHook 7 , dill 8 + , lightning-utilities 9 , numpy 10 , torch 11 , threadpoolctl ··· 14 15 buildPythonPackage rec { 16 pname = "rising"; 17 + version = "0.3.0"; 18 + disabled = pythonOlder "TODO"; 19 20 src = fetchFromGitHub { 21 owner = "PhoenixDL"; 22 repo = pname; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-sBzVTst5Tp2oZZ+Xsg3M7uAMbucL6idlpYwHvib3EaY="; 25 }; 26 27 + nativeBuildInputs = [ pythonRelaxDepsHook ]; 28 + 29 + pythonRelaxDeps = [ "lightning-utilities" ]; 30 + 31 + propagatedBuildInputs = [ 32 + lightning-utilities numpy torch threadpoolctl tqdm 33 + ]; 34 nativeCheckInputs = [ dill pytestCheckHook ]; 35 36 + pythonImportsCheck = [ 37 + "rising" 38 + "rising.loading" 39 + "rising.ops" 40 + "rising.random" 41 + "rising.transforms" 42 + "rising.transforms.functional" 43 + "rising.utils" 44 + ]; 45 46 meta = { 47 description = "High-performance data loading and augmentation library in PyTorch";