pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-coverage py-coverage: updated to 5.0.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f2c2af010c9
branches:  trunk
changeset: 410626:8f2c2af010c9
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jan 26 09:22:31 2020 +0000

description:
py-coverage: updated to 5.0.3

Version 5.0.3:

- A performance improvement in 5.0.2 didn't work for test suites that changed
  directory before combining data, causing "Couldn't use data file: no such
  table: meta" errors.  This is now fixed.

- Coverage could fail to run your program with some form of "ModuleNotFound" or
  "ImportError" trying to import from the current directory. This would happen
  if coverage had been packaged into a zip file (for example, on Windows), or
  was found indirectly (for example, by pyenv-virtualenv).  A number of
  different scenarios were described in `issue 862`_ which is now fixed.  Huge
  thanks to Agbonze O. Jeremiah for reporting it, and Alexander Waters and
  George-Cristian B?rzan for protracted debugging sessions.

- Added the "premain" debug option.

- Added SQLite compile-time options to the "debug sys" output.


Version 5.0.2:

- Programs that used multiprocessing and changed directories would fail under
  coverage.  This is now fixed.  A side effect is that debug
  information about the config files read now shows absolute paths to the
  files.

- When running programs as modules (``coverage run -m``) with ``--source``,
  some measured modules were imported before coverage starts.  This resulted in
  unwanted warnings ("Already imported a file that will be measured") and a
  reduction in coverage totals.  This is now fixed.

- If no data was collected, an exception about "No data to report" could happen
  instead of a 0% report being created.  This is now fixed.

- The handling of source files with non-encodable file names has changed.
  Previously, if a file name could not be encoded as UTF-8, an error occurred,
  as described in `issue 891`_.  Now, those files will not be measured, since
  their data would not be recordable.

- A new warning ("dynamic-conflict") is issued if two mechanisms are trying to
  change the dynamic context.

- ``coverage run --debug=sys`` would fail with an AttributeError. This is now
  fixed.

diffstat:

 devel/py-coverage/Makefile |   5 +++--
 devel/py-coverage/distinfo |  10 +++++-----
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r 5cf7c67faf14 -r 8f2c2af010c9 devel/py-coverage/Makefile
--- a/devel/py-coverage/Makefile        Sun Jan 26 09:05:56 2020 +0000
+++ b/devel/py-coverage/Makefile        Sun Jan 26 09:22:31 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2020/01/03 13:17:52 adam Exp $
+# $NetBSD: Makefile,v 1.21 2020/01/26 09:22:31 adam Exp $
 
-DISTNAME=      coverage-5.0.1
+DISTNAME=      coverage-5.0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/coverage/}
@@ -11,6 +11,7 @@
 LICENSE=       modified-bsd
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.4.0:../../devel/py-flaky
 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.2.5:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.20.1:../../devel/py-test-xdist
diff -r 5cf7c67faf14 -r 8f2c2af010c9 devel/py-coverage/distinfo
--- a/devel/py-coverage/distinfo        Sun Jan 26 09:05:56 2020 +0000
+++ b/devel/py-coverage/distinfo        Sun Jan 26 09:22:31 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2020/01/03 13:17:52 adam Exp $
+$NetBSD: distinfo,v 1.16 2020/01/26 09:22:31 adam Exp $
 
-SHA1 (coverage-5.0.1.tar.gz) = 642d5102243ebaf3e20afd24d2a14cf5813b53eb
-RMD160 (coverage-5.0.1.tar.gz) = 16dfd2b60d0e2cf65fd9c254cad6a5f843f16070
-SHA512 (coverage-5.0.1.tar.gz) = e8c50a49e69b02e08cb05ca776ef2f6cf8dad4d22811ee00d266203d4372d499818e5a3f61946487258d6efd8f916c0c150cfba41dbad746f57f08bd0b35dd84
-Size (coverage-5.0.1.tar.gz) = 675172 bytes
+SHA1 (coverage-5.0.3.tar.gz) = e1c0b27a5be9ea2c9ee8c015d17ff77206057226
+RMD160 (coverage-5.0.3.tar.gz) = 5d3ef7bc621ead321b701370b25133fdf885dbb4
+SHA512 (coverage-5.0.3.tar.gz) = 51c648b4529cc84534865ee804bcd3dd35a6dcb23f20feb3c4702025b924de3a010fd8d08238eea926ae1874c5510ff006bc120e10d01db795ea0af6fb82834c
+Size (coverage-5.0.3.tar.gz) = 679171 bytes



Home | Main Index | Thread Index | Old Index