Pluggy

Latest version: v1.5.0

Safety actively analyzes 629723 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

0.5.0

=========================

- fix bug where callbacks for historic hooks would not be called for
already registered plugins. Thanks `vodik`_ for the PR
and `hpk42`_ for further fixes.

- 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 PR from
`tgoodlet`_ also modernized the varnames implementation.

- resolve `32`_: split up the test set into multiple modules.
Thanks to `RonnyPfannschmidt`_ for the PR and `tgoodlet`_ for
the initial request.

- resolve `14`_: add full sphinx docs. Thanks to `tgoodlet`_ for
PR `39`_.

- add hook call mismatch warnings. Thanks to `tgoodlet`_ for the
PR `42`_.

- resolve `44`_: move to new-style classes. Thanks to `MichalTHEDUDE`_
for PR `46`_.

- add baseline benchmarking/speed tests using ``pytest-benchmark``
in PR `54`_. Thanks to `tgoodlet`_.

- update the README to showcase the API. Thanks to `tgoodlet`_ for the
issue and PR `55`_.

- deprecate ``__multicall__`` and add a faster call loop implementation.
Thanks to `tgoodlet`_ for PR `58`_.

- raise a comprehensible error when a ``hookimpl`` is called with positional
args. Thanks to `RonnyPfannschmidt`_ for the issue and `tgoodlet`_ for
PR `60`_.

- fix the ``firstresult`` test making it more complete
and remove a duplicate of that test. Thanks to `tgoodlet`_
for PR `62`_.

.. _62: https://github.com/pytest-dev/pluggy/pull/62
.. _60: https://github.com/pytest-dev/pluggy/pull/60
.. _58: https://github.com/pytest-dev/pluggy/pull/58
.. _55: https://github.com/pytest-dev/pluggy/pull/55
.. _54: https://github.com/pytest-dev/pluggy/pull/54
.. _46: https://github.com/pytest-dev/pluggy/pull/46
.. _44: https://github.com/pytest-dev/pluggy/issues/44
.. _42: https://github.com/pytest-dev/pluggy/pull/42
.. _39: https://github.com/pytest-dev/pluggy/pull/39
.. _32: https://github.com/pytest-dev/pluggy/pull/32
.. _19: https://github.com/pytest-dev/pluggy/issues/19
.. _17: https://github.com/pytest-dev/pluggy/issues/17
.. _14: https://github.com/pytest-dev/pluggy/issues/14

0.4.0

=========================

- add ``has_plugin(name)`` method to pluginmanager. thanks `nicoddemus`_.

- fix `11`_: make plugin parsing more resilient against exceptions
from ``__getattr__`` functions. Thanks `nicoddemus`_.

- 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``. Thanks `blueyed`_.

.. _11: https://github.com/pytest-dev/pluggy/issues/11
.. _4: https://github.com/pytest-dev/pluggy/issues/4

0.3.1

=========================

- avoid using deprecated-in-python3.5 getargspec method. Thanks
`mdboom`_.

0.3.0

=========================

initial release

.. contributors
.. _hpk42: https://github.com/hpk42
.. _tgoodlet: https://github.com/goodboy
.. _MichalTHEDUDE: https://github.com/MichalTHEDUDE
.. _vodik: https://github.com/vodik
.. _RonnyPfannschmidt: https://github.com/RonnyPfannschmidt
.. _blueyed: https://github.com/blueyed
.. _nicoddemus: https://github.com/nicoddemus
.. _mdboom: https://github.com/mdboom

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.