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
lib,
3
buildPythonPackage,
4
fetchFromGitHub,
0
5
pythonOlder,
6
requests,
7
numpy,
···
45
./remove-pytest-coverage-flags.patch
46
];
47
48
-
propagatedBuildInputs = [
49
requests
50
numpy
51
pandas
···
71
pandas-datareader
72
];
73
74
-
disabledTests = [
75
-
# touches network
76
-
"test_relevant_extraction"
77
-
"test_characteristics_downloaded_robot_execution_failures"
78
-
"test_index"
79
-
"test_binary_target_is_default"
80
-
"test_characteristics_downloaded_robot_execution_failures"
81
-
"test_extraction_runs_through"
82
-
"test_multilabel_target_on_request"
83
-
];
0
0
0
0
0
0
0
0
0
84
85
pythonImportsCheck = [ "tsfresh" ];
86
87
-
meta = with lib; {
88
description = "Automatic extraction of relevant features from time series";
89
mainProgram = "run_tsfresh";
90
homepage = "https://github.com/blue-yonder/tsfresh";
91
changelog = "https://github.com/blue-yonder/tsfresh/blob/${src.rev}/CHANGES.rst";
92
-
license = licenses.mit;
93
-
maintainers = with maintainers; [ mbalatsko ];
94
};
95
}
···
2
lib,
3
buildPythonPackage,
4
fetchFromGitHub,
5
+
stdenv,
6
pythonOlder,
7
requests,
8
numpy,
···
46
./remove-pytest-coverage-flags.patch
47
];
48
49
+
dependencies = [
50
requests
51
numpy
52
pandas
···
72
pandas-datareader
73
];
74
75
+
disabledTests =
76
+
[
77
+
# touches network
78
+
"test_relevant_extraction"
79
+
"test_characteristics_downloaded_robot_execution_failures"
80
+
"test_index"
81
+
"test_binary_target_is_default"
82
+
"test_characteristics_downloaded_robot_execution_failures"
83
+
"test_extraction_runs_through"
84
+
"test_multilabel_target_on_request"
85
+
]
86
+
++ lib.optionals stdenv.hostPlatform.isDarwin [
87
+
# RuntimeError: Cluster failed to start: [Errno 1] Operation not permitted
88
+
# may require extra privileges on darwin
89
+
"test_local_dask_cluster_extraction_one_worker"
90
+
"test_local_dask_cluster_extraction_two_worker"
91
+
"test_dask_cluster_extraction_one_worker"
92
+
"test_dask_cluster_extraction_two_workers"
93
+
];
94
95
pythonImportsCheck = [ "tsfresh" ];
96
97
+
meta = {
98
description = "Automatic extraction of relevant features from time series";
99
mainProgram = "run_tsfresh";
100
homepage = "https://github.com/blue-yonder/tsfresh";
101
changelog = "https://github.com/blue-yonder/tsfresh/blob/${src.rev}/CHANGES.rst";
102
+
license = lib.licenses.mit;
103
+
maintainers = with lib.maintainers; [ mbalatsko ];
104
};
105
}