blob: 87f82295d1e8c69cf2c20b86fcfd73022b3d7853 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
isPy27,
setuptools,
pytestCheckHook,
scipy,
numpy,
scikit-learn,
pandas,
matplotlib,
joblib,
}:
buildPythonPackage rec {
pname = "mlxtend";
version = "0.23.3";
pyproject = true;
disabled = isPy27;
src = fetchFromGitHub {
owner = "rasbt";
repo = "mlxtend";
tag = "v${version}";
hash = "sha256-c6I0dwu4y/Td2G6m2WP/52W4noQUmQMDvpzXA9RZauo=";
};
build-system = [ setuptools ];
dependencies = [
scipy
numpy
scikit-learn
pandas
matplotlib
joblib
];
patches = [
# https://github.com/rasbt/mlxtend/pull/1119
./0001-fix-test-replace-np.float_-to-np.float64.patch
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "-sv" ];
disabledTests = [
# Type changed in numpy2 test should be updated
"test_invalid_labels_1"
"test_default"
"test_nullability"
];
disabledTestPaths = [
"mlxtend/evaluate/f_test.py" # need clean
"mlxtend/evaluate/tests/test_feature_importance.py" # urlopen error
"mlxtend/evaluate/tests/test_bias_variance_decomp.py" # keras.api._v2
"mlxtend/evaluate/tests/test_bootstrap_point632.py" # keras.api._v2
];
meta = {
description = "Library of Python tools and extensions for data science";
homepage = "https://github.com/rasbt/mlxtend";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ evax ];
platforms = lib.platforms.unix;
};
}
|