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

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


Branch: CURRENT, Version: 0.7.1, Package name: py27-pluggy-0.7.1, 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: a07fa8187288cc4099b91dd59b0df18ba3dc19b1
RMD160: 75c196d15a34fe64fa0c86846645256a0d5de1db
Filesize: 46.664 KB

Version history: (Expand)


CVS history: (Expand)


   2018-08-05 12:25:24 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pluggy: updated to 0.7.1

pluggy 0.7.1:

Deprecations and Removals
- Deprecate the implprefix kwarg to PluginManager and instead
  expect users to start using explicit HookimplMarker everywhere.

Features
- Add .plugin member to PluginValidationError to access failing plugin during \ 
post-mortem.
- Add per implementation warnings support for hookspecs allowing for both
  deprecation and future warnings of legacy and (future) experimental hooks
  respectively.

Bug Fixes
- Fix a bug where _HookCaller.call_historic() would call the proc
  arg even when the default is None resulting in a TypeError.
- Fix problem when handling VersionConflict errors when loading setuptools plugins.

Improved Documentation
- Document how exceptions are handled and how the hook call loop
  terminates immediately on the first error which is then delivered
  to any surrounding wrappers.
- Docs rework including a much better introduction and comprehensive example
  set for new users. A big thanks goes out to @obestwalter for the great work!

Trivial/Internal Changes
- Break up the main monolithic package modules into separate modules by concern
- Automate setuptools wheels building and PyPi upload using TravisCI.
- Reorganize tests more appropriately by modules relating to each
  internal component/feature. This is in an effort to avoid (future)
  duplication and better separation of concerns in the test set.
- Add HookImpl.__repr__() for better debugging.
- Start using towncrier and a custom tox environment to prepare releases!

pluggy 0.7.0 (Unreleased)
* We discovered a deployment issue so this version was never released to PyPI, \ 
only the tag exists.
   2017-11-28 09:41:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pluggy: updated to 0.6.0

0.6.0
-----
Add CI testing for the features, release, and master branches of pytest.
Document public API for _Result objects passed to wrappers.
Document and test hook LIFO ordering.
Turn warnings into errors in test suite.
Deprecate _Result.result.
Convert _Multicall to a simple function distinguishing it from the legacy version.
Resolve E741 errors.
Test and bug fix for unmarked hook collection.
Drop support for EOL Python 2.6 and 3.3.
Fix inspect based arg introspection on py3.6
   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.