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

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


Branch: CURRENT, Version: 0.9.0, Package name: py27-pluggy-0.9.0, 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] [devel/py-setuptools_scm]

Master sites:

SHA1: 6bdadc9a082d2d83b780bea66ec55517454bb2d0
RMD160: 306e29737afb7fe9ee02f50eef88a0136ade3cdd
Filesize: 52.769 KB

Version history: (Expand)


CVS history: (Expand)


   2019-02-24 21:33:49 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pluggy: updated to 0.9.0

pluggy 0.9.0

Features
- PluginManager.load_setuptools_entrypoints now accepts a name parameter that \ 
when given will
  load only entry points with that name.

  PluginManager.load_setuptools_entrypoints also now returns the number of \ 
plugins loaded by the
  call, as opposed to the number of all plugins loaded by all calls to this method.

Bug Fixes
- Fix internal varnames function for PyPy3.
   2019-01-15 22:41:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pluggy: updated to 0.8.1

pluggy 0.8.1:

Trivial/Internal Changes
- Add stacklevel=2 to implprefix warning so that the reported location of \ 
warning is the caller of PluginManager.
   2018-10-23 11:00:34 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pluggy: updated to 0.8.0

pluggy 0.8.0:

Features
- Add get_hookimpls() method to hook callers.

Trivial/Internal Changes
- Add changelog in long package description and documentation.
- Add a test exemplifying the opt-in nature of spec defined args.
- Encapsulate hook specifications in a type for easier introspection.
   2018-08-28 18:11:00 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Needs setuptools_scm.
   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.