python3Packages.lifelines: modernize build, disable broken test (#434353)
This commit is contained in:
@@ -16,15 +16,14 @@
|
||||
pythonOlder,
|
||||
scikit-learn,
|
||||
scipy,
|
||||
setuptools,
|
||||
sybil,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lifelines";
|
||||
version = "0.30.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CamDavidsonPilon";
|
||||
@@ -33,7 +32,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-rbt0eON8Az5jDvj97RDn3ppWyjbrSa/xumbwhq21g6g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
autograd
|
||||
autograd-gamma
|
||||
formulaic
|
||||
@@ -57,13 +58,17 @@ buildPythonPackage rec {
|
||||
|
||||
disabledTestPaths = [ "lifelines/tests/test_estimation.py" ];
|
||||
|
||||
disabledTests = [ "test_datetimes_to_durations_with_different_frequencies" ];
|
||||
disabledTests = [
|
||||
"test_datetimes_to_durations_with_different_frequencies"
|
||||
# AssertionError
|
||||
"test_mice_scipy"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Survival analysis in Python";
|
||||
homepage = "https://lifelines.readthedocs.io";
|
||||
changelog = "https://github.com/CamDavidsonPilon/lifelines/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ swflint ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ swflint ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user