Skip to content

Commit 5643ae7

Browse files
committed
docs: prep for 7.16.2
1 parent a3e969f commit 5643ae7

3 files changed

Lines changed: 14 additions & 12 deletions

File tree

‎CHANGES.rst‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ upgrading your version of coverage.py.
2020
.. Version 9.8.1 — 2027-07-27
2121
.. --------------------------
2222
23-
Unreleased
24-
----------
23+
.. start-releases
2524
26-
- Fix: with ``dynamic_context = test_function``, test methods written as
27-
``@staticmethod`` or ``@classmethod`` were not given a context of their own.
28-
Now they are, on Python 3.11 and later. Closes `issue 1923`_.
25+
.. _changes_7-16-2:
26+
27+
Version 7.16.2 — 2026-09-27
28+
---------------------------
2929

3030
- Fix: on Python 3.14 and later, a ``for`` loop completing immediately before a
3131
function return could mistakenly report an uncovered branch. This is now
@@ -35,13 +35,15 @@ Unreleased
3535
a ``with`` statement could incorrectly be reported as covered when the
3636
``with`` raised. This is now fixed, closing `issue 2289`_.
3737

38+
- Fix: with ``dynamic_context = test_function``, test methods written as
39+
``@staticmethod`` or ``@classmethod`` were not given a context of their own.
40+
Now they are, on Python 3.11 and later. Closes `issue 1923`_.
41+
3842
.. _issue 1923: https://github.com/coveragepy/coveragepy/issues/1923
3943
.. _issue 2168: https://github.com/coveragepy/coveragepy/issues/2168
4044
.. _issue 2289: https://github.com/coveragepy/coveragepy/issues/2289
4145

4246

43-
.. start-releases
44-
4547
.. _changes_7-16-1:
4648

4749
Version 7.16.1 — 2026-09-13

‎coverage/version.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
# version_info: same semantics as sys.version_info.
1010
# _dev: the .devN suffix if any.
11-
version_info = (7, 16, 2, "alpha", 0)
12-
_dev = 1
11+
version_info = (7, 16, 2, "final", 0)
12+
_dev = 0
1313

1414

1515
def _make_version(

‎doc/conf.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@
6969
# @@@ editable
7070
copyright = "2009–2026, Ned Batchelder" # pylint: disable=redefined-builtin
7171
# The short X.Y.Z version.
72-
version = "7.16.1"
72+
version = "7.16.2"
7373
# The full version, including alpha/beta/rc tags.
74-
release = "7.16.1"
74+
release = "7.16.2"
7575
# The date of release, in "monthname day, year" format.
76-
release_date = "September 13, 2026"
76+
release_date = "September 27, 2026"
7777
# @@@ end
7878

7979
rst_epilog = f"""

0 commit comments

Comments
 (0)