Skip to content

Commit 21ed22d

Browse files
authored
feat: add support for Ubuntu 25.10 (Questing) (#746)
* chore: drop unused PT004 linter Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com> * feat: add support for Ubuntu 25.10 (Questing) Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com> --------- Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
1 parent 2e31f55 commit 21ed22d

File tree

7 files changed

+15
-3
lines changed

7 files changed

+15
-3
lines changed

craft_providers/bases/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class BaseName(NamedTuple):
6464
BaseName("ubuntu", "24.04"): ubuntu.BuilddBaseAlias.NOBLE,
6565
BaseName("ubuntu", "24.10"): ubuntu.BuilddBaseAlias.ORACULAR,
6666
BaseName("ubuntu", "25.04"): ubuntu.BuilddBaseAlias.PLUCKY,
67+
BaseName("ubuntu", "25.10"): ubuntu.BuilddBaseAlias.QUESTING,
6768
BaseName("ubuntu", "devel"): ubuntu.BuilddBaseAlias.DEVEL,
6869
BaseName("centos", "7"): centos.CentOSBaseAlias.SEVEN,
6970
BaseName("almalinux", "9"): almalinux.AlmaLinuxBaseAlias.NINE,

craft_providers/bases/ubuntu.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class BuilddBaseAlias(enum.Enum):
4949
NOBLE = "24.04"
5050
ORACULAR = "24.10"
5151
PLUCKY = "25.04"
52+
QUESTING = "25.10"
5253
DEVEL = "devel"
5354

5455
def __lt__(self, other) -> bool:

craft_providers/lxd/remotes.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@ def add_remote(self, lxc: LXC) -> None:
158158
remote_address=BUILDD_DAILY_REMOTE_ADDRESS,
159159
remote_protocol=ProtocolType.SIMPLESTREAMS,
160160
),
161+
ubuntu.BuilddBaseAlias.QUESTING: RemoteImage(
162+
image_name="questing",
163+
remote_name=BUILDD_DAILY_REMOTE_NAME,
164+
remote_address=BUILDD_DAILY_REMOTE_ADDRESS,
165+
remote_protocol=ProtocolType.SIMPLESTREAMS,
166+
),
161167
ubuntu.BuilddBaseAlias.DEVEL: RemoteImage(
162168
image_name="devel",
163169
remote_name=BUILDD_DAILY_REMOTE_NAME,

craft_providers/multipass/multipass_provider.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def name(self) -> str:
105105
ubuntu.BuilddBaseAlias.PLUCKY: RemoteImage(
106106
remote=Remote.DAILY, image_name="plucky"
107107
),
108+
ubuntu.BuilddBaseAlias.QUESTING: RemoteImage(
109+
remote=Remote.DAILY, image_name="questing"
110+
),
108111
# devel images are not available on macos
109112
ubuntu.BuilddBaseAlias.DEVEL: RemoteImage(
110113
remote=Remote.SNAPCRAFT, image_name="devel"

docs/reference/changelog.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ Changelog
44
See the `Releases page`_ on GitHub for a complete list of commits that are
55
included in each version.
66

7-
2.3.0 (upcoming)
8-
----------------
7+
2.3.0 (2025-May-09)
8+
-------------------
99

1010
New features:
1111

1212
- Add support for Ubuntu 25.04 (Plucky).
13+
- Add support for Ubuntu 25.10 (Questing).
1314

1415
Bug fixes:
1516

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ lint.ignore = [
285285
"PLR0915", # Too many statements
286286
"PLR2004", # Magic value used in comparison
287287
"PLW2901", # `for` loop variable `line` overwritten by assignment target
288-
"PT004", # Fixture does not return anything, add leading underscore
289288
"PT011", # `pytest.raises(ValueError)` is too broad, set the `match` parameter or usea more specific exception
290289
"PT012", # `pytest.raises()` block should contain a single simple statement
291290
"PTH110", # `os.path.exists()` should be replaced by `Path.exists()`

tests/unit/lxd/test_remotes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def test_add_remote_race_condition_error(fake_remote_image, mock_lxc, logs):
147147
(ubuntu.BuilddBaseAlias.NOBLE, "core24"),
148148
(ubuntu.BuilddBaseAlias.ORACULAR, "oracular"),
149149
(ubuntu.BuilddBaseAlias.PLUCKY, "plucky"),
150+
(ubuntu.BuilddBaseAlias.QUESTING, "questing"),
150151
(ubuntu.BuilddBaseAlias.DEVEL, "devel"),
151152
],
152153
)

0 commit comments

Comments
 (0)