From 4c50063c14860ca545149d5a8d89abb20bb2be39 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:30:28 +0300 Subject: [PATCH 1/3] Use sentence case for headers in 'What's new' template https://devguide.python.org/documentation/style-guide/#capitalization --- run_release.py | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/run_release.py b/run_release.py index 1267a5b..5468d94 100755 --- a/run_release.py +++ b/run_release.py @@ -44,7 +44,7 @@ WHATS_NEW_TEMPLATE = """ **************************** - What's New In Python {version} + What's new in Python {version} **************************** :Editor: TBD @@ -100,7 +100,7 @@ so it's worth checking back even after reading earlier versions. -Summary -- Release highlights +Summary -- release highlights ============================= .. This section singles out the most important changes in Python {version}. @@ -111,40 +111,58 @@ -New Features +New features ============ -Other Language Changes +Other language changes ====================== -New Modules +New modules =========== * None yet. -Improved Modules +Improved modules ================ +module_name +----------- + +* TODO + +.. Add improved modules above alphabetically, not here at the end. Optimizations ============= +module_name +----------- + +* TODO Deprecated ========== +* module_name: + TODO + +.. Add deprecations above alphabetically, not here at the end. Removed ======= +module_name +----------- + +* TODO Porting to Python {version} @@ -154,22 +172,28 @@ that may require changes to your code. -Build Changes +Build changes ============= -C API Changes +C API changes ============= -New Features +New features ------------ +* TODO Porting to Python {version} ---------------------- +* TODO + Deprecated ---------- +* TODO + +.. Add C API deprecations above alphabetically, not here at the end. Removed ------- From 5ce03c250978c9eb345975dd5259812357f149da Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Wed, 23 Oct 2024 12:27:47 +0300 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- run_release.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/run_release.py b/run_release.py index 5468d94..55d530f 100755 --- a/run_release.py +++ b/run_release.py @@ -154,8 +154,8 @@ TODO - .. Add deprecations above alphabetically, not here at the end. + Removed ======= @@ -188,14 +188,15 @@ * TODO -Deprecated ----------- +Deprecated C APIs +----------------- * TODO .. Add C API deprecations above alphabetically, not here at the end. -Removed -------- + +Removed C APIs +-------------- """ From 6fd1fcbd7d334b30cefda82e3c0c4ce24e3cc577 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 25 Nov 2024 11:56:47 +0200 Subject: [PATCH 3/3] Em dash Co-authored-by: Ezio Melotti --- run_release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_release.py b/run_release.py index 55d530f..f62ff63 100755 --- a/run_release.py +++ b/run_release.py @@ -100,8 +100,8 @@ so it's worth checking back even after reading earlier versions. -Summary -- release highlights -============================= +Summary --- release highlights +============================== .. This section singles out the most important changes in Python {version}. Brevity is key.