github thought-machine/please v1.7.0
Please v1.7.0

latest releases: v17.12.6-beta.1, v17.12.5, v17.12.4...
8 years ago

First release of 1.7.x, after the short-lived 1.6.x series never made it here. Notable changes include:

  • Reworking of error handling in parsing code. Previous code used to panic back through
    the parser which deeply upset PyPy (often we got away with it because we'd die before
    anything else could go wrong, but not always). Now errors are returned to Python and
    reraised as exceptions there - which implies that it's possible for BUILD code to
    catch and handle such exceptions, although I don't recommend writing them that way :)
  • Optimised glob() a bit so it doesn't descend into some directories that will never match
    the given pattern.
  • Officially ban subincluding of local targets (didn't actually work before anyway, but now
    you get an 'official' message explaining why)
  • plz clean now cleans sub-targets as well
  • Banned double slashes in build labels which was being incorrectly let though, leading
    to some very strange failures.
  • Ensure paths are relative in hash memoisation - improves hit rate by about 30% and
    is a performance improvement (although probably not very noticeable in most cases).
  • plz cover now has a --line_coverage_report / -l flag to produce line-by-line
    coverage output for its affected files.

Don't miss a new please release

NewReleases is sending notifications on new releases.