From f32d1bb056e9de639a658759ea2d61fa0ef2c61b Mon Sep 17 00:00:00 2001 From: "Vinicius D. Cerutti" <51954708+viniciusdc@users.noreply.github.com> Date: Mon, 13 May 2024 18:25:19 -0300 Subject: [PATCH] Release 2024.5.1 updates (#2461) --- RELEASE.md | 15 +++++++++++++++ src/_nebari/constants.py | 2 +- .../jupyterhub/files/jupyterhub/02-spawner.py | 1 + .../kubernetes/services/jupyterhub/main.tf | 2 +- src/_nebari/upgrade.py | 11 +++++++++++ 5 files changed, 29 insertions(+), 2 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index c3ea55dda..e1bac3acc 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -9,6 +9,21 @@ This file is copied to nebari-dev/nebari-docs using a GitHub Action. --> --- +### Release 2024.5.1 - May 13, 2024 + +## What's Changed + +* make userscheduler run on general node group by @Adam-D-Lewis in +* Upgrade to Pydantic V2 by @Adam-D-Lewis in +* Pydantic2 PR fix by @Adam-D-Lewis in +* remove redundant pydantic class, fix bug by @Adam-D-Lewis in +* Update `python-keycloak` version pins constraints by @viniciusdc in +* add HERA_TOKEN env var to user pods by @Adam-D-Lewis in +* fix docs link by @Adam-D-Lewis in +* Update allowed admin groups by @aktech in + +**Full Changelog**: + ## Release 2024.4.1 - April 20, 2024 ### What's Changed diff --git a/src/_nebari/constants.py b/src/_nebari/constants.py index 7ca8df28b..d0e3f3744 100644 --- a/src/_nebari/constants.py +++ b/src/_nebari/constants.py @@ -1,4 +1,4 @@ -CURRENT_RELEASE = "2024.4.1" +CURRENT_RELEASE = "2024.5.1" # NOTE: Terraform cannot be upgraded further due to Hashicorp licensing changes # implemented in August 2023. diff --git a/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/files/jupyterhub/02-spawner.py b/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/files/jupyterhub/02-spawner.py index ea9511a4c..c3934aad0 100644 --- a/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/files/jupyterhub/02-spawner.py +++ b/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/files/jupyterhub/02-spawner.py @@ -72,6 +72,7 @@ def service_for_jhub_apps(name, url): "url": url, "external": True, }, + "oauth_no_confirm": True, } c.JupyterHub.services.extend( diff --git a/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/main.tf b/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/main.tf index 86c9d2efc..12a942c93 100644 --- a/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/main.tf +++ b/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/main.tf @@ -57,7 +57,7 @@ resource "helm_release" "jupyterhub" { repository = "https://jupyterhub.github.io/helm-chart/" chart = "jupyterhub" - version = "4.0.0-0.dev.git.6586.h0a16e5a0" + version = "3.2.1" values = concat([ file("${path.module}/values.yaml"), diff --git a/src/_nebari/upgrade.py b/src/_nebari/upgrade.py index 64e593be6..2a98ff6f4 100644 --- a/src/_nebari/upgrade.py +++ b/src/_nebari/upgrade.py @@ -773,6 +773,17 @@ def _version_specific_upgrade( return config +class Upgrade_2024_5_1(UpgradeStep): + version = "2024.5.1" + + def _version_specific_upgrade( + self, config, start_version, config_filename: Path, *args, **kwargs + ): + rich.print("Ready to upgrade to Nebari version [green]2024.5.1[/green].") + + return config + + __rounded_version__ = str(rounded_ver_parse(__version__)) # Manually-added upgrade steps must go above this line