./devel/py-pluggy, Plugin and hook calling mechanisms for python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.5.2, Package name: py27-pluggy-0.5.2, Maintainer: pkgsrc-users

This package contains the plugin manager as used by pytest but
stripped of pytest specific details.


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 83e437b3fddb2f1feb25080d87dfbf376b4b2991
RMD160: 01b3e72ca77b027dd9918c0fe65ad8957e101b71
Filesize: 18.491 KB

Version history: (Expand)


CVS history: (Expand)


   2017-09-07 17:05:00 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
0.5.2:
fix bug where firstresult wrappers were being sent an incorrectly configured \ 
_Result (a list was set instead of a single value). Add tests to check for this \ 
as well as _Result.force_result() behaviour.
fix incorrect getattr of DeprecationWarning from the warnings module.
hide pytest tracebacks in certain core routines.
   2017-09-04 19:06:42 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
0.5.1:
fix a bug and add tests for case where firstresult hooks return None results.

0.5.0:
fix bug where callbacks for historic hooks would not be called for already \ 
registered plugins.
fix 17 by considering only actual functions for hooks this removes the ability \ 
to register arbitrary callable objects which at first glance is a reasonable \ 
simplification, thanks @RonnyPfannschmidt for report and pr.
fix 19: allow registering hookspecs from instances. The P R from @tgoodlet also \ 
modernized the varnames implementation.
resolve 32: split up the test set into multiple modules.
resolve 14: add full sphinx docs.
add hook call mismatch warnings.
resolve 44: move to new-style classes.
add baseline benchmarking/speed tests using pytest-benchmark in P R 54.
update the README to showcase the API.
deprecate __multicall__ and add a faster call loop implementation.
raise a comprehensible error when a hookimpl is called with positional args.
fix the firstresult test making it more complete and remove a duplicate of that test.
   2017-07-20 17:55:53 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
0.4.0:
- add has_plugin(name) method to pluginmanager.
- fix issue11: make plugin parsing more resilient against exceptions
  from __getattr__ functions.
- fix issue 4: specific HookCallError exception for when a hook call
  provides not enough arguments.
- better error message when loading setuptools entrypoints fails
  due to a VersionConflict.
   2015-11-08 10:20:58 by Thomas Klausner | Files touched by this commit (4)
Log message:
Import py-pluggy-0.3.1 as devel/py-pluggy.

This package contains the plugin manager as used by pytest but
stripped of pytest specific details.