← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~corey.bryant/lpci:main into lpci:main

 

Corey Bryant has proposed merging ~corey.bryant/lpci:main into lpci:main.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~corey.bryant/lpci/+git/lpci/+merge/454415
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~corey.bryant/lpci:main into lpci:main.
diff --git a/NEWS.rst b/NEWS.rst
index 942013f..974e3d4 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,11 @@
 Version history
 ===============
 
+0.2.5 (unreleased)
+==================
+
+- Add support for 23.10 (mantic).
+
 0.2.4 (2023-09-29)
 ==================
 
diff --git a/lpci/providers/_buildd.py b/lpci/providers/_buildd.py
index 88f5e19..2295863 100644
--- a/lpci/providers/_buildd.py
+++ b/lpci/providers/_buildd.py
@@ -20,6 +20,7 @@ SERIES_TO_BUILDD_IMAGE_ALIAS = {
     "jammy": bases.BuilddBaseAlias.JAMMY,
     "kinetic": bases.BuilddBaseAlias.KINETIC,
     "lunar": bases.BuilddBaseAlias.LUNAR,
+    "mantic": bases.BuilddBaseAlias.MANTIC,
     "devel": bases.BuilddBaseAlias.DEVEL,
 }
 
diff --git a/lpci/providers/tests/test_buildd.py b/lpci/providers/tests/test_buildd.py
index cb6dd58..2fe35e0 100644
--- a/lpci/providers/tests/test_buildd.py
+++ b/lpci/providers/tests/test_buildd.py
@@ -24,6 +24,7 @@ class TestLPCIBuilddBaseConfiguration(TestCase):
             "22.04": BuilddBaseAlias.JAMMY.value,
             "22.10": BuilddBaseAlias.KINETIC.value,
             "23.04": BuilddBaseAlias.LUNAR.value,
+            "23.10": BuilddBaseAlias.MANTIC.value,
             "devel": BuilddBaseAlias.DEVEL.value,
         }
         for k, v in alias_mapping.items():
diff --git a/requirements.in b/requirements.in
index fc63d66..7cdae3e 100644
--- a/requirements.in
+++ b/requirements.in
@@ -1,5 +1,5 @@
 craft-cli
-craft-providers>=1.8.1  # 1.8.1 added support of bases.BuilddBaseAlias.DEVEL
+craft-providers>=1.19.0  # 1.19.0 added support of bases.BuilddBaseAlias.MANTIC
 launchpadlib[keyring]
 pydantic
 PyYAML>=6.0.1  # 6.0.0 is not compatible with a current cython version

Follow ups