22 lib ,
33 buildPythonPackage ,
44 fetchFromGitHub ,
5+ stdenv ,
56 pythonOlder ,
67 requests ,
78 numpy ,
@@ -45,7 +46,7 @@ buildPythonPackage rec {
4546 ./remove-pytest-coverage-flags.patch
4647 ] ;
4748
48- propagatedBuildInputs = [
49+ dependencies = [
4950 requests
5051 numpy
5152 pandas
@@ -71,25 +72,34 @@ buildPythonPackage rec {
7172 pandas-datareader
7273 ] ;
7374
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- ] ;
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+ ] ;
8494
8595 pythonImportsCheck = [ "tsfresh" ] ;
8696
87- meta = with lib ; {
97+ meta = {
8898 description = "Automatic extraction of relevant features from time series" ;
8999 mainProgram = "run_tsfresh" ;
90100 homepage = "https://github.com/blue-yonder/tsfresh" ;
91101 changelog = "https://github.com/blue-yonder/tsfresh/blob/${ src . rev } /CHANGES.rst" ;
92- license = licenses . mit ;
93- maintainers = with maintainers ; [ mbalatsko ] ;
102+ license = lib . licenses . mit ;
103+ maintainers = with lib . maintainers ; [ mbalatsko ] ;
94104 } ;
95105}
0 commit comments