File tree 3 files changed +6
-8
lines changed
3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 131
131
# ray train extras required for prediction tests
132
132
"ray[train]" ,
133
133
# Framework version constraints copied from testing_extra_require
134
- "scikit-learn" ,
134
+ "scikit-learn<1.6.0 " ,
135
135
"tensorflow" ,
136
136
"torch >= 2.0.0, < 2.1.0" ,
137
137
"xgboost" ,
204
204
"kfp >= 2.6.0, < 3.0.0" ,
205
205
"pytest-asyncio" ,
206
206
"pytest-xdist" ,
207
- "scikit-learn" ,
207
+ "scikit-learn<1.6.0; python_version<='3.10'" ,
208
+ "scikit-learn; python_version>'3.10'" ,
208
209
# Lazy import requires > 2.12.0
209
210
"tensorflow == 2.13.0; python_version<='3.11'" ,
210
211
"tensorflow == 2.16.1; python_version>'3.11'" ,
Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ mlflow==1.30.1 # Pinned to speed up installation
11
11
pytest-xdist==3.3.1 # Pinned to unbreak unit tests
12
12
IPython # Added to test supernova rich html buttons
13
13
pandas==2.1.4 # Pandas must be <2.2.0 to be compatible with ray 2.9.3
14
+ scikit-learn<1.6.0 # Breaking Ray 2.9.3
Original file line number Diff line number Diff line change 17
17
18
18
import re
19
19
from typing import Dict , List , Tuple
20
- from unittest import mock
21
- from unittest .mock import call , patch
20
+ from unittest .mock import patch
22
21
23
- from google .api_core import operation as ga_operation
24
22
from google .cloud import aiplatform
25
23
from google .cloud .aiplatform import base
26
24
@@ -84,9 +82,7 @@ def create_feature_monitor_job_mock():
84
82
FeatureRegistryServiceClient ,
85
83
"create_feature_monitor_job" ,
86
84
) as create_feature_monitor_job_mock :
87
- create_feature_monitor_job_mock .return_value = (
88
- _TEST_FG1_FMJ1
89
- )
85
+ create_feature_monitor_job_mock .return_value = _TEST_FG1_FMJ1
90
86
yield create_feature_monitor_job_mock
91
87
92
88
You can’t perform that action at this time.
0 commit comments