diff options
-rw-r--r-- | CHANGES.txt | 3 | ||||
-rw-r--r-- | coverage/__init__.py | 2 | ||||
-rw-r--r-- | doc/changes.rst | 40 | ||||
-rw-r--r-- | doc/conf.py | 2 | ||||
-rw-r--r-- | doc/index.rst | 3 | ||||
-rw-r--r-- | doc/install.rst | 3 |
6 files changed, 49 insertions, 4 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 0ca825f2..1caa7ba3 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -3,6 +3,9 @@ Change history for Coverage.py ------------------------------ +Version 3.5.1 --- 23 September 2011 +----------------------------------- + - The ``[paths]`` feature unfortunately didn't work in real world situations where you wanted to, you know, report on the combined data. Now all paths stored in the combined file are canonicalized properly. diff --git a/coverage/__init__.py b/coverage/__init__.py index dc54e08a..c6a2cf82 100644 --- a/coverage/__init__.py +++ b/coverage/__init__.py @@ -5,7 +5,7 @@ http://nedbatchelder.com/code/coverage """ -__version__ = "3.5.1b2" # see detailed history in CHANGES.txt +__version__ = "3.5.1" # see detailed history in CHANGES.txt __url__ = "http://nedbatchelder.com/code/coverage" if max(__version__).isalpha(): diff --git a/doc/changes.rst b/doc/changes.rst index 45e7a75c..b16a1dd3 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -18,6 +18,7 @@ Major change history for coverage.py :history: 20100919T163400, updated for 3.4 release. :history: 20110604T214100, updated for 3.5b1 :history: 20110629T082200, updated for 3.5 +:history: 20110923T081600, updated for 3.5.1 These are the major changes for coverage.py. For a more complete change @@ -26,6 +27,45 @@ history, see the `CHANGES.txt`_ file in the source tree. .. _CHANGES.txt: http://bitbucket.org/ned/coveragepy/src/tip/CHANGES.txt +Version 3.5.1 --- 23 September 2011 +----------------------------------- + +- When combining data files from parallel runs, you can now instruct coverage + about which directories are equivalent on different machines. A ``[paths]`` + section in the configuration file lists paths that are to be considered + equivalent. Finishes `issue 17`_. + +- for-else constructs are understood better, and don't cause erroneous partial + branch warnings. Fixes `issue 122`_. + +- Branch coverage for ``with`` statements is improved, fixing `issue 128`_. + +- The number of partial branches reported on the HTML summary page was + different than the number reported on the individual file pages. This is + now fixed. + +- An explicit include directive to measure files in the Python installation + wouldn't work because of the standard library exclusion. Now the include + directive takes precendence, and the files will be measured. Fixes + `issue 138`_. + +- The HTML report now handles Unicode characters in Python source files + properly. This fixes `issue 124`_ and `issue 144`_. Thanks, Devin + Jeanpierre. + +- In order to help the core developers measure the test coverage of the + standard library, Brandon Rhodes devised an aggressive hack to trick Python + into running some coverage code before anything else in the process. + See the coverage/fullcoverage directory if you are interested. + +.. _issue 17: http://bitbucket.org/ned/coveragepy/issue/17/support-combining-coverage-data-from +.. _issue 122: http://bitbucket.org/ned/coveragepy/issue/122/for-else-always-reports-missing-branch +.. _issue 124: http://bitbucket.org/ned/coveragepy/issue/124/no-arbitrary-unicode-in-html-reports-in +.. _issue 128: http://bitbucket.org/ned/coveragepy/issue/128/branch-coverage-of-with-statement-in-27 +.. _issue 138: http://bitbucket.org/ned/coveragepy/issue/138/include-should-take-precedence-over-is +.. _issue 144: http://bitbucket.org/ned/coveragepy/issue/144/failure-generating-html-output-for + + Version 3.5 --- 29 June 2011 ---------------------------- diff --git a/doc/conf.py b/doc/conf.py index c86615ab..679c5058 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -49,7 +49,7 @@ copyright = u'2009-2011, Ned Batchelder' # The short X.Y version.
version = '3.5.1'
# The full version, including alpha/beta/rc tags.
-release = '3.5.1b2'
+release = '3.5.1'
# 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 6d34926c..bf8d9931 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -20,6 +20,7 @@ coverage.py :history: 20110604T114800, update for 3.5b1 :history: 20110629T082300, update for 3.5 :history: 20110827T221800, update for 3.5.1b1 +:history: 20110923T081800, update for 3.5.1 Coverage.py is a tool for measuring code coverage of Python programs. It @@ -32,7 +33,7 @@ not. .. ifconfig:: not prerelease - The latest version is coverage.py 3.5, released 29 June 2011. + The latest version is coverage.py 3.5.1, released 23 September 2011. It is supported on Python versions 2.3 through 3.2. .. ifconfig:: prerelease diff --git a/doc/install.rst b/doc/install.rst index 8807e4ba..6d175506 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -9,6 +9,7 @@ Installation :history: 20100906T134800, updated for 3.4b2. :history: 20110604T213400, updated for 3.5b1. :history: 20110629T082400, updated for 3.5. +:history: 20110923T081900, updated for 3.5.1. .. highlight:: console @@ -61,5 +62,5 @@ If all went well, you should be able to open a command prompt, and see coverage installed properly:: $ coverage --version - Coverage.py, version 3.5. http://nedbatchelder.com/code/coverage + Coverage.py, version 3.5.1. http://nedbatchelder.com/code/coverage |