Skip to content

Commit 6b4e8d0

Browse files
chore: Bump deprecation version from 0.23 to 0.24 (#2805)
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
1 parent a62a90d commit 6b4e8d0

File tree

16 files changed

+44
-44
lines changed

16 files changed

+44
-44
lines changed

sdk/python/feast/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def data_source_describe(ctx: click.Context, name: str):
196196

197197
warnings.warn(
198198
"Describing data sources will only work properly if all data sources have names or table names specified. "
199-
"Starting Feast 0.23, data source unique names will be required to encourage data source discovery.",
199+
"Starting Feast 0.24, data source unique names will be required to encourage data source discovery.",
200200
RuntimeWarning,
201201
)
202202
print(
@@ -223,7 +223,7 @@ def data_source_list(ctx: click.Context):
223223

224224
warnings.warn(
225225
"Listing data sources will only work properly if all data sources have names or table names specified. "
226-
"Starting Feast 0.23, data source unique names will be required to encourage data source discovery",
226+
"Starting Feast 0.24, data source unique names will be required to encourage data source discovery",
227227
RuntimeWarning,
228228
)
229229
print(tabulate(table, headers=["NAME", "CLASS"], tablefmt="plain"))

sdk/python/feast/data_source.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def __init__(
239239
warnings.warn(
240240
(
241241
"Names for data sources need to be supplied. "
242-
"Data sources without names will not be supported after Feast 0.23."
242+
"Data sources without names will not be supported after Feast 0.24."
243243
),
244244
UserWarning,
245245
)
@@ -248,7 +248,7 @@ def __init__(
248248
warnings.warn(
249249
(
250250
"The argument 'event_timestamp_column' is being deprecated. Please use 'timestamp_field' instead. "
251-
"instead. Feast 0.23 and onwards will not support the argument 'event_timestamp_column' for datasources."
251+
"instead. Feast 0.24 and onwards will not support the argument 'event_timestamp_column' for datasources."
252252
),
253253
DeprecationWarning,
254254
)
@@ -444,7 +444,7 @@ def __init__(
444444
warnings.warn(
445445
(
446446
"Kafka parameters should be specified as a keyword argument instead of a positional arg."
447-
"Feast 0.23+ will not support positional arguments to construct Kafka sources"
447+
"Feast 0.24+ will not support positional arguments to construct Kafka sources"
448448
),
449449
DeprecationWarning,
450450
)
@@ -615,7 +615,7 @@ def __init__(
615615
warnings.warn(
616616
(
617617
"Request source parameters should be specified as a keyword argument instead of a positional arg."
618-
"Feast 0.23+ will not support positional arguments to construct request sources"
618+
"Feast 0.24+ will not support positional arguments to construct request sources"
619619
),
620620
DeprecationWarning,
621621
)
@@ -634,7 +634,7 @@ def __init__(
634634
raise ValueError("Schema needs to be provided for Request Source")
635635
if isinstance(_schema, Dict):
636636
warnings.warn(
637-
"Schema in RequestSource is changing type. The schema data type Dict[str, ValueType] is being deprecated in Feast 0.23. "
637+
"Schema in RequestSource is changing type. The schema data type Dict[str, ValueType] is being deprecated in Feast 0.24. "
638638
"Please use List[Field] instead for the schema",
639639
DeprecationWarning,
640640
)
@@ -686,7 +686,7 @@ def from_proto(data_source: DataSourceProto):
686686

687687
if deprecated_schema and not schema_pb:
688688
warnings.warn(
689-
"Schema in RequestSource is changing type. The schema data type Dict[str, ValueType] is being deprecated in Feast 0.23. "
689+
"Schema in RequestSource is changing type. The schema data type Dict[str, ValueType] is being deprecated in Feast 0.24. "
690690
"Please use List[Field] instead for the schema",
691691
DeprecationWarning,
692692
)
@@ -747,7 +747,7 @@ def source_datatype_to_feast_value_type() -> Callable[[str], ValueType]:
747747
class RequestDataSource(RequestSource):
748748
def __init__(self, *args, **kwargs):
749749
warnings.warn(
750-
"The 'RequestDataSource' class is deprecated and was renamed to RequestSource. Please use RequestSource instead. This class name will be removed in Feast 0.23.",
750+
"The 'RequestDataSource' class is deprecated and was renamed to RequestSource. Please use RequestSource instead. This class name will be removed in Feast 0.24.",
751751
DeprecationWarning,
752752
)
753753
super().__init__(*args, **kwargs)
@@ -826,7 +826,7 @@ def __init__(
826826
warnings.warn(
827827
(
828828
"Kinesis parameters should be specified as a keyword argument instead of a positional arg."
829-
"Feast 0.23+ will not support positional arguments to construct kinesis sources"
829+
"Feast 0.24+ will not support positional arguments to construct kinesis sources"
830830
),
831831
DeprecationWarning,
832832
)
@@ -945,7 +945,7 @@ def __init__(
945945
warnings.warn(
946946
(
947947
"Push source parameters should be specified as a keyword argument instead of a positional arg."
948-
"Feast 0.23+ will not support positional arguments to construct push sources"
948+
"Feast 0.24+ will not support positional arguments to construct push sources"
949949
),
950950
DeprecationWarning,
951951
)

sdk/python/feast/diff/registry_diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def to_string(self):
6767
if feast_object_diff.transition_type == TransitionType.UNCHANGED:
6868
continue
6969
if feast_object_diff.feast_object_type == FeastObjectType.DATA_SOURCE:
70-
# TODO(adchia): Print statements out starting in Feast 0.23
70+
# TODO(adchia): Print statements out starting in Feast 0.24
7171
continue
7272
action, color = message_action_map[feast_object_diff.transition_type]
7373
log_string += f"{action} {feast_object_diff.feast_object_type.value} {Style.BRIGHT + color}{feast_object_diff.name}{Style.RESET_ALL}\n"

sdk/python/feast/entity.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
warnings.warn(
9191
(
9292
"Entity name should be specified as a keyword argument instead of a positional arg."
93-
"Feast 0.23+ will not support positional arguments to construct Entities"
93+
"Feast 0.24+ will not support positional arguments to construct Entities"
9494
),
9595
DeprecationWarning,
9696
)
@@ -108,7 +108,7 @@ def __init__(
108108
warnings.warn(
109109
(
110110
"The `value_type` parameter is being deprecated. Instead, the type of an entity "
111-
"should be specified as a Field in the schema of a feature view. Feast 0.23 and "
111+
"should be specified as a Field in the schema of a feature view. Feast 0.24 and "
112112
"onwards will not support the `value_type` parameter. The `entities` parameter of "
113113
"feature views should also be changed to a List[Entity] instead of a List[str]; if "
114114
"this is not done, entity columns will be mistakenly interpreted as feature columns."
@@ -125,7 +125,7 @@ def __init__(
125125
warnings.warn(
126126
(
127127
"The `join_key` parameter is being deprecated in favor of the `join_keys` parameter. "
128-
"Please switch from using `join_key` to `join_keys`. Feast 0.23 and onwards will not "
128+
"Please switch from using `join_key` to `join_keys`. Feast 0.24 and onwards will not "
129129
"support the `join_key` parameter."
130130
),
131131
DeprecationWarning,

sdk/python/feast/feature_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __init__(
7272
warnings.warn(
7373
(
7474
"Feature service parameters should be specified as a keyword argument instead of a positional arg."
75-
"Feast 0.23+ will not support positional arguments to construct feature service"
75+
"Feast 0.24+ will not support positional arguments to construct feature service"
7676
),
7777
DeprecationWarning,
7878
)

sdk/python/feast/feature_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2504,7 +2504,7 @@ def _validate_data_sources(data_sources: List[DataSource]):
25042504
f"More than one data source with name {case_insensitive_ds_name} found. "
25052505
f"Please ensure that all data source names are case-insensitively unique. "
25062506
f"It may be necessary to ignore certain files in your feature repository by using a .feastignore "
2507-
f"file. Starting in Feast 0.23, unique names (perhaps inferred from the table name) will be "
2507+
f"file. Starting in Feast 0.24, unique names (perhaps inferred from the table name) will be "
25082508
f"required in data sources to encourage data source discovery"
25092509
)
25102510
else:

sdk/python/feast/feature_view.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def __init__(
148148
warnings.warn(
149149
(
150150
"feature view parameters should be specified as a keyword argument instead of a positional arg."
151-
"Feast 0.23+ will not support positional arguments to construct feature views"
151+
"Feast 0.24+ will not support positional arguments to construct feature views"
152152
),
153153
DeprecationWarning,
154154
)
@@ -178,7 +178,7 @@ def __init__(
178178
warnings.warn(
179179
(
180180
"The `entities` parameter should be a list of `Entity` objects. "
181-
"Feast 0.23 and onwards will not support passing in a list of "
181+
"Feast 0.24 and onwards will not support passing in a list of "
182182
"strings to define entities."
183183
),
184184
DeprecationWarning,
@@ -191,7 +191,7 @@ def __init__(
191191
warnings.warn(
192192
(
193193
"The option to pass a Duration object to the ttl parameter is being deprecated. "
194-
"Please pass a timedelta object instead. Feast 0.23 and onwards will not support "
194+
"Please pass a timedelta object instead. Feast 0.24 and onwards will not support "
195195
"Duration objects."
196196
),
197197
DeprecationWarning,
@@ -206,7 +206,7 @@ def __init__(
206206
(
207207
"The `features` parameter is being deprecated in favor of the `schema` parameter. "
208208
"Please switch from using `features` to `schema`. This will also requiring switching "
209-
"feature definitions from using `Feature` to `Field`. Feast 0.23 and onwards will not "
209+
"feature definitions from using `Feature` to `Field`. Feast 0.24 and onwards will not "
210210
"support the `features` parameter."
211211
),
212212
DeprecationWarning,
@@ -282,7 +282,7 @@ def _initialize_sources(self, name, batch_source, stream_source, source):
282282
else:
283283
warnings.warn(
284284
"batch_source and stream_source have been deprecated in favor of `source`."
285-
"The deprecated fields will be removed in Feast 0.23.",
285+
"The deprecated fields will be removed in Feast 0.24.",
286286
DeprecationWarning,
287287
)
288288
if stream_source is not None and isinstance(stream_source, PushSource):

sdk/python/feast/infra/offline_stores/bigquery_source.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def __init__(
6464
warnings.warn(
6565
(
6666
"The argument 'date_partition_column' is not supported for BigQuery sources. "
67-
"It will be removed in Feast 0.23+"
67+
"It will be removed in Feast 0.24+"
6868
),
6969
DeprecationWarning,
7070
)
@@ -77,7 +77,7 @@ def __init__(
7777
else:
7878
warnings.warn(
7979
(
80-
f"Starting in Feast 0.23, Feast will require either a name for a data source (if using query) or `table`: {self.query}"
80+
f"Starting in Feast 0.24, Feast will require either a name for a data source (if using query) or `table`: {self.query}"
8181
),
8282
DeprecationWarning,
8383
)

sdk/python/feast/infra/offline_stores/contrib/spark_offline_store/spark_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def __init__(
5959
warnings.warn(
6060
(
6161
"The argument 'date_partition_column' is not supported for Spark sources."
62-
"It will be removed in Feast 0.23+"
62+
"It will be removed in Feast 0.24+"
6363
),
6464
DeprecationWarning,
6565
)

sdk/python/feast/infra/offline_stores/file_source.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def __init__(
7171
warnings.warn(
7272
(
7373
"File Source parameters should be specified as a keyword argument instead of a positional arg."
74-
"Feast 0.23+ will not support positional arguments to construct File sources"
74+
"Feast 0.24+ will not support positional arguments to construct File sources"
7575
),
7676
DeprecationWarning,
7777
)
@@ -96,7 +96,7 @@ def __init__(
9696
warnings.warn(
9797
(
9898
"The argument 'date_partition_column' is not supported for File sources."
99-
"It will be removed in Feast 0.23+"
99+
"It will be removed in Feast 0.24+"
100100
),
101101
DeprecationWarning,
102102
)

0 commit comments

Comments
 (0)