Skip to content

Commit

Permalink
scripts/gh_release.py: fix incorrect specification of cp313.
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-smith-artifex-com committed Nov 21, 2024
1 parent 2ae420b commit 2746e5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gh_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2746e5a

Please sign in to comment.