From 3741d0e3eb1dc7b731f9ce291bef9d9abb444299 Mon Sep 17 00:00:00 2001
From: Ned Batchelder
Date: Tue, 23 May 2023 21:45:43 -0400
Subject: [PATCH 01/10] build: bump version
---
CHANGES.rst | 6 ++++++
coverage/version.py | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/CHANGES.rst b/CHANGES.rst
index 47e26a205..9014c4ce2 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -17,6 +17,12 @@ development at the same time, such as 4.5.x and 5.0.
.. Version 9.8.1 — 2027-07-27
.. --------------------------
+Unreleased
+----------
+
+Nothing yet.
+
+
.. scriv-start-here
.. _changes_7-2-6:
diff --git a/coverage/version.py b/coverage/version.py
index 2818d356b..4cc389866 100644
--- a/coverage/version.py
+++ b/coverage/version.py
@@ -8,8 +8,8 @@
# version_info: same semantics as sys.version_info.
# _dev: the .devN suffix if any.
-version_info = (7, 2, 6, "final", 0)
-_dev = 0
+version_info = (7, 2, 7, "alpha", 0)
+_dev = 1
def _make_version(
From b62fc41127c8a1a1286a50b39d1d072add5e2b1f Mon Sep 17 00:00:00 2001
From: Ned Batchelder
Date: Wed, 24 May 2023 05:31:20 -0400
Subject: [PATCH 02/10] docs: one new-in mention, and tweak the release how-to
---
README.rst | 1 +
howto.txt | 9 ++++-----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.rst b/README.rst
index 84e729422..5e4024d87 100644
--- a/README.rst
+++ b/README.rst
@@ -39,6 +39,7 @@ Documentation is on `Read the Docs`_. Code repository and issue tracker are on
**New in 7.x:**
improved data combining;
+``[run] exclude_also`` setting;
``report --format=``;
type annotations.
diff --git a/howto.txt b/howto.txt
index e74aa77d9..1d5f4f2e1 100644
--- a/howto.txt
+++ b/howto.txt
@@ -10,6 +10,7 @@
version_info = (4, 0, 2, "final", 0)
- make sure: _dev = 0
- Edit supported Python version numbers. Search for "PYVERSIONS".
+ - Especially README.rst and doc/index.rst
- Update source files with release facts:
$ make edit_for_release
- Get useful snippets for next steps, and beyond, in cheats.txt
@@ -17,9 +18,7 @@
- Look over CHANGES.rst
- Update README.rst
- "New in x.y:"
- - Python versions supported
- Update docs
- - Python versions in doc/index.rst
- IF PRE-RELEASE:
- Version of latest stable release in doc/index.rst
- Make sure the docs are cogged:
@@ -49,6 +48,7 @@
$ make publishbeta
- ELSE:
$ make publish
+ - commit and publish nedbatchelder.com
- Kits:
- Wait for kits to finish:
- https://github.com/nedbat/coveragepy/actions/workflows/kit.yml
@@ -83,10 +83,9 @@
- wait for the new tag build to finish successfully.
- @ https://readthedocs.org/dashboard/coverage/advanced/
- change the default version to the new version
-- Don't forget to merge the bump-version branch
+- Once CI passes, merge the bump-version branch to master and push it
+
- things to automate:
- - url to link to latest changes in docs
- - next version.py line
- readthedocs api to do the readthedocs changes
From 5281c6c83a2a57190b5f0360eff914e4743ee5eb Mon Sep 17 00:00:00 2001
From: Ned Batchelder
Date: Fri, 26 May 2023 08:52:40 -0400
Subject: [PATCH 03/10] build: don't search in cache directories
---
.treerc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.treerc b/.treerc
index ddea2e92c..0916e24a9 100644
--- a/.treerc
+++ b/.treerc
@@ -14,5 +14,5 @@ ignore =
*.gz *.zip
_build _spell
*.egg *.egg-info
- .mypy_cache
+ .*_cache
tmp
From c6c88f233ac9b7c0ae049519ce9e56d7d08d1beb Mon Sep 17 00:00:00 2001
From: Ned Batchelder
Date: Sat, 27 May 2023 19:30:47 -0400
Subject: [PATCH 04/10] style: fix the spacing of the changes entries
---
CHANGES.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGES.rst b/CHANGES.rst
index 9014c4ce2..2f9dd0e55 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -209,6 +209,7 @@ Version 7.1.0 — 2023-01-24
.. _issue 1319: https://github.com/nedbat/coveragepy/issues/1319
.. _issue 1538: https://github.com/nedbat/coveragepy/issues/1538
+
.. _changes_7-0-5:
Version 7.0.5 — 2023-01-10
@@ -422,7 +423,6 @@ update your settings.
.. _pull 1479: https://github.com/nedbat/coveragepy/pull/1479
-
.. _changes_6-6-0b1:
Version 6.6.0b1 — 2022-10-31
@@ -1132,6 +1132,7 @@ Version 5.3.1 — 2020-12-19
.. _issue 1010: https://github.com/nedbat/coveragepy/issues/1010
.. _pull request 1066: https://github.com/nedbat/coveragepy/pull/1066
+
.. _changes_53:
Version 5.3 — 2020-09-13
From 44fd6f86007bbadbb15a9ee5f2b69e04a88e1b57 Mon Sep 17 00:00:00 2001
From: Ned Batchelder
Date: Wed, 24 May 2023 16:20:52 -0400
Subject: [PATCH 05/10] build: include 3.12 when building wheels
---
.github/workflows/kit.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml
index 9c46f20e8..2c9f3771f 100644
--- a/.github/workflows/kit.yml
+++ b/.github/workflows/kit.yml
@@ -79,7 +79,7 @@ jobs:
# # https://github.com/actions/python-versions/blob/main/versions-manifest.json
# # Include prereleases if they are at rc stage.
# # PyPy versions are handled further below in the "pypy" step.
- # pys = ["cp37", "cp38", "cp39", "cp310", "cp311"]
+ # pys = ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"]
#
# # Some OS/arch combinations need overrides for the Python versions:
# os_arch_pys = {
From 86722e147a5329d9b52f7ba6b6e49de592c36653 Mon Sep 17 00:00:00 2001
From: Ned Batchelder
Date: Wed, 24 May 2023 16:21:33 -0400
Subject: [PATCH 06/10] chore: make workflows
---
.github/workflows/kit.yml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml
index 2c9f3771f..53e081455 100644
--- a/.github/workflows/kit.yml
+++ b/.github/workflows/kit.yml
@@ -77,7 +77,6 @@ jobs:
# }
# # PYVERSIONS. Available versions:
# # https://github.com/actions/python-versions/blob/main/versions-manifest.json
- # # Include prereleases if they are at rc stage.
# # PyPy versions are handled further below in the "pypy" step.
# pys = ["cp37", "cp38", "cp39", "cp310", "cp311", "cp312"]
#
@@ -104,16 +103,19 @@ jobs:
- {"os": "ubuntu", "py": "cp39", "arch": "x86_64"}
- {"os": "ubuntu", "py": "cp310", "arch": "x86_64"}
- {"os": "ubuntu", "py": "cp311", "arch": "x86_64"}
+ - {"os": "ubuntu", "py": "cp312", "arch": "x86_64"}
- {"os": "ubuntu", "py": "cp37", "arch": "i686"}
- {"os": "ubuntu", "py": "cp38", "arch": "i686"}
- {"os": "ubuntu", "py": "cp39", "arch": "i686"}
- {"os": "ubuntu", "py": "cp310", "arch": "i686"}
- {"os": "ubuntu", "py": "cp311", "arch": "i686"}
+ - {"os": "ubuntu", "py": "cp312", "arch": "i686"}
- {"os": "ubuntu", "py": "cp37", "arch": "aarch64"}
- {"os": "ubuntu", "py": "cp38", "arch": "aarch64"}
- {"os": "ubuntu", "py": "cp39", "arch": "aarch64"}
- {"os": "ubuntu", "py": "cp310", "arch": "aarch64"}
- {"os": "ubuntu", "py": "cp311", "arch": "aarch64"}
+ - {"os": "ubuntu", "py": "cp312", "arch": "aarch64"}
- {"os": "macos", "py": "cp38", "arch": "arm64"}
- {"os": "macos", "py": "cp39", "arch": "arm64"}
- {"os": "macos", "py": "cp310", "arch": "arm64"}
@@ -123,17 +125,20 @@ jobs:
- {"os": "macos", "py": "cp39", "arch": "x86_64"}
- {"os": "macos", "py": "cp310", "arch": "x86_64"}
- {"os": "macos", "py": "cp311", "arch": "x86_64"}
+ - {"os": "macos", "py": "cp312", "arch": "x86_64"}
- {"os": "windows", "py": "cp37", "arch": "x86"}
- {"os": "windows", "py": "cp38", "arch": "x86"}
- {"os": "windows", "py": "cp39", "arch": "x86"}
- {"os": "windows", "py": "cp310", "arch": "x86"}
- {"os": "windows", "py": "cp311", "arch": "x86"}
+ - {"os": "windows", "py": "cp312", "arch": "x86"}
- {"os": "windows", "py": "cp37", "arch": "AMD64"}
- {"os": "windows", "py": "cp38", "arch": "AMD64"}
- {"os": "windows", "py": "cp39", "arch": "AMD64"}
- {"os": "windows", "py": "cp310", "arch": "AMD64"}
- {"os": "windows", "py": "cp311", "arch": "AMD64"}
- # [[[end]]] (checksum: ded8a9f214bf59776562d91ae6828863)
+ - {"os": "windows", "py": "cp312", "arch": "AMD64"}
+ # [[[end]]] (checksum: 5e62f362263935c1e3a21299f8a1b649)
fail-fast: false
steps:
@@ -163,6 +168,7 @@ jobs:
CIBW_BUILD: ${{ matrix.py }}-*
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_ENVIRONMENT: PIP_DISABLE_PIP_VERSION_CHECK=1
+ CIBW_PRERELEASE_PYTHONS: True
CIBW_TEST_COMMAND: python -c "from coverage.tracer import CTracer; print('CTracer OK!')"
run: |
python -m cibuildwheel --output-dir wheelhouse
From 586b1ee42c56e6f41655960300d95df07d588729 Mon Sep 17 00:00:00 2001
From: Ned Batchelder
Date: Sun, 28 May 2023 14:18:19 -0400
Subject: [PATCH 07/10] chore: make upgrade
---
doc/requirements.pip | 6 +++---
requirements/dev.pip | 18 +++++++++---------
requirements/kit.pip | 6 +++---
requirements/light-threads.pip | 2 +-
requirements/lint.pip | 18 +++++++++---------
requirements/mypy.pip | 6 +++---
requirements/pip-tools.pip | 4 ++--
requirements/pip.pip | 4 ++--
requirements/pytest.pip | 6 +++---
requirements/tox.pip | 6 +++---
10 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/doc/requirements.pip b/doc/requirements.pip
index 6cd3a8f82..a1894b64f 100644
--- a/doc/requirements.pip
+++ b/doc/requirements.pip
@@ -56,7 +56,7 @@ pygments==2.15.1
# via sphinx
pytz==2023.3
# via babel
-requests==2.30.0
+requests==2.31.0
# via
# scriv
# sphinx
@@ -76,7 +76,7 @@ sphinx==5.3.0
# sphinxcontrib-spelling
sphinx-autobuild==2021.3.14
# via -r doc/requirements.in
-sphinx-rtd-theme==1.2.0
+sphinx-rtd-theme==1.2.1
# via -r doc/requirements.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
@@ -98,7 +98,7 @@ sphinxcontrib-spelling==8.0.0
# via -r doc/requirements.in
tornado==6.2
# via livereload
-typing-extensions==4.5.0
+typing-extensions==4.6.2
# via importlib-metadata
urllib3==2.0.2
# via requests
diff --git a/requirements/dev.pip b/requirements/dev.pip
index bea4ca351..0cd90a3c4 100644
--- a/requirements/dev.pip
+++ b/requirements/dev.pip
@@ -4,7 +4,7 @@
#
# make upgrade
#
-astroid==2.15.4
+astroid==2.15.5
# via pylint
attrs==23.1.0
# via hypothesis
@@ -12,7 +12,7 @@ bleach==6.0.0
# via readme-renderer
build==0.10.0
# via check-manifest
-cachetools==5.3.0
+cachetools==5.3.1
# via tox
certifi==2023.5.7
# via requests
@@ -33,7 +33,7 @@ dill==0.3.6
# via pylint
distlib==0.3.6
# via virtualenv
-docutils==0.20
+docutils==0.20.1
# via readme-renderer
exceptiongroup==1.1.1
# via
@@ -49,7 +49,7 @@ flaky==3.7.0
# via -r requirements/pytest.in
greenlet==2.0.2
# via -r requirements/dev.in
-hypothesis==6.75.2
+hypothesis==6.75.6
# via -r requirements/pytest.in
idna==3.4
# via requests
@@ -124,13 +124,13 @@ pytest==7.3.1
# via
# -r requirements/pytest.in
# pytest-xdist
-pytest-xdist==3.3.0
+pytest-xdist==3.3.1
# via -r requirements/pytest.in
readme-renderer==37.3
# via
# -r requirements/dev.in
# twine
-requests==2.30.0
+requests==2.31.0
# via
# -r requirements/dev.in
# requests-toolbelt
@@ -156,7 +156,7 @@ tomli==2.0.1
# tox
tomlkit==0.11.8
# via pylint
-tox==4.5.1
+tox==4.5.2
# via
# -r requirements/tox.in
# tox-gh
@@ -166,7 +166,7 @@ twine==4.0.2
# via -r requirements/dev.in
typed-ast==1.5.4
# via astroid
-typing-extensions==4.5.0
+typing-extensions==4.6.2
# via
# astroid
# importlib-metadata
@@ -201,7 +201,7 @@ zipp==3.15.0
# The following packages are considered to be unsafe in a requirements file:
pip==23.1.2
# via -r requirements/pip.in
-setuptools==67.7.2
+setuptools==67.8.0
# via
# -r requirements/pip.in
# check-manifest
diff --git a/requirements/kit.pip b/requirements/kit.pip
index c3491e21a..608c3f79b 100644
--- a/requirements/kit.pip
+++ b/requirements/kit.pip
@@ -14,7 +14,7 @@ build==0.10.0
# via -r requirements/kit.in
certifi==2023.5.7
# via cibuildwheel
-cibuildwheel==2.12.3
+cibuildwheel==2.13.0
# via -r requirements/kit.in
colorama==0.4.6
# via -r requirements/kit.in
@@ -39,7 +39,7 @@ tomli==2.0.1
# build
# cibuildwheel
# pyproject-hooks
-typing-extensions==4.5.0
+typing-extensions==4.6.2
# via
# cibuildwheel
# importlib-metadata
@@ -50,5 +50,5 @@ zipp==3.15.0
# via importlib-metadata
# The following packages are considered to be unsafe in a requirements file:
-setuptools==67.7.2
+setuptools==67.8.0
# via -r requirements/kit.in
diff --git a/requirements/light-threads.pip b/requirements/light-threads.pip
index b28195502..a633004df 100644
--- a/requirements/light-threads.pip
+++ b/requirements/light-threads.pip
@@ -27,7 +27,7 @@ zope-interface==6.0
# via gevent
# The following packages are considered to be unsafe in a requirements file:
-setuptools==67.7.2
+setuptools==67.8.0
# via
# gevent
# zope-event
diff --git a/requirements/lint.pip b/requirements/lint.pip
index 696bb9d78..9ba71d60d 100644
--- a/requirements/lint.pip
+++ b/requirements/lint.pip
@@ -6,7 +6,7 @@
#
alabaster==0.7.13
# via sphinx
-astroid==2.15.4
+astroid==2.15.5
# via pylint
attrs==23.1.0
# via
@@ -18,7 +18,7 @@ bleach==6.0.0
# via readme-renderer
build==0.10.0
# via check-manifest
-cachetools==5.3.0
+cachetools==5.3.1
# via tox
certifi==2023.5.7
# via requests
@@ -67,7 +67,7 @@ flaky==3.7.0
# via -r requirements/pytest.in
greenlet==2.0.2
# via -r requirements/dev.in
-hypothesis==6.75.2
+hypothesis==6.75.6
# via -r requirements/pytest.in
idna==3.4
# via requests
@@ -161,7 +161,7 @@ pytest==7.3.1
# via
# -r requirements/pytest.in
# pytest-xdist
-pytest-xdist==3.3.0
+pytest-xdist==3.3.1
# via -r requirements/pytest.in
pytz==2023.3
# via babel
@@ -169,7 +169,7 @@ readme-renderer==37.3
# via
# -r requirements/dev.in
# twine
-requests==2.30.0
+requests==2.31.0
# via
# -r requirements/dev.in
# requests-toolbelt
@@ -202,7 +202,7 @@ sphinx==5.3.0
# sphinxcontrib-spelling
sphinx-autobuild==2021.3.14
# via -r doc/requirements.in
-sphinx-rtd-theme==1.2.0
+sphinx-rtd-theme==1.2.1
# via -r doc/requirements.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
@@ -235,7 +235,7 @@ tomlkit==0.11.8
# via pylint
tornado==6.2
# via livereload
-tox==4.5.1
+tox==4.5.2
# via
# -r requirements/tox.in
# tox-gh
@@ -245,7 +245,7 @@ twine==4.0.2
# via -r requirements/dev.in
typed-ast==1.5.4
# via astroid
-typing-extensions==4.5.0
+typing-extensions==4.6.2
# via
# astroid
# importlib-metadata
@@ -280,7 +280,7 @@ zipp==3.15.0
# The following packages are considered to be unsafe in a requirements file:
pip==23.1.2
# via -r requirements/pip.in
-setuptools==67.7.2
+setuptools==67.8.0
# via
# -r requirements/pip.in
# check-manifest
diff --git a/requirements/mypy.pip b/requirements/mypy.pip
index 42ba1240c..f3146a23e 100644
--- a/requirements/mypy.pip
+++ b/requirements/mypy.pip
@@ -16,7 +16,7 @@ execnet==1.9.0
# via pytest-xdist
flaky==3.7.0
# via -r requirements/pytest.in
-hypothesis==6.75.2
+hypothesis==6.75.6
# via -r requirements/pytest.in
importlib-metadata==6.6.0
# via
@@ -37,7 +37,7 @@ pytest==7.3.1
# via
# -r requirements/pytest.in
# pytest-xdist
-pytest-xdist==3.3.0
+pytest-xdist==3.3.1
# via -r requirements/pytest.in
sortedcontainers==2.4.0
# via hypothesis
@@ -47,7 +47,7 @@ tomli==2.0.1
# pytest
typed-ast==1.5.4
# via mypy
-typing-extensions==4.5.0
+typing-extensions==4.6.2
# via
# importlib-metadata
# mypy
diff --git a/requirements/pip-tools.pip b/requirements/pip-tools.pip
index 80375e0b9..b720cb51f 100644
--- a/requirements/pip-tools.pip
+++ b/requirements/pip-tools.pip
@@ -22,7 +22,7 @@ tomli==2.0.1
# via
# build
# pyproject-hooks
-typing-extensions==4.5.0
+typing-extensions==4.6.2
# via importlib-metadata
wheel==0.40.0
# via pip-tools
@@ -32,5 +32,5 @@ zipp==3.15.0
# The following packages are considered to be unsafe in a requirements file:
pip==23.1.2
# via pip-tools
-setuptools==67.7.2
+setuptools==67.8.0
# via pip-tools
diff --git a/requirements/pip.pip b/requirements/pip.pip
index 52dce8f4f..0cc81df43 100644
--- a/requirements/pip.pip
+++ b/requirements/pip.pip
@@ -12,7 +12,7 @@ importlib-metadata==6.6.0
# via virtualenv
platformdirs==3.5.1
# via virtualenv
-typing-extensions==4.5.0
+typing-extensions==4.6.2
# via
# importlib-metadata
# platformdirs
@@ -24,5 +24,5 @@ zipp==3.15.0
# The following packages are considered to be unsafe in a requirements file:
pip==23.1.2
# via -r requirements/pip.in
-setuptools==67.7.2
+setuptools==67.8.0
# via -r requirements/pip.in
diff --git a/requirements/pytest.pip b/requirements/pytest.pip
index 466ea5605..d34f3d3d7 100644
--- a/requirements/pytest.pip
+++ b/requirements/pytest.pip
@@ -16,7 +16,7 @@ execnet==1.9.0
# via pytest-xdist
flaky==3.7.0
# via -r requirements/pytest.in
-hypothesis==6.75.2
+hypothesis==6.75.6
# via -r requirements/pytest.in
importlib-metadata==6.6.0
# via
@@ -33,13 +33,13 @@ pytest==7.3.1
# via
# -r requirements/pytest.in
# pytest-xdist
-pytest-xdist==3.3.0
+pytest-xdist==3.3.1
# via -r requirements/pytest.in
sortedcontainers==2.4.0
# via hypothesis
tomli==2.0.1
# via pytest
-typing-extensions==4.5.0
+typing-extensions==4.6.2
# via importlib-metadata
zipp==3.15.0
# via importlib-metadata
diff --git a/requirements/tox.pip b/requirements/tox.pip
index 2c0ddfbe2..759f13cef 100644
--- a/requirements/tox.pip
+++ b/requirements/tox.pip
@@ -4,7 +4,7 @@
#
# make upgrade
#
-cachetools==5.3.0
+cachetools==5.3.1
# via tox
chardet==5.1.0
# via tox
@@ -39,13 +39,13 @@ tomli==2.0.1
# via
# pyproject-api
# tox
-tox==4.5.1
+tox==4.5.2
# via
# -r requirements/tox.in
# tox-gh
tox-gh==1.0.0
# via -r requirements/tox.in
-typing-extensions==4.5.0
+typing-extensions==4.6.2
# via
# importlib-metadata
# platformdirs
From 6df9ee56ae8d607f7c1805fc7818273f88391274 Mon Sep 17 00:00:00 2001
From: Anders Kaseorg
Date: Mon, 29 May 2023 09:53:38 -0700
Subject: [PATCH 08/10] fix: revert "Map also empty dictionaries to file"
(#1629)
* Revert "Map also empty dictionaries to file"
This reverts commit f54428fb8dfe98aacecc0b66e3c1ca2071ce1834 (#1347),
which was a big regression in performance and file sizes when using
dynamic_context, and is no longer needed for #972 as of
4cc32922685c6971275f522304b3754ad1a233c1 (#1538).
Fixes #1586.
Signed-off-by: Anders Kaseorg
* docs: details of the fix in pull #1629, fixing #1586.
---------
Signed-off-by: Anders Kaseorg
Co-authored-by: Ned Batchelder
---
CHANGES.rst | 9 ++++++++-
CONTRIBUTORS.txt | 1 +
coverage/collector.py | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/CHANGES.rst b/CHANGES.rst
index 2f9dd0e55..938f10da1 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -20,7 +20,14 @@ development at the same time, such as 4.5.x and 5.0.
Unreleased
----------
-Nothing yet.
+- Fix: reverted a `change from 6.4.3 `_ that helped Cython, but
+ also increased the size of data files when using dynamic contexts, as
+ described in the now-fixed `issue 1586`_. The problem is now avoided due to a
+ recent change (`issue 1538`_). Thanks to `Anders Kaseorg `_
+ and David Szotten for persisting with problem reports and detailed diagnoses.
+
+.. _issue 1586: https://github.com/nedbat/coveragepy/issues/1586
+.. _pull 1629: https://github.com/nedbat/coveragepy/pull/1629
.. scriv-start-here
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index 91f914ba3..c3dfef428 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -16,6 +16,7 @@ Alexander Todorov
Alexander Walters
Alpha Chen
Ammar Askar
+Anders Kaseorg
Andrew Hoos
Anthony Sottile
Arcadiy Ivanov
diff --git a/coverage/collector.py b/coverage/collector.py
index 2f8c17520..ca7f5d94b 100644
--- a/coverage/collector.py
+++ b/coverage/collector.py
@@ -456,7 +456,7 @@ def mapped_file_dict(self, d: Mapping[str, T]) -> Dict[str, T]:
assert isinstance(runtime_err, Exception)
raise runtime_err
- return {self.cached_mapped_file(k): v for k, v in items}
+ return {self.cached_mapped_file(k): v for k, v in items if v}
def plugin_was_disabled(self, plugin: CoveragePlugin) -> None:
"""Record that `plugin` was disabled during the run."""
From 51b3e824ca54410bbd21a201b4b0ebd3b4ea70bf Mon Sep 17 00:00:00 2001
From: Ned Batchelder
Date: Mon, 29 May 2023 15:26:00 -0400
Subject: [PATCH 09/10] docs: prep for 7.2.7
---
CHANGES.rst | 12 ++++++++----
coverage/version.py | 4 ++--
doc/conf.py | 6 +++---
3 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/CHANGES.rst b/CHANGES.rst
index 938f10da1..4b567d6dc 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -17,8 +17,12 @@ development at the same time, such as 4.5.x and 5.0.
.. Version 9.8.1 — 2027-07-27
.. --------------------------
-Unreleased
-----------
+.. scriv-start-here
+
+.. _changes_7-2-7:
+
+Version 7.2.7 — 2023-05-29
+--------------------------
- Fix: reverted a `change from 6.4.3 `_ that helped Cython, but
also increased the size of data files when using dynamic contexts, as
@@ -26,12 +30,12 @@ Unreleased
recent change (`issue 1538`_). Thanks to `Anders Kaseorg `_
and David Szotten for persisting with problem reports and detailed diagnoses.
+- Wheels are now provided for CPython 3.12.
+
.. _issue 1586: https://github.com/nedbat/coveragepy/issues/1586
.. _pull 1629: https://github.com/nedbat/coveragepy/pull/1629
-.. scriv-start-here
-
.. _changes_7-2-6:
Version 7.2.6 — 2023-05-23
diff --git a/coverage/version.py b/coverage/version.py
index 4cc389866..c48974967 100644
--- a/coverage/version.py
+++ b/coverage/version.py
@@ -8,8 +8,8 @@
# version_info: same semantics as sys.version_info.
# _dev: the .devN suffix if any.
-version_info = (7, 2, 7, "alpha", 0)
-_dev = 1
+version_info = (7, 2, 7, "final", 0)
+_dev = 0
def _make_version(
diff --git a/doc/conf.py b/doc/conf.py
index 2bcdf1fb8..bee8c14b2 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -66,11 +66,11 @@
# @@@ editable
copyright = "2009–2023, Ned Batchelder" # pylint: disable=redefined-builtin
# The short X.Y.Z version.
-version = "7.2.6"
+version = "7.2.7"
# The full version, including alpha/beta/rc tags.
-release = "7.2.6"
+release = "7.2.7"
# The date of release, in "monthname day, year" format.
-release_date = "May 23, 2023"
+release_date = "May 29, 2023"
# @@@ end
rst_epilog = """
From 27cabc2a7fd7c3cac7ce1388a3afae1e9430920e Mon Sep 17 00:00:00 2001
From: Ned Batchelder
Date: Mon, 29 May 2023 15:29:46 -0400
Subject: [PATCH 10/10] docs: sample HTML for 7.2.7
---
doc/sample_html/d_7b071bdc2a35fa80___init___py.html | 8 ++++----
doc/sample_html/d_7b071bdc2a35fa80___main___py.html | 8 ++++----
doc/sample_html/d_7b071bdc2a35fa80_cogapp_py.html | 8 ++++----
doc/sample_html/d_7b071bdc2a35fa80_makefiles_py.html | 8 ++++----
doc/sample_html/d_7b071bdc2a35fa80_test_cogapp_py.html | 8 ++++----
doc/sample_html/d_7b071bdc2a35fa80_test_makefiles_py.html | 8 ++++----
.../d_7b071bdc2a35fa80_test_whiteutils_py.html | 8 ++++----
doc/sample_html/d_7b071bdc2a35fa80_whiteutils_py.html | 8 ++++----
doc/sample_html/index.html | 8 ++++----
doc/sample_html/status.json | 2 +-
10 files changed, 37 insertions(+), 37 deletions(-)
diff --git a/doc/sample_html/d_7b071bdc2a35fa80___init___py.html b/doc/sample_html/d_7b071bdc2a35fa80___init___py.html
index af4b1d142..c5ac367ec 100644
--- a/doc/sample_html/d_7b071bdc2a35fa80___init___py.html
+++ b/doc/sample_html/d_7b071bdc2a35fa80___init___py.html
@@ -66,8 +66,8 @@