[Checkins] [zopefoundation/z3c.coverage] cedb3f: Add tox -e coverage

GitHub noreply at github.com
Mon Apr 24 13:19:14 CEST 2017


  Branch: refs/heads/modern-coverage
  Home:   https://github.com/zopefoundation/z3c.coverage
  Commit: cedb3fa68521a425a0476666f84d7b671e8b6369
      https://github.com/zopefoundation/z3c.coverage/commit/cedb3fa68521a425a0476666f84d7b671e8b6369
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    A .coveragerc
    M .gitignore
    M tox.ini

  Log Message:
  -----------
  Add tox -e coverage


  Commit: 2ea899c446a63286f4d7afdfe172d2ce95a98504
      https://github.com/zopefoundation/z3c.coverage/commit/2ea899c446a63286f4d7afdfe172d2ce95a98504
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  Ignore buildout files


  Commit: a6a54d940a6ec4c67cfa36c57ea89e20da147722
      https://github.com/zopefoundation/z3c.coverage/commit/a6a54d940a6ec4c67cfa36c57ea89e20da147722
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M .gitignore
    M CHANGES.rst
    M README.rst
    M setup.py
    M src/z3c/coverage/README.txt
    M src/z3c/coverage/coveragereport.py
    A src/z3c/coverage/sampleinput.coverage
    R src/z3c/coverage/sampleinput.pickle

  Log Message:
  -----------
  Fully support coverage.py >= 4.0

Replace old-style test data file (a pickle) with a new-style data file,
generated with

    tox -e coverage
    cp .coverage src/z3c/coverage/sampleinput.coverage

Fix apply_path_aliases() to use the CoverageData API.

Fix tests in tox by judicious application of os.path.realpath() because
__file__ points to a .../local/lib/... path for some reason ('local' is
a symlink to '.' that virtualenv creates for some unfathomable reason
it's a wonder I don't start drinking).


  Commit: 3872d0b040a9e5c30fa8d0f0f3ff0f7df013494c
      https://github.com/zopefoundation/z3c.coverage/commit/3872d0b040a9e5c30fa8d0f0f3ff0f7df013494c
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M README.rst

  Log Message:
  -----------
  Drop all mention of pickles from the README

We no longer support coverage.py < 4.0, so no more pickle worries.  Good
riddance!


Compare: https://github.com/zopefoundation/z3c.coverage/compare/e5d8d3b7bc97...3872d0b040a9


More information about the checkins mailing list