diff --git a/CHANGES.rst b/CHANGES.rst index fa83063d5..0ab2fa01a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -17,8 +17,10 @@ development at the same time, such as 4.5.x and 5.0. .. Version 9.8.1 — 2027-07-27 .. -------------------------- -Unreleased ----------- +.. _changes_7-0-2: + +Version 7.0.2 — 2023-01-02 +-------------------------- - Fix: when using the ``[run] relative_files = True`` setting, a relative ``[paths]`` pattern was still being made absolute. This is now fixed, @@ -26,22 +28,23 @@ Unreleased - Fix: if Python doesn't provide tomllib, then TOML configuration files can only be read if coverage.py is installed with the ``[toml]`` extra. - Coverage.py will raise an error if toml support is not installed when it sees + Coverage.py will raise an error if TOML support is not installed when it sees your settings are in a .toml file. But it didn't understand that - ``[tools.coverage]`` was a valid section header, so the error wasn't - reported, and settings were silently ignored. This is now fixed, closing - `issue 1516`_. + ``[tools.coverage]`` was a valid section header, so the error wasn't reported + if you used that header, and settings were silently ignored. This is now + fixed, closing `issue 1516`_. - Fix: adjusted how decorators are traced on PyPy 7.3.10, fixing `issue 1515`_. - Fix: the ``coverage lcov`` report did not properly implement the ``--fail-under=MIN`` option. This has been fixed. -- Refactor: a number of refactorings internally due to adding type annotations. +- Refactor: added many type annotations, including a number of refactorings. This should not affect outward behavior, but they were a bit invasive in some - places. + places, so keep your eyes peeled for oddities. -- Remove vestigial and long-untested support for Jython and IronPython. +- Refactor: removed the vestigial and long untested support for Jython and + IronPython. .. _issue 1515: https://github.com/nedbat/coveragepy/issues/1515 .. _issue 1516: https://github.com/nedbat/coveragepy/issues/1516 diff --git a/NOTICE.txt b/NOTICE.txt index 4e589c8be..68810cd4e 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,5 +1,5 @@ Copyright 2001 Gareth Rees. All rights reserved. -Copyright 2004-2022 Ned Batchelder. All rights reserved. +Copyright 2004-2023 Ned Batchelder. All rights reserved. Except where noted otherwise, this software is licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in diff --git a/README.rst b/README.rst index cf97e3c97..1ca0210db 100644 --- a/README.rst +++ b/README.rst @@ -29,7 +29,7 @@ Coverage.py runs on these versions of Python: .. PYVERSIONS * CPython 3.7 through 3.12.0a3 -* PyPy3 7.3.10. +* PyPy3 7.3.11. Documentation is on `Read the Docs`_. Code repository and issue tracker are on `GitHub`_. diff --git a/coverage/version.py b/coverage/version.py index 6fd9ec533..607a87fff 100644 --- a/coverage/version.py +++ b/coverage/version.py @@ -6,8 +6,8 @@ # version_info: same semantics as sys.version_info. # _dev: the .devN suffix if any. -version_info = (7, 0, 2, "alpha", 0) -_dev = 1 +version_info = (7, 0, 2, "final", 0) +_dev = 0 def _make_version( diff --git a/doc/conf.py b/doc/conf.py index 7423fa156..893de46da 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -63,13 +63,13 @@ # built documents. # @@@ editable -copyright = "2009–2022, Ned Batchelder" # pylint: disable=redefined-builtin +copyright = "2009–2023, Ned Batchelder" # pylint: disable=redefined-builtin # The short X.Y.Z version. -version = "7.0.1" +version = "7.0.2" # The full version, including alpha/beta/rc tags. -release = "7.0.1" +release = "7.0.2" # The date of release, in "monthname day, year" format. -release_date = "December 23, 2022" +release_date = "January 2, 2023" # @@@ end rst_epilog = """ diff --git a/doc/index.rst b/doc/index.rst index 4fcfc78be..47fe4f1f0 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -19,7 +19,7 @@ supported on: .. PYVERSIONS * Python versions 3.7 through 3.12.0a3. -* PyPy3 7.3.10. +* PyPy3 7.3.11. .. ifconfig:: prerelease