Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=0.3.1
->>=0.13.1
Release Notes
pytest-dev/pluggy (pluggy)
v0.13.1
Compare Source
==========================
Trivial/Internal Changes
#​236 <https://github.com/pytest-dev/pluggy/pull/236>
_: Improved documentation, especially with regard to references.v0.13.0
Compare Source
==========================
Trivial/Internal Changes
#​222 <https://github.com/pytest-dev/pluggy/issues/222>
_: Replaceimportlib_metadata
backport withimportlib.metadata
from thestandard library on Python 3.8+.
v0.12.0
Compare Source
==========================
Features
#​215 <https://github.com/pytest-dev/pluggy/issues/215>
_: Switch frompkg_resources
toimportlib-metadata
for entrypoint detection for improved performance and import time. This time with.egg
support.v0.11.0
Compare Source
==========================
Bug Fixes
#​205 <https://github.com/pytest-dev/pluggy/issues/205>
_: Revert changes made in 0.10.0 release breaking.egg
installs.v0.10.0
Compare Source
==========================
Features
#​199 <https://github.com/pytest-dev/pluggy/issues/199>
_: Switch frompkg_resources
toimportlib-metadata
for entrypoint detection for improved performance and import time.v0.9.0
Compare Source
=========================
Features
#​189 <https://github.com/pytest-dev/pluggy/issues/189>
_:PluginManager.load_setuptools_entrypoints
now accepts aname
parameter that when given willload only entry points with that name.
PluginManager.load_setuptools_entrypoints
also now returns the number of plugins loaded by thecall, as opposed to the number of all plugins loaded by all calls to this method.
Bug Fixes
#​187 <https://github.com/pytest-dev/pluggy/issues/187>
_: Fix internalvarnames
function for PyPy3.v0.8.1
Compare Source
=========================
Trivial/Internal Changes
#​166 <https://github.com/pytest-dev/pluggy/issues/166>
_: Addstacklevel=2
to implprefix warning so that the reported location of warning is the caller of PluginManager.v0.8.0
Compare Source
=========================
Features
#​177 <https://github.com/pytest-dev/pluggy/issues/177>
_: Addget_hookimpls()
method to hook callers.Trivial/Internal Changes
#​165 <https://github.com/pytest-dev/pluggy/issues/165>
_: Add changelog in long package description and documentation.#​172 <https://github.com/pytest-dev/pluggy/issues/172>
_: Add a test exemplifying the opt-in nature of spec defined args.#​57 <https://github.com/pytest-dev/pluggy/issues/57>
_: Encapsulate hook specifications in a type for easier introspection.v0.7.1
Compare Source
=========================
Deprecations and Removals
#​116 <https://github.com/pytest-dev/pluggy/issues/116>
_: Deprecate theimplprefix
kwarg toPluginManager
and insteadexpect users to start using explicit
HookimplMarker
everywhere.Features
#​122 <https://github.com/pytest-dev/pluggy/issues/122>
_: Add.plugin
member toPluginValidationError
to access failing plugin during post-mortem.#​138 <https://github.com/pytest-dev/pluggy/issues/138>
_: Add per implementation warnings support for hookspecs allowing for bothdeprecation and future warnings of legacy and (future) experimental hooks
respectively.
Bug Fixes
#​110 <https://github.com/pytest-dev/pluggy/issues/110>
_: Fix a bug where_HookCaller.call_historic()
would call theproc
arg even when the default is
None
resulting in aTypeError
.#​160 <https://github.com/pytest-dev/pluggy/issues/160>
_: Fix problem when handlingVersionConflict
errors when loading setuptools plugins.Improved Documentation
#​123 <https://github.com/pytest-dev/pluggy/issues/123>
_: Document how exceptions are handled and how the hook call loopterminates immediately on the first error which is then delivered
to any surrounding wrappers.
#​136 <https://github.com/pytest-dev/pluggy/issues/136>
_: Docs rework including a much better introduction and comprehensive exampleset for new users. A big thanks goes out to @obestwalter for the great work!
Trivial/Internal Changes
#​117 <https://github.com/pytest-dev/pluggy/issues/117>
_: Break up the main monolithic package modules into separate modules by concern#​131 <https://github.com/pytest-dev/pluggy/issues/131>
_: Automatesetuptools
wheels building and PyPi upload using TravisCI.#​153 <https://github.com/pytest-dev/pluggy/issues/153>
_: Reorganize tests more appropriately by modules relating to eachinternal component/feature. This is in an effort to avoid (future)
duplication and better separation of concerns in the test set.
#​156 <https://github.com/pytest-dev/pluggy/issues/156>
_: AddHookImpl.__repr__()
for better debugging.#​66 <https://github.com/pytest-dev/pluggy/issues/66>
_: Start usingtowncrier
and a customtox
environment to prepare releases!v0.6.0
Compare Source
=========================
branches of
pytest
(PR#79
_)._Result
objects passed to wrappers(PR
#85
_).#85
_).#89
_)._Result.result
(PR#88
_)._Multicall
to a simple function distinguishing it fromthe legacy version (PR
#90
_).#96
_).#97
_ and#102
_).#103
_).inspect
based arg introspection on py3.6 (PR#94
_)... _#79:https://github.com/pytest-dev/pluggy/pull/799
.. _#85https://github.com/pytest-dev/pluggy/pull/8585
.. _#8https://github.com/pytest-dev/pluggy/pull/88/88
.. _#https://github.com/pytest-dev/pluggy/pull/89l/89
.. _https://github.com/pytest-dev/pluggy/pull/90ll/90
.. [https://github.com/pytest-dev/pluggy/pull/94](https://togithub.com/pytest-dev/pluggy/pull/94)ull/94
.. https://github.com/pytest-dev/pluggy/pull/96pull/96
..https://github.com/pytest-dev/pluggy/pull/97/pull/97
..https://github.com/pytest-dev/pluggy/pull/102/pull/102
.https://github.com/pytest-dev/pluggy/pull/103y/pull/103
v0.5.2
Compare Source
=========================
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 forthis as well as
_Result.force_result()
behaviour. Thanks to@tgoodlet
_for the PR
#72
_.fix incorrect
getattr
ofDeprecationWarning
from thewarnings
module. Thanks to
@nicoddemus
_ for the PR#77
_.hide
pytest
tracebacks in certain core routines. Thanks to@nicoddemus
_ for the PR#80
_... _#72:https://github.com/pytest-dev/pluggy/pull/722
.. _#77https://github.com/pytest-dev/pluggy/pull/7777
.. _#8https://github.com/pytest-dev/pluggy/pull/80/80
v0.5.1
Compare Source
=========================
firstresult
hooks returnNone
results. Thanks to@RonnyPfannschmidt
_ and@tgoodlet
_for the issue (
#68
) and PR (#69
) respectively... _#69:https://github.com/pytest-dev/pluggy/pull/699
.. _#68https://github.com/pytest-dev/pluggy/issues/6868
v0.5.0
Compare Source
=========================
fix bug where callbacks for historic hooks would not be called for
already registered plugins. Thanks
@vodik
_ for the PRand
@hpk42
_ for further fixes.fix
#17
_ by considering only actual functions for hooksthis 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
_ forthe initial request.
resolve
#14
: add full sphinx docs. Thanks to@tgoodlet
forPR
#39
_.add hook call mismatch warnings. Thanks to
@tgoodlet
_ for thePR
#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 theissue 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 positionalargs. Thanks to
@RonnyPfannschmidt
_ for the issue and@tgoodlet
_ forPR
#60
_.fix the
firstresult
test making it more completeand remove a duplicate of that test. Thanks to
@tgoodlet
_for PR
#62
_... _#62:https://github.com/pytest-dev/pluggy/pull/622
.. _#60https://github.com/pytest-dev/pluggy/pull/6060
.. _#5https://github.com/pytest-dev/pluggy/pull/58/58
.. _#https://github.com/pytest-dev/pluggy/pull/55l/55
.. _https://github.com/pytest-dev/pluggy/pull/54ll/54
.. [https://github.com/pytest-dev/pluggy/pull/46](https://togithub.com/pytest-dev/pluggy/pull/46)ull/46
.. https://github.com/pytest-dev/pluggy/issues/44sues/44
..https://github.com/pytest-dev/pluggy/pull/42/pull/42
.https://github.com/pytest-dev/pluggy/pull/39y/pull/39
https://github.com/pytest-dev/pluggy/pull/32gy/pull/32https://github.com/pytest-dev/pluggy/issues/19y/issues/1https://github.com/pytest-dev/pluggy/issues/17gy/issues/https://github.com/pytest-dev/pluggy/issues/14ggy/issues/14
v0.4.0
Compare Source
=========================
add
has_plugin(name)
method to pluginmanager. thanks@nicoddemus
_.fix
#11
: make plugin parsing more resilient against exceptionsfrom
__getattr__
functions. Thanks@nicoddemus
.fix issue
#4
_: specificHookCallError
exception for when a hook callprovides 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/111
.. _#4https://github.com/pytest-dev/pluggy/issues/4/4
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.