Skip to content

Commit 10484b7

Browse files
committed
Add support for CPython 3.14
1 parent 5999c61 commit 10484b7

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

lonesnake

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ readonly LATEST_PATCH_CP310="19"
2626
readonly LATEST_PATCH_CP311="14"
2727
readonly LATEST_PATCH_CP312="12"
2828
readonly LATEST_PATCH_CP313="8"
29+
readonly LATEST_PATCH_CP314="0"
2930

3031
# Default CPython version if the user does not request a specific version
3132
readonly DEFAULT_CP_MINOR="3.13"
@@ -68,7 +69,7 @@ ${CLR_BOLD}OPTIONS${CLR_END}
6869
latest released patch of this minor version will be used.
6970
Latest patches are the following:
7071
3.7.${LATEST_PATCH_CP37}, 3.8.${LATEST_PATCH_CP38}, 3.9.${LATEST_PATCH_CP39}, 3.10.${LATEST_PATCH_CP310}, 3.11.${LATEST_PATCH_CP311}, 3.12.${LATEST_PATCH_CP312},
71-
3.13.${LATEST_PATCH_CP313}.
72+
3.13.${LATEST_PATCH_CP313}, 3.14.${LATEST_PATCH_CP314}.
7273
You can find the list of all Python releases on this page:
7374
https://www.python.org/downloads/
7475
@@ -189,6 +190,10 @@ function guess_cpython_patch_number() {
189190
echo "$LATEST_PATCH_CP313"
190191
return
191192
;;
193+
14)
194+
echo "$LATEST_PATCH_CP314"
195+
return
196+
;;
192197
esac
193198

194199
error_out "Could not find the Python minor version '$minor' that you requested."

release.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ def overwrite_latest_patch_block(
211211
readonly LATEST_PATCH_CP311="{pythondotorg_patch_versions['3.11'].patch}"
212212
readonly LATEST_PATCH_CP312="{pythondotorg_patch_versions['3.12'].patch}"
213213
readonly LATEST_PATCH_CP313="{pythondotorg_patch_versions['3.13'].patch}"
214+
readonly LATEST_PATCH_CP314="{pythondotorg_patch_versions['3.14'].patch}"
214215
"""
215216
).strip()
216217

0 commit comments

Comments
 (0)