Skip to content

Commit 33b5f37

Browse files
nedbathugovk
andauthored
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 45a454b commit 33b5f37

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

_tools/generate_release_cycle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(self, *, limit_to_active=False, special_py27=False) -> None:
6969
# and the rest
7070
y = len(self.sorted_versions) + (1 if special_py27 else 0)
7171
for version in self.sorted_versions:
72-
if special_py27 and version["key"] == '2.7':
72+
if special_py27 and version["key"] == "2.7":
7373
y -= 1
7474
version["y"] = y
7575
y -= 1

_tools/release_cycle_template.svg.jinja

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@
8080
{% set start_x = date_to_x(version.first_release_date) %}
8181
{% set end_x = date_to_x(version.end_of_life_date) %}
8282

83-
<!-- bugfix status needs a security tail.
83+
<!-- Bugfix status needs a security tail.
8484
Draw the rectangle with two path elements instead.
85-
Thanks Claude.ai for the conversion.
8685
-->
8786
{% set half_x = [end_x, date_to_x(version.start_security_date)]|min %}
8887
{% set height = 1.25 * SCALE %}

make.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ if ($target -Eq "clean") {
6565
$BUILDDIR,
6666
$_VENV_DIR,
6767
"include/branches.csv", "include/end-of-life.csv",
68-
"include/release-cycle.svg", "include/release-cycle-all.svg"
68+
"include/release-cycle.svg", "include/release-cycle-all.svg"
6969
)
7070
foreach ($item in $ToClean) {
7171
if (Test-Path -Path $item) {

versions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ Python releases go through five phases:
6060
(including significant changes to new features), bug fixes, and security fixes
6161
are accepted for the upcoming feature release.
6262

63-
:bugfix: Once a version has been released, bug fixes and security fixes are
63+
:bugfix: Once a version has been fully released, bug fixes and security fixes are
6464
accepted. New binaries are built and released. (Also called **maintenance**
65-
mode or **stable** release)
65+
mode or **stable** release.)
6666

6767
:security: After two years, only security fixes are accepted and no more
6868
binaries are released. New source-only versions can be released as needed.

0 commit comments

Comments
 (0)