feat: add deprecation warning for cpython-experimental-riscv64 enable (#2526)

This commit is contained in:
Matthieu Darbois
2025-07-27 15:58:03 -04:00
committed by GitHub
parent 1c38fac9c8
commit 68c03665d3
3 changed files with 55 additions and 1 deletions
+7
View File
@@ -417,6 +417,13 @@ def detect_warnings(*, options: Options) -> Generator[str, None, None]:
build_selector = options.globals.build_selector
test_selector = options.globals.test_selector
if EnableGroup.CPythonExperimentalRiscV64 in build_selector.enable:
yield (
"'cpython-experimental-riscv64' enable is deprecated and will be removed in a future version. "
"It should be removed from tool.cibuildwheel.enable in pyproject.toml "
"or CIBW_ENABLE environment variable."
)
all_valid_identifiers = [
config.identifier
for module in ALL_PLATFORM_MODULES.values()