python3Packages.optuna: enable __structuredAttrs, skip crashing tests on darwin (#525139)
This commit is contained in:
@@ -45,6 +45,7 @@ buildPythonPackage (finalAttrs: {
|
||||
pname = "optuna";
|
||||
version = "4.8.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "optuna";
|
||||
@@ -118,9 +119,19 @@ buildPythonPackage (finalAttrs: {
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# ValueError: Failed to start Kaleido subprocess. Error stream
|
||||
# kaleido/executable/kaleido: line 5: 5956 Illegal instruction: 4 ./bin/kaleido $@
|
||||
"test_edf_plot_no_trials"
|
||||
"test_edf_plot_no_trials_studies"
|
||||
"test_get_optimization_history_plot"
|
||||
"test_get_timeline_plot"
|
||||
"test_plot_contour"
|
||||
"test_plot_edf_with_multiple_studies"
|
||||
"test_plot_edf_with_target"
|
||||
"test_plot_edf_with_target_name"
|
||||
"test_plot_intermediate_values"
|
||||
"test_plot_parallel_coordinate"
|
||||
"test_plot_param_importances"
|
||||
"test_plot_rank"
|
||||
"test_plot_slice"
|
||||
"test_plot_terminator_improvement"
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user