Skip to content

Commit ee51fbf

Browse files
authored
chore: Remove repo-upgrade cli command (#4124)
remove repo-upgrade cli command Signed-off-by: tokoko <togurg14@freeuni.edu.ge>
1 parent 60756cb commit ee51fbf

File tree

9 files changed

+0
-329
lines changed

9 files changed

+0
-329
lines changed

docs/SUMMARY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
* [Scaling Feast](how-to-guides/scaling-feast.md)
5151
* [Structuring Feature Repos](how-to-guides/structuring-repos.md)
5252
* [Running Feast in production (e.g. on Kubernetes)](how-to-guides/running-feast-in-production.md)
53-
* [Upgrading for Feast 0.20+](how-to-guides/automated-feast-upgrade.md)
5453
* [Customizing Feast](how-to-guides/customizing-feast/README.md)
5554
* [Adding a custom batch materialization engine](how-to-guides/customizing-feast/creating-a-custom-materialization-engine.md)
5655
* [Adding a new offline store](how-to-guides/customizing-feast/adding-a-new-offline-store.md)

docs/how-to-guides/automated-feast-upgrade.md

Lines changed: 0 additions & 78 deletions
This file was deleted.

sdk/python/feast/cli.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
registry_dump,
4444
teardown,
4545
)
46-
from feast.repo_upgrade import RepoUpgrader
4746
from feast.utils import maybe_local_tz
4847

4948
_logger = logging.getLogger(__name__)
@@ -834,26 +833,5 @@ def validate(
834833
exit(1)
835834

836835

837-
@cli.command("repo-upgrade", cls=NoOptionDefaultFormat)
838-
@click.option(
839-
"--write",
840-
is_flag=True,
841-
default=False,
842-
help="Upgrade a feature repo to use the API expected by feast 0.23.",
843-
)
844-
@click.pass_context
845-
def repo_upgrade(ctx: click.Context, write: bool):
846-
"""
847-
Upgrade a feature repo in place.
848-
"""
849-
repo = ctx.obj["CHDIR"]
850-
fs_yaml_file = ctx.obj["FS_YAML_FILE"]
851-
cli_check_repo(repo, fs_yaml_file)
852-
try:
853-
RepoUpgrader(repo, write).upgrade()
854-
except FeastProviderLoginError as e:
855-
print(str(e))
856-
857-
858836
if __name__ == "__main__":
859837
cli()

sdk/python/feast/repo_upgrade.py

Lines changed: 0 additions & 175 deletions
This file was deleted.

sdk/python/requirements/py3.10-ci-requirements.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ anyio==4.3.0
1616
# jupyter-server
1717
# starlette
1818
# watchfiles
19-
appdirs==1.4.4
20-
# via fissix
2119
argon2-cffi==23.1.0
2220
# via jupyter-server
2321
argon2-cffi-bindings==21.2.0
@@ -38,7 +36,6 @@ atpublic==4.1.0
3836
# via ibis-framework
3937
attrs==23.2.0
4038
# via
41-
# bowler
4239
# jsonschema
4340
# referencing
4441
azure-core==1.30.1
@@ -68,8 +65,6 @@ botocore==1.34.88
6865
# boto3
6966
# moto
7067
# s3transfer
71-
bowler==0.9.0
72-
# via feast (setup.py)
7368
build==1.2.1
7469
# via
7570
# feast (setup.py)
@@ -101,12 +96,10 @@ charset-normalizer==3.3.2
10196
# snowflake-connector-python
10297
click==8.1.7
10398
# via
104-
# bowler
10599
# dask
106100
# feast (setup.py)
107101
# geomet
108102
# great-expectations
109-
# moreorless
110103
# pip-tools
111104
# uvicorn
112105
cloudpickle==3.0.0
@@ -187,8 +180,6 @@ filelock==3.13.4
187180
# virtualenv
188181
firebase-admin==5.4.0
189182
# via feast (setup.py)
190-
fissix==21.11.13
191-
# via bowler
192183
fqdn==1.5.1
193184
# via jsonschema
194185
fsspec==2023.12.2
@@ -448,8 +439,6 @@ mmh3==4.1.0
448439
# via feast (setup.py)
449440
mock==2.0.0
450441
# via feast (setup.py)
451-
moreorless==0.4.0
452-
# via bowler
453442
moto==4.2.14
454443
# via feast (setup.py)
455444
msal==1.28.0
@@ -997,8 +986,6 @@ virtualenv==20.23.0
997986
# via
998987
# feast (setup.py)
999988
# pre-commit
1000-
volatile==2.1.0
1001-
# via bowler
1002989
watchfiles==0.21.0
1003990
# via uvicorn
1004991
wcwidth==0.2.13

0 commit comments

Comments
 (0)