Skip to content

Commit

Permalink
chore: Remove repo-upgrade cli command (feast-dev#4124)
Browse files Browse the repository at this point in the history
remove repo-upgrade cli command

Signed-off-by: tokoko <[email protected]>
  • Loading branch information
tokoko authored May 2, 2024
1 parent 60756cb commit ee51fbf
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 329 deletions.
1 change: 0 additions & 1 deletion docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
* [Scaling Feast](how-to-guides/scaling-feast.md)
* [Structuring Feature Repos](how-to-guides/structuring-repos.md)
* [Running Feast in production (e.g. on Kubernetes)](how-to-guides/running-feast-in-production.md)
* [Upgrading for Feast 0.20+](how-to-guides/automated-feast-upgrade.md)
* [Customizing Feast](how-to-guides/customizing-feast/README.md)
* [Adding a custom batch materialization engine](how-to-guides/customizing-feast/creating-a-custom-materialization-engine.md)
* [Adding a new offline store](how-to-guides/customizing-feast/adding-a-new-offline-store.md)
Expand Down
78 changes: 0 additions & 78 deletions docs/how-to-guides/automated-feast-upgrade.md

This file was deleted.

22 changes: 0 additions & 22 deletions sdk/python/feast/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
registry_dump,
teardown,
)
from feast.repo_upgrade import RepoUpgrader
from feast.utils import maybe_local_tz

_logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -834,26 +833,5 @@ def validate(
exit(1)


@cli.command("repo-upgrade", cls=NoOptionDefaultFormat)
@click.option(
"--write",
is_flag=True,
default=False,
help="Upgrade a feature repo to use the API expected by feast 0.23.",
)
@click.pass_context
def repo_upgrade(ctx: click.Context, write: bool):
"""
Upgrade a feature repo in place.
"""
repo = ctx.obj["CHDIR"]
fs_yaml_file = ctx.obj["FS_YAML_FILE"]
cli_check_repo(repo, fs_yaml_file)
try:
RepoUpgrader(repo, write).upgrade()
except FeastProviderLoginError as e:
print(str(e))


if __name__ == "__main__":
cli()
175 changes: 0 additions & 175 deletions sdk/python/feast/repo_upgrade.py

This file was deleted.

13 changes: 0 additions & 13 deletions sdk/python/requirements/py3.10-ci-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ anyio==4.3.0
# jupyter-server
# starlette
# watchfiles
appdirs==1.4.4
# via fissix
argon2-cffi==23.1.0
# via jupyter-server
argon2-cffi-bindings==21.2.0
Expand All @@ -38,7 +36,6 @@ atpublic==4.1.0
# via ibis-framework
attrs==23.2.0
# via
# bowler
# jsonschema
# referencing
azure-core==1.30.1
Expand Down Expand Up @@ -68,8 +65,6 @@ botocore==1.34.88
# boto3
# moto
# s3transfer
bowler==0.9.0
# via feast (setup.py)
build==1.2.1
# via
# feast (setup.py)
Expand Down Expand Up @@ -101,12 +96,10 @@ charset-normalizer==3.3.2
# snowflake-connector-python
click==8.1.7
# via
# bowler
# dask
# feast (setup.py)
# geomet
# great-expectations
# moreorless
# pip-tools
# uvicorn
cloudpickle==3.0.0
Expand Down Expand Up @@ -187,8 +180,6 @@ filelock==3.13.4
# virtualenv
firebase-admin==5.4.0
# via feast (setup.py)
fissix==21.11.13
# via bowler
fqdn==1.5.1
# via jsonschema
fsspec==2023.12.2
Expand Down Expand Up @@ -448,8 +439,6 @@ mmh3==4.1.0
# via feast (setup.py)
mock==2.0.0
# via feast (setup.py)
moreorless==0.4.0
# via bowler
moto==4.2.14
# via feast (setup.py)
msal==1.28.0
Expand Down Expand Up @@ -997,8 +986,6 @@ virtualenv==20.23.0
# via
# feast (setup.py)
# pre-commit
volatile==2.1.0
# via bowler
watchfiles==0.21.0
# via uvicorn
wcwidth==0.2.13
Expand Down
Loading

0 comments on commit ee51fbf

Please sign in to comment.