python310Packages.rising: 0.2.1 -> 0.3.0
This commit is contained in:
parent
0058cd8e69
commit
e93101bca9
@ -1,9 +1,11 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, isPy27
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonRelaxDepsHook
|
||||||
, dill
|
, dill
|
||||||
|
, lightning-utilities
|
||||||
, numpy
|
, numpy
|
||||||
, torch
|
, torch
|
||||||
, threadpoolctl
|
, threadpoolctl
|
||||||
@ -12,21 +14,34 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "rising";
|
pname = "rising";
|
||||||
version = "0.2.1";
|
version = "0.3.0";
|
||||||
|
disabled = pythonOlder "TODO";
|
||||||
disabled = isPy27;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PhoenixDL";
|
owner = "PhoenixDL";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "15wYWToXRae1cMpHWbJwzAp0THx6ED9ixQgL+n1v9PI=";
|
hash = "sha256-sBzVTst5Tp2oZZ+Xsg3M7uAMbucL6idlpYwHvib3EaY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy torch threadpoolctl tqdm ];
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [ "lightning-utilities" ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
lightning-utilities numpy torch threadpoolctl tqdm
|
||||||
|
];
|
||||||
nativeCheckInputs = [ dill pytestCheckHook ];
|
nativeCheckInputs = [ dill pytestCheckHook ];
|
||||||
|
|
||||||
disabledTests = [ "test_affine" ]; # deprecated division operator '/'
|
pythonImportsCheck = [
|
||||||
|
"rising"
|
||||||
|
"rising.loading"
|
||||||
|
"rising.ops"
|
||||||
|
"rising.random"
|
||||||
|
"rising.transforms"
|
||||||
|
"rising.transforms.functional"
|
||||||
|
"rising.utils"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "High-performance data loading and augmentation library in PyTorch";
|
description = "High-performance data loading and augmentation library in PyTorch";
|
||||||
|
Loading…
Reference in New Issue
Block a user