Skip to content

Commit

Permalink
update upgrade command (#2198)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
dcmcand and pre-commit-ci[bot] authored Jan 10, 2024
1 parent 0d02ab4 commit e3e06a8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/_nebari/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,26 @@ def _version_specific_upgrade(
return config


class Upgrade_2024_1_1(UpgradeStep):
version = "2024.1.1"

def _version_specific_upgrade(
self, config, start_version, config_filename: Path, *args, **kwargs
):
rich.print("\n ⚠️ Warning ⚠️")
rich.print(
"-> Please run the [green]rm -rf stages[/green] so that we can regenerate an updated set of Terraform scripts for your deployment."
)
rich.print("\n ⚠️ Deprecation Warning ⚠️")
rich.print(
"-> jupyterlab-videochat, retrolab, jupyter-tensorboard, jupyterlab-conda-store and jupyter-nvdashboard",
f"are no longer supported in Nebari version [green]{self.version}[/green] and will be uninstalled.",
)
rich.print()

return config


__rounded_version__ = str(rounded_ver_parse(__version__))

# Manually-added upgrade steps must go above this line
Expand Down

0 comments on commit e3e06a8

Please sign in to comment.