mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
python311Packages.tsfresh: fix build on darwin (#354667)
This commit is contained in:
commit
b9c73c5373
@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
stdenv,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
requests,
|
requests,
|
||||||
numpy,
|
numpy,
|
||||||
@ -45,7 +46,7 @@ buildPythonPackage rec {
|
|||||||
./remove-pytest-coverage-flags.patch
|
./remove-pytest-coverage-flags.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
requests
|
requests
|
||||||
numpy
|
numpy
|
||||||
pandas
|
pandas
|
||||||
@ -71,25 +72,34 @@ buildPythonPackage rec {
|
|||||||
pandas-datareader
|
pandas-datareader
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests =
|
||||||
# touches network
|
[
|
||||||
"test_relevant_extraction"
|
# touches network
|
||||||
"test_characteristics_downloaded_robot_execution_failures"
|
"test_relevant_extraction"
|
||||||
"test_index"
|
"test_characteristics_downloaded_robot_execution_failures"
|
||||||
"test_binary_target_is_default"
|
"test_index"
|
||||||
"test_characteristics_downloaded_robot_execution_failures"
|
"test_binary_target_is_default"
|
||||||
"test_extraction_runs_through"
|
"test_characteristics_downloaded_robot_execution_failures"
|
||||||
"test_multilabel_target_on_request"
|
"test_extraction_runs_through"
|
||||||
];
|
"test_multilabel_target_on_request"
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
|
# RuntimeError: Cluster failed to start: [Errno 1] Operation not permitted
|
||||||
|
# may require extra privileges on darwin
|
||||||
|
"test_local_dask_cluster_extraction_one_worker"
|
||||||
|
"test_local_dask_cluster_extraction_two_worker"
|
||||||
|
"test_dask_cluster_extraction_one_worker"
|
||||||
|
"test_dask_cluster_extraction_two_workers"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "tsfresh" ];
|
pythonImportsCheck = [ "tsfresh" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Automatic extraction of relevant features from time series";
|
description = "Automatic extraction of relevant features from time series";
|
||||||
mainProgram = "run_tsfresh";
|
mainProgram = "run_tsfresh";
|
||||||
homepage = "https://github.com/blue-yonder/tsfresh";
|
homepage = "https://github.com/blue-yonder/tsfresh";
|
||||||
changelog = "https://github.com/blue-yonder/tsfresh/blob/${src.rev}/CHANGES.rst";
|
changelog = "https://github.com/blue-yonder/tsfresh/blob/${src.rev}/CHANGES.rst";
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [ mbalatsko ];
|
maintainers = with lib.maintainers; [ mbalatsko ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user