tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
python311Packages.tsfresh: fix build on darwin
Moraxyc
1 year ago
39769f9f
df76cd6a
+24
-14
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
tsfresh
default.nix
+24
-14
pkgs/development/python-modules/tsfresh/default.nix
···
2
2
lib,
3
3
buildPythonPackage,
4
4
fetchFromGitHub,
5
5
+
stdenv,
5
6
pythonOlder,
6
7
requests,
7
8
numpy,
···
45
46
./remove-pytest-coverage-flags.patch
46
47
];
47
48
48
48
-
propagatedBuildInputs = [
49
49
+
dependencies = [
49
50
requests
50
51
numpy
51
52
pandas
···
71
72
pandas-datareader
72
73
];
73
74
74
74
-
disabledTests = [
75
75
-
# touches network
76
76
-
"test_relevant_extraction"
77
77
-
"test_characteristics_downloaded_robot_execution_failures"
78
78
-
"test_index"
79
79
-
"test_binary_target_is_default"
80
80
-
"test_characteristics_downloaded_robot_execution_failures"
81
81
-
"test_extraction_runs_through"
82
82
-
"test_multilabel_target_on_request"
83
83
-
];
75
75
+
disabledTests =
76
76
+
[
77
77
+
# touches network
78
78
+
"test_relevant_extraction"
79
79
+
"test_characteristics_downloaded_robot_execution_failures"
80
80
+
"test_index"
81
81
+
"test_binary_target_is_default"
82
82
+
"test_characteristics_downloaded_robot_execution_failures"
83
83
+
"test_extraction_runs_through"
84
84
+
"test_multilabel_target_on_request"
85
85
+
]
86
86
+
++ lib.optionals stdenv.hostPlatform.isDarwin [
87
87
+
# RuntimeError: Cluster failed to start: [Errno 1] Operation not permitted
88
88
+
# may require extra privileges on darwin
89
89
+
"test_local_dask_cluster_extraction_one_worker"
90
90
+
"test_local_dask_cluster_extraction_two_worker"
91
91
+
"test_dask_cluster_extraction_one_worker"
92
92
+
"test_dask_cluster_extraction_two_workers"
93
93
+
];
84
94
85
95
pythonImportsCheck = [ "tsfresh" ];
86
96
87
87
-
meta = with lib; {
97
97
+
meta = {
88
98
description = "Automatic extraction of relevant features from time series";
89
99
mainProgram = "run_tsfresh";
90
100
homepage = "https://github.com/blue-yonder/tsfresh";
91
101
changelog = "https://github.com/blue-yonder/tsfresh/blob/${src.rev}/CHANGES.rst";
92
92
-
license = licenses.mit;
93
93
-
maintainers = with maintainers; [ mbalatsko ];
102
102
+
license = lib.licenses.mit;
103
103
+
maintainers = with lib.maintainers; [ mbalatsko ];
94
104
};
95
105
}