Commit 7b5557d 1 parent 90c5e6e commit 7b5557d Copy full SHA for 7b5557d
File tree 7 files changed +7
-9
lines changed
src/optimagic/optimization
7 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ dependencies:
18
18
- joblib # run, tests
19
19
- numpy >= 2 # run, tests
20
20
- pandas # run, tests
21
- - plotly # run, tests
21
+ - plotly<6.0.0 # run, tests
22
22
- pybaum>=0.1.2 # run, tests
23
23
- scipy>=1.2.1 # run, tests
24
24
- sqlalchemy # run, tests
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dependencies:
16
16
- statsmodels # dev, tests
17
17
- cloudpickle # run, tests
18
18
- joblib # run, tests
19
- - plotly # run, tests
19
+ - plotly<6.0.0 # run, tests
20
20
- pybaum>=0.1.2 # run, tests
21
21
- scipy>=1.2.1 # run, tests
22
22
- sqlalchemy # run, tests
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dependencies:
16
16
- joblib # run, tests
17
17
- numpy >= 2 # run, tests
18
18
- pandas # run, tests
19
- - plotly # run, tests
19
+ - plotly<6.0.0 # run, tests
20
20
- pybaum>=0.1.2 # run, tests
21
21
- scipy>=1.2.1 # run, tests
22
22
- sqlalchemy # run, tests
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dependencies:
16
16
- statsmodels # dev, tests
17
17
- cloudpickle # run, tests
18
18
- joblib # run, tests
19
- - plotly # run, tests
19
+ - plotly<6.0.0 # run, tests
20
20
- pybaum>=0.1.2 # run, tests
21
21
- scipy>=1.2.1 # run, tests
22
22
- sqlalchemy # run, tests
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ dependencies:
20
20
- joblib # run, tests
21
21
- numpy >= 2 # run, tests
22
22
- pandas # run, tests
23
- - plotly # run, tests
23
+ - plotly<6.0.0 # run, tests
24
24
- pybaum>=0.1.2 # run, tests
25
25
- scipy>=1.2.1 # run, tests
26
26
- sqlalchemy # run, tests
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ dependencies = [
10
10
" joblib" ,
11
11
" numpy" ,
12
12
" pandas" ,
13
- " plotly" ,
13
+ " plotly<6.0.0 " ,
14
14
" pybaum>=0.1.2" ,
15
15
" scipy>=1.2.1" ,
16
16
" sqlalchemy>=1.3" ,
Original file line number Diff line number Diff line change 1
- from __future__ import annotations
2
-
3
1
import warnings
4
2
from dataclasses import dataclass
5
3
from functools import partial
@@ -461,7 +459,7 @@ def _validate_args_are_all_none_or_lists_of_same_length(
461
459
raise ValueError ("All arguments must be lists of the same length or None." )
462
460
463
461
464
- def _task_to_categorical (task : list [EvalTask ]) -> pd .Series [str ]:
462
+ def _task_to_categorical (task : list [EvalTask ]) -> " pd.Series[str]" :
465
463
EvalTaskDtype = pd .CategoricalDtype (categories = [t .value for t in EvalTask ])
466
464
return pd .Series ([t .value for t in task ], dtype = EvalTaskDtype )
467
465
You can’t perform that action at this time.
0 commit comments