Skip to content

Commit

Permalink
docs: prep for 7.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Jan 2, 2023
1 parent d08e6d0 commit dbbd5b7
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 18 deletions.
21 changes: 12 additions & 9 deletions CHANGES.rst
Expand Up @@ -17,31 +17,34 @@ 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,
closing `issue 1519`_.

- 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -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`_.
Expand Down
4 changes: 2 additions & 2 deletions coverage/version.py
Expand Up @@ -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(
Expand Down
8 changes: 4 additions & 4 deletions doc/conf.py
Expand Up @@ -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 = """
Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Expand Up @@ -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

Expand Down

0 comments on commit dbbd5b7

Please sign in to comment.