Skip to content

Commit 64d28b8

Browse files
RonnyPfannschmidtCursor AICursor Grok 4.5
committed
docs(changelog): add fragment for Hook*Configuration change
Co-authored-by: Cursor AI <ai@cursor.sh> Co-authored-by: Cursor Grok 4.5 <grok@cursor.com>
1 parent 0962909 commit 64d28b8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

changelog/704.removal.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Hook options are now :class:`pluggy.HookspecConfiguration` /
2+
:class:`pluggy.HookimplConfiguration` objects (markers attach these instead of
3+
dicts). ``PluginManager.parse_hookimpl_opts`` /
4+
``parse_hookspec_opts`` remain as a deprecated pytest/support concession that
5+
returns legacy dicts and are only invoked during registration when a subclass
6+
overrides them and no modern configuration attribute was found.
7+
``HookspecOpts`` / ``HookimplOpts`` TypedDicts remain importable for
8+
pytest/typing compatibility.

0 commit comments

Comments
 (0)