From 2746e5aa74f11dbfdb61ff233d0fa4d4d8acc329 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Thu, 21 Nov 2024 10:13:30 +0000 Subject: [PATCH] scripts/gh_release.py: fix incorrect specification of cp313. --- scripts/gh_release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gh_release.py b/scripts/gh_release.py index 28bb77b88..2454783cf 100755 --- a/scripts/gh_release.py +++ b/scripts/gh_release.py @@ -292,11 +292,11 @@ def make_string(*items): ret.append(item) return ' '.join(ret) - cps = inputs_wheels_cps if inputs_wheels_cps else 'cp39* cp310* cp311* cp312* cp313' + cps = inputs_wheels_cps if inputs_wheels_cps else 'cp39* cp310* cp311* cp312* cp313*' set_if_unset( 'CIBW_BUILD', cps) for cp in cps.split(): m = re.match('cp([0-9]+)[*]', cp) - assert m + assert m, f'{cps=} {cp=}' v = int(m.group(1)) if v == 314: # Need to set CIBW_PRERELEASE_PYTHONS, otherwise cibuildwheel