summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-11-04 05:19:30 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-11-04 05:19:30 -0500
commit65b3bfd0877b132acb1dc9ae060941853b88c9e2 (patch)
tree2ca2c2c8ca69f95c33839a845c30485cf34e9674
parentdbe67cc4843107459ef7b9466a66456533fad509 (diff)
downloadpython-coveragepy-git-65b3bfd0877b132acb1dc9ae060941853b88c9e2.tar.gz
Update files for 4.0.2
-rw-r--r--CHANGES.rst4
-rw-r--r--coverage/version.py2
-rw-r--r--doc/changes.rst22
-rw-r--r--doc/conf.py2
-rw-r--r--doc/index.rst3
-rw-r--r--howto.txt7
6 files changed, 33 insertions, 7 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 3653e36b..082fda6d 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -6,8 +6,8 @@ Change history for Coverage.py
==============================
-Version 4.0.2
--------------
+Version 4.0.2 --- 4 November 2015
+---------------------------------
- More work on supporting unusually encoded source. Fixed `issue 431`_.
diff --git a/coverage/version.py b/coverage/version.py
index d1da40bb..8f44be0d 100644
--- a/coverage/version.py
+++ b/coverage/version.py
@@ -5,7 +5,7 @@
# This file is exec'ed in setup.py, don't import anything!
# Same semantics as sys.version_info.
-version_info = (4, 0, 2, 'alpha', 1)
+version_info = (4, 0, 2, 'final', 0)
def _make_version(major, minor, micro, releaselevel, serial):
diff --git a/doc/changes.rst b/doc/changes.rst
index 5731d3c1..895a5f3a 100644
--- a/doc/changes.rst
+++ b/doc/changes.rst
@@ -44,6 +44,28 @@ history, see the `CHANGES.rst`_ file in the source tree.
.. module:: coverage
+
+.. _changes_402:
+
+Version 4.0.2 --- 4 November 2015
+---------------------------------
+
+- More work on supporting unusually encoded source. Fixed `issue 431`_.
+
+- Files or directories with non-ASCII characters are now handled properly,
+ fixing `issue 432`_.
+
+- Setting a trace function with sys.settrace was broken by a change in 4.0.1,
+ as reported in `issue 436`_. This is now fixed.
+
+- Officially support PyPy 4.0, which required no changes, just updates to the
+ docs.
+
+.. _issue 431: https://bitbucket.org/ned/coveragepy/issues/431/couldnt-parse-python-file-with-cp1252
+.. _issue 432: https://bitbucket.org/ned/coveragepy/issues/432/path-with-unicode-characters-various
+.. _issue 436: https://bitbucket.org/ned/coveragepy/issues/436/disabled-coverage-ctracer-may-rise-from
+
+
.. _changes_401:
Version 4.0.1 --- 13 October 2015
diff --git a/doc/conf.py b/doc/conf.py
index be00403a..f6cbf663 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -58,7 +58,7 @@ copyright = u'2009\N{EN DASH}2015, Ned Batchelder'
# The short X.Y version.
version = '4.0'
# The full version, including alpha/beta/rc tags.
-release = '4.0.1'
+release = '4.0.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/doc/index.rst b/doc/index.rst
index 6c0f7aae..119fa7a3 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -41,6 +41,7 @@ Coverage.py
.. :history: 20150822T092900, Updated for 4.0b2
.. :history: 20150918T072700, Updated for 4.0
.. :history: 20151013T103200, Updated for 4.0.1
+.. :history: 20151104T050900, updated for 4.0.2
Coverage.py is a tool for measuring code coverage of Python programs. It
@@ -53,7 +54,7 @@ not.
.. ifconfig:: not prerelease
- The latest version is coverage.py 4.0.1, released 13 October 2015.
+ The latest version is coverage.py 4.0.2, released 4 November 2015.
It is supported on:
* Python versions 2.6, 2.7, 3.3, 3.4, and 3.5
diff --git a/howto.txt b/howto.txt
index 225cf875..750ce3aa 100644
--- a/howto.txt
+++ b/howto.txt
@@ -6,7 +6,10 @@
- Mac
- Pythons 2.6, 2.7, 3.3, 3.4, 3.5
- Version number in coverage/version.py
- - 3.1a1, 3.1b1, 3.1c1, 3.1
+ version_info = (4, 0, 2, 'alpha', 1)
+ version_info = (4, 0, 2, 'beta', 1)
+ version_info = (4, 0, 2, 'candidate', 1)
+ version_info = (4, 0, 2, 'final', 0)
- Python version number in classifiers in setup.py
- Copyright date in NOTICE.txt
- Update CHANGES.rst, including release date.
@@ -16,7 +19,7 @@
- Version and date in doc/index.rst
- Version and copyright date in doc/conf.py
- Don't forget the man page: doc/python-coverage.1.txt
- - done with changes to source files, check them in.
+ - Done with changes to source files, check them in.
- Generate new sample_html to get the latest, incl footer version number:
pip install -e .
cd ~/cog/trunk