@@ -74,20 +74,22 @@ produced from a maintenance branch are called **bugfix** or **maintenance**
7474releases; the terms are used interchangeably. These releases have a
7575**micro version ** number greater than zero.
7676
77- Changes backported to a maintenance branch fall into two groups. *Low-risk *
78- changes (bug fixes, test improvements, and documentation edits) may be
79- backported without debate. *Higher-risk * changes (new features, semantic
80- changes, and performance improvements) can introduce regressions, so they are
81- not backported as a matter of course.
82- Also, a general rule for maintenance branches is that compatibility
83- must not be broken at any point between sibling micro releases (3.12.1, 3.12.2,
84- etc.). For both rules, only rare exceptions are accepted, and each requires a
77+ For ordinary changes, merge to ``main `` first. A change may then be
78+ backported to a maintenance branch if it is appropriate for that release.
79+ Security fixes follow the coordinated process described in the
80+ :ref: `security policy <security-policy >`. *Low-risk * changes (bug fixes, test
81+ improvements, and documentation edits) may be backported without debate.
82+ *Higher-risk * changes (new features, semantic changes, and performance
83+ improvements) can introduce regressions, so they are not backported as a matter
84+ of course. Compatibility must not be broken between sibling micro releases
85+ (3.12.1, 3.12.2, etc.). Exceptions to these rules are rare and require a
8586strong case agreed upon in discussion beforehand.
8687
87- Backporting changes reduces the risk of future conflicts.
88- For documentation, it increases the visibility of improvements,
89- since most readers access the `stable documentation <https://docs.python.org/3/ >`__
88+ Backport pull requests use a `` [X.Y] `` prefix in their title to identify the
89+ target branch. Backporting documentation changes also makes improvements more
90+ visible, since most readers access the `stable documentation <https://docs.python.org/3/ >`__
9091rather than the `development documentation <https://docs.python.org/dev/ >`__.
92+ For the practical steps, see :ref: `backporting `.
9193
9294A new maintenance branch is normally created when the next feature release
9395cycle reaches feature freeze, that is, at its first beta pre-release.
0 commit comments