summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-10-05 21:19:10 -0400
committerNed Batchelder <ned@nedbatchelder.com>2013-10-05 21:19:10 -0400
commit7a28bb348801a9569ee86e0dbcefc49ef3bc14eb (patch)
treebe9bcededc55a33bbc05a309de954991629a2973
parent9bb2dc364c54ee72d02993f534532fce524bcdef (diff)
downloadpython-coveragepy-git-7a28bb348801a9569ee86e0dbcefc49ef3bc14eb.tar.gz
Go to 3.7
-rw-r--r--CHANGES.txt8
-rw-r--r--coverage/version.py2
-rw-r--r--doc/changes.rst57
-rw-r--r--doc/conf.py4
-rw-r--r--doc/index.rst9
-rw-r--r--doc/install.rst5
-rw-r--r--setup.py5
7 files changed, 77 insertions, 13 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index c7e25b28..bf54d751 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,8 +2,8 @@
Change history for Coverage.py
------------------------------
-3.6.1
------
+3.7b1 --- 6 October 2013
+------------------------
- Added the ``--debug`` switch to ``coverage run``. It accepts a list of
options indicating the type of internal activity to log to stderr.
@@ -28,8 +28,8 @@ Change history for Coverage.py
``~build/src``, for example), and with environment variable expansion
(``build/$BUILDNUM/src``).
-- Trying to create an XML report with the nose plugin, but no files to report
- on, would cause a ZeroDivideError, but no longer does, fixing `issue 250`_.
+- Trying to create an XML report with no files to report on, would cause a
+ ZeroDivideError, but no longer does, fixing `issue 250`_.
- When running a threaded program under the Python tracer, coverage no longer
issues a spurious warning about the trace function changing: "Trace function
diff --git a/coverage/version.py b/coverage/version.py
index db4bca5d..3ea549e9 100644
--- a/coverage/version.py
+++ b/coverage/version.py
@@ -1,7 +1,7 @@
"""The version and URL for coverage.py"""
# This file is exec'ed in setup.py, don't import anything!
-__version__ = "3.6.1a1" # see detailed history in CHANGES.txt
+__version__ = "3.7b1" # 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 f0fb2ded..4a6c6add 100644
--- a/doc/changes.rst
+++ b/doc/changes.rst
@@ -25,6 +25,7 @@ Major change history for coverage.py
:history: 20121129T060100, updated for 3.6b1.
:history: 20121223T180600, updated for 3.6b2.
:history: 20130105T173500, updated for 3.6
+:history: 20131005T205700, updated for 3.7
These are the major changes for coverage.py. For a more complete change
@@ -33,6 +34,62 @@ history, see the `CHANGES.txt`_ file in the source tree.
.. _CHANGES.txt: http://bitbucket.org/ned/coveragepy/src/tip/CHANGES.txt
+Version 3.7b1 --- 6 October 2013
+--------------------------------
+
+- Added the ``--debug`` switch to ``coverage run``. It accepts a list of
+ options indicating the type of internal activity to log to stderr.
+
+- Improved the branch coverage facility, fixing `issue 92`_ and `issue 175`_.
+
+- Running code with ``coverage run -m`` now behaves more like Python does,
+ setting sys.path properly, which fixes `issue 207`_ and `issue 242`_.
+
+- Coverage can now run .pyc files directly, closing `issue 264`_.
+
+- Coverage properly supports .pyw files, fixing `issue 261`_.
+
+- Omitting files within a tree specified with the ``source`` option would
+ cause them to be incorrectly marked as unexecuted, as described in
+ `issue 218`_. This is now fixed.
+
+- When specifying paths to alias together during data combining, you can now
+ specify relative paths, fixing `issue 267`_.
+
+- Most file paths can now be specified with username expansion (``~/src``, or
+ ``~build/src``, for example), and with environment variable expansion
+ (``build/$BUILDNUM/src``).
+
+- Trying to create an XML report with no files to report on, would cause a
+ ZeroDivideError, but no longer does, fixing `issue 250`_.
+
+- When running a threaded program under the Python tracer, coverage no longer
+ issues a spurious warning about the trace function changing: "Trace function
+ changed, measurement is likely wrong: None." This fixes `issue 164`_.
+
+- Static files necessary for HTML reports are found in system-installed places,
+ to ease OS-level packaging of coverage.py. Closes `issue 259`_.
+
+- Source files with encoding declarations, but a blank first line, were not
+ decoded properly. Now they are. Thanks, Roger Hu.
+
+- The source kit now includes the ``__main__.py`` file in the root coverage
+ directory, fixing `issue 255`_.
+
+.. _issue 92: https://bitbucket.org/ned/coveragepy/issue/92/finally-clauses-arent-treated-properly-in
+.. _issue 164: https://bitbucket.org/ned/coveragepy/issue/164/trace-function-changed-warning-when-using
+.. _issue 175: https://bitbucket.org/ned/coveragepy/issue/175/branch-coverage-gets-confused-in-certain
+.. _issue 207: https://bitbucket.org/ned/coveragepy/issue/207/run-m-cannot-find-module-or-package-in
+.. _issue 242: https://bitbucket.org/ned/coveragepy/issue/242/running-a-two-level-package-doesnt-work
+.. _issue 218: https://bitbucket.org/ned/coveragepy/issue/218/run-command-does-not-respect-the-omit-flag
+.. _issue 250: https://bitbucket.org/ned/coveragepy/issue/250/uncaught-zerodivisionerror-when-generating
+.. _issue 255: https://bitbucket.org/ned/coveragepy/issue/255/directory-level-__main__py-not-included-in
+.. _issue 259: https://bitbucket.org/ned/coveragepy/issue/259/allow-use-of-system-installed-third-party
+.. _issue 261: https://bitbucket.org/ned/coveragepy/issue/261/pyw-files-arent-reported-properly
+.. _issue 264: https://bitbucket.org/ned/coveragepy/issue/264/coverage-wont-run-pyc-files
+.. _issue 267: https://bitbucket.org/ned/coveragepy/issue/267/relative-path-aliases-dont-work
+
+
Version 3.6 --- 5 January 2013
------------------------------
diff --git a/doc/conf.py b/doc/conf.py
index e8cd64c6..052bd8ed 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -47,9 +47,9 @@ copyright = u'2009\N{EN DASH}2013, Ned Batchelder'
# built documents.
#
# The short X.Y version.
-version = '3.6'
+version = '3.7'
# The full version, including alpha/beta/rc tags.
-release = '3.6'
+release = '3.7'
# 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 cb8d885b..657e3d38 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -29,6 +29,7 @@ coverage.py
:history: 20121223T180600, Updated for 3.6b2.
:history: 20121229T112300, Updated for 3.6b3.
:history: 20130105T174000, Updated for 3.6
+:history: 20131005T210000, Updated for 3.7
Coverage.py is a tool for measuring code coverage of Python programs. It
@@ -41,8 +42,8 @@ not.
.. ifconfig:: not prerelease
- The latest version is coverage.py 3.6, released 5 January 2013.
- It is supported on Python versions 2.3 through 3.3, and PyPy 1.8.
+ The latest version is coverage.py 3.7, released 6 October 2013.
+ It is supported on Python versions 2.3 through 3.4, and PyPy 2.1.
.. ifconfig:: prerelease
@@ -134,10 +135,12 @@ coverage.py or get help using it on the `Testing In Python`_ mailing list.
.. _Testing In Python: http://lists.idyll.org/listinfo/testing-in-python
Bug reports are gladly accepted at the `Bitbucket issue tracker`_.
-Bitbucket also hosts the `code repository`_.
+Bitbucket also hosts the `code repository`_. There is a `mirrored repo`_ on
+Github.
.. _Bitbucket issue tracker: http://bitbucket.org/ned/coveragepy/issues
.. _code repository: http://bitbucket.org/ned/coveragepy
+.. _mirrored repo: https://github.com/nedbat/coveragepy
`I can be reached`_ in a number of ways. I'm happy to answer questions about
using coverage.py.
diff --git a/doc/install.rst b/doc/install.rst
index 0a98e12b..2e807fa2 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -18,6 +18,7 @@ Installation
:history: 20121223T180800, updated for 3.6b2.
:history: 20121229T112400, updated for 3.6b3.
:history: 20130105T174400, updated for 3.6.
+:history: 20131005T210600, updated for 3.7.
.. highlight:: console
@@ -73,9 +74,9 @@ If all went well, you should be able to open a command prompt, and see coverage
installed properly::
$ coverage --version
- Coverage.py, version 3.6. http://nedbatchelder.com/code/coverage
+ Coverage.py, version 3.7. http://nedbatchelder.com/code/coverage
You can also invoke coverage as a module::
$ python -m coverage --version
- Coverage.py, version 3.6. http://nedbatchelder.com/code/coverage
+ Coverage.py, version 3.7. http://nedbatchelder.com/code/coverage
diff --git a/setup.py b/setup.py
index 0b48843b..f0e83e67 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,10 @@ library to determine which lines are executable, and which have been executed.
Coverage.py runs on Pythons 2.3 through 3.3, and PyPy 1.9.
Documentation is at `nedbatchelder.com <%s>`_. Code repository and issue
-tracker are at `bitbucket.org <http://bitbucket.org/ned/coveragepy>`_.
+tracker are on `Bitbucket <http://bitbucket.org/ned/coveragepy>`_, with a
+mirrored repo on `Github <https://github.com/nedbat/coveragepy>`_.
+
+New in 3.7: ``--debug``, and 12 bugs closed.
New in 3.6: ``--fail-under``, and >20 bugs closed.