Skip to content

Commit 9fa0075

Browse files
committed
fix: warn on deprecated images being set
Signed-off-by: Henry Schreiner <[email protected]>
1 parent f5e502a commit 9fa0075

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cibuildwheel/options.py

+8
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,14 @@ def _compute_build_options(self, identifier: str | None) -> BuildOptions:
775775
# default to manylinux2014
776776
image = pinned_images["manylinux2014"]
777777
elif config_value in pinned_images:
778+
if config_value in {
779+
"manylinux1",
780+
"manylinux2010",
781+
"manylinux_2_24",
782+
"musllinux_1_1",
783+
}:
784+
msg = f"Unmaintained image, either upgrade to a supported image or pin directly to {pinned_images[config_value]!r}"
785+
log.warning(msg)
778786
image = pinned_images[config_value]
779787
else:
780788
image = config_value

0 commit comments

Comments
 (0)