Repository navigation
chore(deps): update dependency pluggy to v1.7.0 - #43
Open
renovate-bot wants to merge 1 commit into
Open
renovate-bot wants to merge 1 commit into
renovate-bot wants to merge 1 commit into
Conversation
renovate-bot
force-pushed
the
renovate/pluggy-1.x
branch
2 times, most recently
from
October 20, 2026 17:37
cee7b9a to
c93ce2b
Compare
renovate-bot
force-pushed
the
renovate/pluggy-1.x
branch
from
October 21, 2026 17:12
c93ce2b to
8531070
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
==1.6.0→==1.7.0Release Notes
pytest-dev/pluggy (pluggy)
v1.7.0Compare Source
=========================
Deprecations and Removals
#​632 <https://github.com/pytest-dev/pluggy/issues/632>_: Hookspec methods defined withoutselfas the first parameter now emit a :class:DeprecationWarning. Addselfas the first parameter or use@staticmethod.Features
#​170 <https://github.com/pytest-dev/pluggy/issues/170>_: Hookspecs can now declare default values for arguments, using the usualdef myhook(myarg="default")syntax.This is mainly a backward compatibility feature, to allow a hookspec to add new parameters to an existing hook without breaking existing callers.
See :ref:
hookspec_arg_defaultfor details.#​729 <https://github.com/pytest-dev/pluggy/issues/729>_: Tracing now adds detail wherestr()is ambiguous: empty strings and strings containingwhitespace are quoted, and enums and paths show their
repr().A value spanning several lines is now displayed as a block instead of running into the
surrounding trace.
Bug Fixes
#​629 <https://github.com/pytest-dev/pluggy/issues/629>_: Fix hooks failing to register on Python 3.14+ when type annotations use forward references.#​315 <https://github.com/pytest-dev/pluggy/issues/315>_: Source archives created bygit archive(including GitHub's "Source code" downloads) now carry version information, so building pluggy from them no longer fails with a missing version.#​442 <https://github.com/pytest-dev/pluggy/issues/442>_: With the addition of default values for hookspec arguments, we also changed the precedence of default values for hookimpl arguments.Previously, if a hookimpl function declared a default for an argument, it was always used, even if the hook call passed an explicit value.
Now the precedence is changed to: hook call passed value > hookspec default value > hookimpl default value.
See :ref:
hookimpl_arg_defaults.#​701 <https://github.com/pytest-dev/pluggy/issues/701>_: Hookimpls and hookspecs are now discovered via :func:inspect.getattr_static, soproperties,
cached_propertyand other descriptors are no longer executed whilescanning a plugin. Hooks declared through such a descriptor are not supported.
As a side effect,
@hookimpl/@hookspecapplied above@classmethodor@staticmethodis now picked up; previously the marker sat on the wrapper wheregetattr()never saw it. Callables stored directly on a plugin instance -- in its__dict__or in a__slots__slot -- keep being called exactly asgetattr()returned them, i.e. without an implicit
self.#​431 <https://github.com/pytest-dev/pluggy/issues/431>_: FixHookCaller._remove_plugin()to remove all hook implementations for a plugin in a single call, instead of only the first one. Also fixPluginManager.get_hookcallers()to not return duplicateHookCallerentries when a plugin has multiple implementations on the same hook (e.g. viaspecname).#​695 <https://github.com/pytest-dev/pluggy/issues/695>_: Fixed :func:~pluggy.PluginManager.subset_hook_caller()not excluding removed plugins which use :func:@hookiml(specname="...") <pluggy.HookimplMarker>.#​424 <https://github.com/pytest-dev/pluggy/issues/424>_: Tracing no longer breaks hook execution when a traced object has a broken__repr__or
__str__. Such a value is now rendered as<[RuntimeError(...) raised in str()] Broken object at 0x...>, in the same stylepytest uses for unpresentable objects, instead of propagating the exception out of the
hook call.
#​681 <https://github.com/pytest-dev/pluggy/issues/681>_: Tracing no longer crashes withUnicodeEncodeErrorwhen a hook argument or returnvalue contains lone surrogates; they are escaped with
backslashreplacebefore themessage reaches the writer. Trace output is otherwise unchanged.
#​727 <https://github.com/pytest-dev/pluggy/issues/727>_: Fix the warning for hookspec arguments missing from a hook call being attributed to pluggy's own frame instead of to the code making the call. This affectedHookCaller.__call__,call_historicandcall_extra.#​731 <https://github.com/pytest-dev/pluggy/issues/731>_: :func:PluginManager.register(None) <pluggy.PluginManager.register>is now ignored instead of having some weird behaviors.#​733 <https://github.com/pytest-dev/pluggy/issues/733>_: :meth:PluginManager.register() <pluggy.PluginManager.register>now validates all hook implementations of a plugin before registering any of them, so a plugin that fails validation no longer stays partially registered.#​755 <https://github.com/pytest-dev/pluggy/issues/755>_: Skip already registered entry-point plugins without evaluating the plugin object's truthiness.#​757 <https://github.com/pytest-dev/pluggy/issues/757>_: Restore the project URLs in the package metadata, which were lost in pluggy 1.6.0 when the packaging configuration moved topyproject.toml.Links to the documentation, changelog, issue tracker and funding page were added as well.
#​759 <https://github.com/pytest-dev/pluggy/issues/759>_: :meth:PluginManager.unregister() <pluggy.PluginManager.unregister>now raises :exc:ValueErrorwhen bothpluginandnameare given but refer to different plugins, instead of removing one plugin's hook implementations and another plugin's registry entry.It also fully unregisters plugin objects that are falsy (e.g. define
__len__returning0); previously their name stayed in the registry.#​186 <https://github.com/pytest-dev/pluggy/issues/186>_: Fixed broken external documentation references in the list of projects using pluggy.Trivial/Internal Changes
#​417 <https://github.com/pytest-dev/pluggy/issues/417>_: Fix thetox -e docsbuild, which failed undersphinx-build -Wbecause nitpicky mode reported unresolved references to the private names.#​590 <https://github.com/pytest-dev/pluggy/issues/590>_: Thepluggy.__version__variable is now dynamically provided via a module-level__getattr__implementation, usingimportlibto obtain the installed version.#​691 <https://github.com/pytest-dev/pluggy/issues/691>_: Fix outdated links inREADME.rst.#​703 <https://github.com/pytest-dev/pluggy/issues/703>_: The internalpluggy._hooksmodule was split into role-specific modules(
_caller,_config,_decorators,_executionand_impl).pluggy._hooksremains as a re-export shim, and the public API isunchanged.
#​776 <https://github.com/pytest-dev/pluggy/issues/776>_: Buildingpluggywithout git metadata now yields the placeholder version1.6.0+fallbackinstead of failing, so Dependabot relocks no longer resolvepluggyas0.0.0and silently downgrade pytest and tox inuv.lock.toxwas dropped from thedevdependency group; run it as a tool withuvx tox.Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.