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,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
pythonOlder,
|
||||
requests,
|
||||
numpy,
|
||||
@ -45,7 +46,7 @@ buildPythonPackage rec {
|
||||
./remove-pytest-coverage-flags.patch
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
requests
|
||||
numpy
|
||||
pandas
|
||||
@ -71,25 +72,34 @@ buildPythonPackage rec {
|
||||
pandas-datareader
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# touches network
|
||||
"test_relevant_extraction"
|
||||
"test_characteristics_downloaded_robot_execution_failures"
|
||||
"test_index"
|
||||
"test_binary_target_is_default"
|
||||
"test_characteristics_downloaded_robot_execution_failures"
|
||||
"test_extraction_runs_through"
|
||||
"test_multilabel_target_on_request"
|
||||
];
|
||||
disabledTests =
|
||||
[
|
||||
# touches network
|
||||
"test_relevant_extraction"
|
||||
"test_characteristics_downloaded_robot_execution_failures"
|
||||
"test_index"
|
||||
"test_binary_target_is_default"
|
||||
"test_characteristics_downloaded_robot_execution_failures"
|
||||
"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" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Automatic extraction of relevant features from time series";
|
||||
mainProgram = "run_tsfresh";
|
||||
homepage = "https://github.com/blue-yonder/tsfresh";
|
||||
changelog = "https://github.com/blue-yonder/tsfresh/blob/${src.rev}/CHANGES.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mbalatsko ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ mbalatsko ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user