From 6bdeb2a2e3b72629419d3ab9b296cf3ffa193614 Mon Sep 17 00:00:00 2001 From: eskild <42120229+iameskild@users.noreply.github.com> Date: Sun, 12 Nov 2023 20:39:13 -0800 Subject: [PATCH] Add upgrade command for 2023.11.1 (#2103) --- src/_nebari/upgrade.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/_nebari/upgrade.py b/src/_nebari/upgrade.py index 7625abd526..745ccda24e 100644 --- a/src/_nebari/upgrade.py +++ b/src/_nebari/upgrade.py @@ -648,6 +648,20 @@ def _version_specific_upgrade( return config +class Upgrade_2023_11_1(UpgradeStep): + version = "2023.11.1" + + def _version_specific_upgrade( + self, config, start_version, config_filename: Path, *args, **kwargs + ): + rich.print("\n ⚠️ Deprecation Warning ⚠️") + rich.print( + f"-> ClearML, Prefect and kbatch are no longer supported in Nebari version [green]{self.version}[/green] and will be uninstalled." + ) + + return config + + __rounded_version__ = str(rounded_ver_parse(__version__)) # Manually-added upgrade steps must go above this line