Skip to content

Add detail to traced values where str() is ambiguous - #729

Merged
RonnyPfannschmidt merged 6 commits into
pytest-dev:mainfrom
RonnyPfannschmidt:trace-value-heuristic
Oct 9, 2026
Merged

RonnyPfannschmidt merged 6 commits into
pytest-dev:mainfrom
RonnyPfannschmidt:trace-value-heuristic

Conversation

@RonnyPfannschmidt

@RonnyPfannschmidt RonnyPfannschmidt commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

AI-authored. I asked Claude Code (Opus 5) to work out a rendering for traced
values that keeps pytest's trace readable while surfacing the details str()
drops. The code, the tests, the measurements and the text below are the agent's
work. I read it and I am posting it, and I will follow up on review comments
myself.

The review follow-ups (see "Since review" below) were written by Claude Opus 5.5 via
Claude Code; I prompted it, it did the work, I read it.

Why

#728 fixes the two tracing crashes without touching the output, and says explicitly that
the type-visibility idea from #627/#681 should be argued on its own. This is that
argument.

Rendering every value with repr(), as #681 proposed, changes 216 of 1329 lines in a
real pytest --debug run, and the overwhelming majority of that is quotes added around
strings that were already readable. But str() does drop things a reader needs:

in the trace today the problem
left: / right: an empty string is indistinguishable from no value at all — in a comparison trace
val: with space no visible boundaries; leading and trailing space are invisible
exitstatus: 1 an IntEnum prints as a bare number, the member name is lost
collection_path: /x
path: /x
a PosixPath and a py.path.local pointing at the same place look identical
a multi-line value runs out to column 0 and reads as a trace line of its own

The rule

  • a string that reads unambiguously as itself — non-empty, printable, no spaces — stays bare
  • a string that is empty, or carries whitespace, gets repr()
  • an enum.Enum or an os.PathLike gets repr(), checked first so a StrEnum member keeps its name
  • a value with line breaks (any of them, \r included) is drawn as an indented block
  • everything else keeps str(), unchanged

What it costs

Measured on a real pytest --debug run: 45 of 1329 lines change (3.4%), against 216
for blanket repr(). By category: 21 paths, 11 whitespace strings, 3 empty strings, 2
enums, 2 blocks.

  exitstatus: 1                      →  exitstatus: <ExitCode.TESTS_FAILED: 1>
  left:                              →  left: ''
  right:                             →  right: ''
  collection_path: DIR/.benchmarks   →  collection_path: PosixPath('DIR/.benchmarks')
  path: DIR/.benchmarks              →  path: local('DIR/.benchmarks')
  val: with space                    →  val: 'with space'
  plugin_name: lfplugin              →  plugin_name: lfplugin        (unchanged)
  config: <_pytest.config.Config…>   →  config: <_pytest.config.Config…>   (unchanged)

Multi-line values

Today a multi-line value breaks the layout — the continuation escapes to column 0 and
reads as a top-level trace line:

            orig: isinstance(f, pathlib.Path)
            expl: True
 +  where True = isinstance(PosixPath('/tmp/pytest-N/test_path0'), <class 'pathlib.Path'>)
 +    where <class 'pathlib.Path'> = pathlib.Path
        finish pytest_assertion_pass --> [] [hook]

With this change the value is indented under its key, so it stays attached to it:

            orig: 'isinstance(f, pathlib.Path)'
            expl:
              True
               +  where True = isinstance(PosixPath('/tmp/pytest-N/test_path0'), <class 'pathlib.Path'>)
               +    where <class 'pathlib.Path'> = pathlib.Path
        finish pytest_assertion_pass --> [] [hook]

A bare \r counts as a line break too. Emitted inline, it returned the terminal cursor
to column 0 and the value overwrote its own key.

Rough edges, for review

  • nodeid: test_mix.py::test_p[with space] gains quotes, because the parameter id
    contains a space. The rule fires correctly, but on something that is not really "a
    string with whitespace" in spirit.
  • orig: n or n == "" becomes orig: 'n or n == ""' — nested quotes on source text.
  • Lone surrogates now render '\ud800' rather than bare, since they are not
    isprintable(). Arguably clearer; it does change two tests added in Make hook tracing unable to fail a hook call #728.
  • Rendering a traced value costs ~0.8 µs rather than ~0.2 µs, only when tracing is
    enabled — around 0.5 ms across a whole pytest run.

Testing

  • uv run pytest — 203 passed.
  • uv run pre-commit run -a — all hooks pass.
  • _tracing.py at 100% statement and branch coverage.
  • 8 new tests: 6 covering each branch of the rule, and 2 for the repr guards this change
    newly reaches — a path-like with a broken repr, and KeyboardInterrupt raised from a
    repr.
  • pytest --debug output diffed against main: 45 changed lines, each one listed above.

Since review

  • Blocks are indented under their key, without the | / \ edge (bluetech).
  • Changelog shortened; the docs paragraph that restated the example is gone (bluetech).
  • StrEnum members took the plain-string path and lost their name; enums and paths are
    now checked before strings.
  • Line breaks are decided with splitlines() both when rendering and when indenting, so
    \r and \r\n produce a clean block, and a string with a single trailing newline is
    quoted ('line\n') instead of drawn as a block with an empty last line.
  • uv run pytest: 208 passed; uv run pre-commit run -a: all hooks pass; _tracing.py
    still at 100% statement and branch coverage. The pytest --debug line counts above
    were measured before these follow-ups and were not re-run.

🤖 Generated with Claude Code

RonnyPfannschmidt and others added 3 commits September 24, 2026 18:15
Trace output stays str() based, because that is what makes it readable,
but str() hides things a reader needs often enough to be worth fixing
case by case:

- an empty string is indistinguishable from no value at all, which is
  exactly wrong for a comparison trace showing left and right
- a string carrying whitespace has no visible boundaries
- an IntEnum prints as a bare number, losing the member name
- a path prints as text, so a PosixPath and a py.path.local argument
  pointing at the same place look identical
- a multi line value runs into column 0 and reads as a trace line of its
  own rather than as the value of its key

So values that read unambiguously as themselves -- a non empty printable
string without spaces, and every type whose repr adds nothing -- stay
bare, and the rest gain quotes, their type, or a block.

Multi line values are drawn as a box, each line prefixed with | and the
last with \\, so the extent of the value is visible at a glance.

Measured on a real pytest --debug run, this changes 45 of 1329 trace
lines, against 216 for rendering every value with repr(). Every changed
line carries information the previous rendering dropped.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Co-Authored-By: Claude Code <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Co-Authored-By: Claude Code <[email protected]>
_safe_repr is only reached for enums, paths and quoted strings, which
all have working reprs in the existing tests, so its guards were dead in
coverage. A path-like with a broken repr is the pytest-dev#424 scenario applied to
a value the heuristic sends through repr.

_tracing.py is back at 100% statement and branch coverage.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Co-Authored-By: Claude Code <[email protected]>
Comment thread changelog/729.feature.rst Resolved
Comment thread docs/index.rst Resolved
Comment thread src/pluggy/_tracing.py Resolved
Comment thread src/pluggy/_tracing.py Resolved
Comment thread src/pluggy/_tracing.py Resolved
Comment thread src/pluggy/_tracing.py Resolved
@feiiiiii5

Copy link
Copy Markdown

Verified the three rendering rules on the branch (203 passed) and found two shapes that reach the code but not the rules. Neither is a regression — the base commit behaves the same way for both — but both are cases where the documented behaviour does not hold.

enum.StrEnum never reaches the enum branch. _render_value tests isinstance(obj, str) first, and StrEnum.__str__ is str.__str__, so a member whose value is a plain token satisfies _is_plain_token and comes back bare:

IntEnum(1)              -> '<IntEnumCase.ONE: 1>'      name shown
StrEnum('value')       -> 'value'                     name lost
StrEnum('has space')   -> "<StrEnumCase.SPACED: 'has space'>"   name shown
(str, Enum) A='a'      -> 'StrEnumSubclassOfStr.A'     name shown

The trigger is specifically StrEnum and a value that happens to be a plain token; a StrEnum with a space in its value is quoted and therefore does get repr(). And a class X(str, Enum) is fine either way, because there Enum.__str__ is what runs. The added enum test uses IntEnum, which is not a str, so it passes.

For contrast, on pr-729~3 the IntEnum case rendered as '1' — so the enum branch is a real improvement, StrEnum is just the one member of the family that cannot reach it. That contradicts "an enum member shows its name" for the StrEnum case.

The fix is to test the enum/PathLike case first. I tried it: over str plain/spaced/empty/multi-line, IntEnum, StrEnum plain and spaced, Path, int, None, list, bytes — 11 of 12 renderings are byte-identical, the only change being StrEnum('value') -> <S.PLAIN: 'value'>, and 203 passed still.

A bare CR is still emitted inline. _render_value treats "\r" in obj as a reason to return the value unquoted, but _format_message only draws a block if "\n" in rendered, and _format_block splits on "\n":

'a\nb'     -> boxed, no stray CR        (the case the tests cover)
'a\r\nb'   -> boxed, but one \r left at the end of the first block line
'a\rb'     -> not boxed, \r inline
'x\ry\rz'  -> not boxed, two \r inline

The bare-CR case is the one that matters for the stated goal: a terminal acts on the \r by returning the cursor to column 0, so k: a\rb overwrites itself and the reader sees only b — exactly the "runs into the surrounding trace" failure the block drawing exists to prevent. The base commit did the same thing, so nothing regressed; but the renderer now reasons about \r while the boxing decision does not, and that inconsistency is new.

Either half would close it: split on \r\n|\r|\n both when deciding to box and when splitting the body, or drop \r from the _render_value test so a CR-bearing string is at least quoted and its boundaries visible.

Happy to send a patch for either or both — the reorder is a one-line move and the CR fix is a re.split plus one condition, and I can run them against the full suite.

@bluetech

Copy link
Copy Markdown
Member

@RonnyPfannschmidt I think it'd be good to do a pluggy release. Would you like to get this PR in before?

RonnyPfannschmidt and others added 3 commits October 9, 2026 10:51
Draw a multi-line value indented under its key without a box edge,
drop the docs paragraph the example already shows, and shorten the
changelog and the _render_value docstring.

Co-Authored-By: Claude Opus 5.5 via Claude Code <[email protected]>
A StrEnum member is a str whose str() is the bare value, so it took
the plain-token path and lost its name. Check for enums and paths
before strings.

Co-Authored-By: Claude Opus 5.5 via Claude Code <[email protected]>
Rendering tested for \r while the block decision split on \n only, so
a bare CR went out inline, where the terminal returns to column 0 and
the value overwrites its key, and \r\n left a stray CR in the block.
Use splitlines() for both, which also quotes a string with a single
trailing newline instead of drawing a block with an empty last line.

Co-Authored-By: Claude Opus 5.5 via Claude Code <[email protected]>
@RonnyPfannschmidt
RonnyPfannschmidt merged commit 1729627 into pytest-dev:main Oct 9, 2026
20 checks passed
@RonnyPfannschmidt

Copy link
Copy Markdown
Member Author

@bluetech i'd like toget that refactoring chain in as well

github-actions Bot pushed a commit to ai-avimiot/pipewarden that referenced this pull request Oct 19, 2026
Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 1.6.0 to
1.7.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst">pluggy's
changelog</a>.</em></p>
<blockquote>
<h1>pluggy 1.7.0 (2026-10-14)</h1>
<h2>Deprecations and Removals</h2>
<ul>
<li><code>[#632](pytest-dev/pluggy#632)
&lt;https://github.com/pytest-dev/pluggy/issues/632&gt;</code>_:
Hookspec methods defined without <code>self</code> as the first
parameter now emit a :class:<code>DeprecationWarning</code>. Add
<code>self</code> as the first parameter or use
<code>@staticmethod</code>.</li>
</ul>
<h2>Features</h2>
<ul>
<li>
<p><code>[#170](pytest-dev/pluggy#170)
&lt;https://github.com/pytest-dev/pluggy/issues/170&gt;</code>_:
Hookspecs can now declare default values for arguments, using the usual
<code>def myhook(myarg=&quot;default&quot;)</code> syntax.
This is mainly a backward compatibility feature, to allow a hookspec to
add new parameters to an existing hook without breaking existing
<em>callers</em>.
See :ref:<code>hookspec_arg_default</code> for details.</p>
</li>
<li>
<p><code>[#729](pytest-dev/pluggy#729)
&lt;https://github.com/pytest-dev/pluggy/issues/729&gt;</code>_: Tracing
now adds detail where <code>str()</code> is ambiguous: empty strings and
strings containing
whitespace are quoted, and enums and paths show their
<code>repr()</code>.</p>
<p>A value spanning several lines is now displayed as a block instead of
running into the
surrounding trace.</p>
</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>
<p><code>[#629](pytest-dev/pluggy#629)
&lt;https://github.com/pytest-dev/pluggy/issues/629&gt;</code>_: Fix
hooks failing to register on Python 3.14+ when type annotations use
forward references.</p>
</li>
<li>
<p><code>[#315](pytest-dev/pluggy#315)
&lt;https://github.com/pytest-dev/pluggy/issues/315&gt;</code>_: Source
archives created by <code>git archive</code> (including GitHub's
&quot;Source code&quot; downloads) now carry version information, so
building pluggy from them no longer fails with a missing version.</p>
</li>
<li>
<p><code>[#442](pytest-dev/pluggy#442)
&lt;https://github.com/pytest-dev/pluggy/issues/442&gt;</code>_: With
the addition of default values for hookspec arguments, we also changed
the precedence of default values for <em>hookimpl</em> arguments.
Previously, if a hookimpl function declared a default for an argument,
it was always used, even if the <em>hook call</em> passed an explicit
value.
Now the precedence is changed to: hook call passed value &gt; hookspec
default value &gt; hookimpl default value.
See :ref:<code>hookimpl_arg_defaults</code>.</p>
</li>
<li>
<p><code>[#701](pytest-dev/pluggy#701)
&lt;https://github.com/pytest-dev/pluggy/issues/701&gt;</code>_:
Hookimpls and hookspecs are now discovered via
:func:<code>inspect.getattr_static</code>, so
properties, <code>cached_property</code> and other descriptors are no
longer executed while
scanning a plugin. Hooks declared through such a descriptor are not
supported.</p>
<p>As a side effect, <code>@hookimpl</code>/<code>@hookspec</code>
applied <em>above</em> <code>@classmethod</code> or
<code>@staticmethod</code> is now picked up; previously the marker sat
on the wrapper where
<code>getattr()</code> never saw it. Callables stored directly on a
plugin instance -- in its
<code>__dict__</code> or in a <code>__slots__</code> slot -- keep being
called exactly as <code>getattr()</code>
returned them, i.e. without an implicit <code>self</code>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/4c7f6365f2dde09c11e72db67d0f615231d64c19"><code>4c7f636</code></a>
Preparing release 1.7.0</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/21c7e1672941a0cd9e3c555bf5e5007f1fbe3dc5"><code>21c7e16</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/787">#787</a>
from pytest-dev/rm-outdated-doc</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/628959b178ab075c0b9af833511e53b4f5640fcb"><code>628959b</code></a>
docs: remove outdated hookimpl default args paragraph</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/2edab5eb6d1d68d628e68b1aa0796d2388733446"><code>2edab5e</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/752">#752</a>
from bluetech/register-none-allow</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/6995073de5ebc58d97dc017a7c2b7c5904f4c485"><code>6995073</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/776">#776</a>
from RonnyPfannschmidt/fix/uv-lock-pytest-downgrade</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/50c1ac94b4a3e64d2b8e1a1868d3c580c95c7164"><code>50c1ac9</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/pytest-dev/pluggy/issues/781">#781</a>)</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/6a7e84e48cbeacdcb231a1e6dffc0bd6b6bd085e"><code>6a7e84e</code></a>
Add changelog fragment for <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/776">#776</a></li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/d22cfb59c2a4c35af1335af338587d11a9a624ce"><code>d22cfb5</code></a>
Drop tox from the dev dependency group</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/74cbfa2b9a9ebf6098beb493ad1113efeb0e45e9"><code>74cbfa2</code></a>
Relock pytest and tox that dependabot downgraded</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/87f130aa18d8fdf9c92585e72423eca7f3de727d"><code>87f130a</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/755">#755</a>
from harbinresearcher/codex/entrypoint-plugin-presence</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pluggy/compare/1.6.0...1.7.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pluggy&package-manager=pip&previous-version=1.6.0&new-version=1.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions Bot pushed a commit to neuro-inc/platform-api that referenced this pull request Oct 19, 2026
Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 1.6.0 to
1.7.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst">pluggy's
changelog</a>.</em></p>
<blockquote>
<h1>pluggy 1.7.0 (2026-10-14)</h1>
<h2>Deprecations and Removals</h2>
<ul>
<li><code>[#632](pytest-dev/pluggy#632)
&lt;https://github.com/pytest-dev/pluggy/issues/632&gt;</code>_:
Hookspec methods defined without <code>self</code> as the first
parameter now emit a :class:<code>DeprecationWarning</code>. Add
<code>self</code> as the first parameter or use
<code>@staticmethod</code>.</li>
</ul>
<h2>Features</h2>
<ul>
<li>
<p><code>[#170](pytest-dev/pluggy#170)
&lt;https://github.com/pytest-dev/pluggy/issues/170&gt;</code>_:
Hookspecs can now declare default values for arguments, using the usual
<code>def myhook(myarg=&quot;default&quot;)</code> syntax.
This is mainly a backward compatibility feature, to allow a hookspec to
add new parameters to an existing hook without breaking existing
<em>callers</em>.
See :ref:<code>hookspec_arg_default</code> for details.</p>
</li>
<li>
<p><code>[#729](pytest-dev/pluggy#729)
&lt;https://github.com/pytest-dev/pluggy/issues/729&gt;</code>_: Tracing
now adds detail where <code>str()</code> is ambiguous: empty strings and
strings containing
whitespace are quoted, and enums and paths show their
<code>repr()</code>.</p>
<p>A value spanning several lines is now displayed as a block instead of
running into the
surrounding trace.</p>
</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>
<p><code>[#629](pytest-dev/pluggy#629)
&lt;https://github.com/pytest-dev/pluggy/issues/629&gt;</code>_: Fix
hooks failing to register on Python 3.14+ when type annotations use
forward references.</p>
</li>
<li>
<p><code>[#315](pytest-dev/pluggy#315)
&lt;https://github.com/pytest-dev/pluggy/issues/315&gt;</code>_: Source
archives created by <code>git archive</code> (including GitHub's
&quot;Source code&quot; downloads) now carry version information, so
building pluggy from them no longer fails with a missing version.</p>
</li>
<li>
<p><code>[#442](pytest-dev/pluggy#442)
&lt;https://github.com/pytest-dev/pluggy/issues/442&gt;</code>_: With
the addition of default values for hookspec arguments, we also changed
the precedence of default values for <em>hookimpl</em> arguments.
Previously, if a hookimpl function declared a default for an argument,
it was always used, even if the <em>hook call</em> passed an explicit
value.
Now the precedence is changed to: hook call passed value &gt; hookspec
default value &gt; hookimpl default value.
See :ref:<code>hookimpl_arg_defaults</code>.</p>
</li>
<li>
<p><code>[#701](pytest-dev/pluggy#701)
&lt;https://github.com/pytest-dev/pluggy/issues/701&gt;</code>_:
Hookimpls and hookspecs are now discovered via
:func:<code>inspect.getattr_static</code>, so
properties, <code>cached_property</code> and other descriptors are no
longer executed while
scanning a plugin. Hooks declared through such a descriptor are not
supported.</p>
<p>As a side effect, <code>@hookimpl</code>/<code>@hookspec</code>
applied <em>above</em> <code>@classmethod</code> or
<code>@staticmethod</code> is now picked up; previously the marker sat
on the wrapper where
<code>getattr()</code> never saw it. Callables stored directly on a
plugin instance -- in its
<code>__dict__</code> or in a <code>__slots__</code> slot -- keep being
called exactly as <code>getattr()</code>
returned them, i.e. without an implicit <code>self</code>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/4c7f6365f2dde09c11e72db67d0f615231d64c19"><code>4c7f636</code></a>
Preparing release 1.7.0</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/21c7e1672941a0cd9e3c555bf5e5007f1fbe3dc5"><code>21c7e16</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/787">#787</a>
from pytest-dev/rm-outdated-doc</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/628959b178ab075c0b9af833511e53b4f5640fcb"><code>628959b</code></a>
docs: remove outdated hookimpl default args paragraph</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/2edab5eb6d1d68d628e68b1aa0796d2388733446"><code>2edab5e</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/752">#752</a>
from bluetech/register-none-allow</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/6995073de5ebc58d97dc017a7c2b7c5904f4c485"><code>6995073</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/776">#776</a>
from RonnyPfannschmidt/fix/uv-lock-pytest-downgrade</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/50c1ac94b4a3e64d2b8e1a1868d3c580c95c7164"><code>50c1ac9</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/pytest-dev/pluggy/issues/781">#781</a>)</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/6a7e84e48cbeacdcb231a1e6dffc0bd6b6bd085e"><code>6a7e84e</code></a>
Add changelog fragment for <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/776">#776</a></li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/d22cfb59c2a4c35af1335af338587d11a9a624ce"><code>d22cfb5</code></a>
Drop tox from the dev dependency group</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/74cbfa2b9a9ebf6098beb493ad1113efeb0e45e9"><code>74cbfa2</code></a>
Relock pytest and tox that dependabot downgraded</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/87f130aa18d8fdf9c92585e72423eca7f3de727d"><code>87f130a</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/755">#755</a>
from harbinresearcher/codex/entrypoint-plugin-presence</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pluggy/compare/1.6.0...1.7.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pluggy&package-manager=pip&previous-version=1.6.0&new-version=1.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
github-actions Bot pushed a commit to neuro-inc/platform-disk-api that referenced this pull request Oct 19, 2026
Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 1.6.0 to
1.7.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst">pluggy's
changelog</a>.</em></p>
<blockquote>
<h1>pluggy 1.7.0 (2026-10-14)</h1>
<h2>Deprecations and Removals</h2>
<ul>
<li><code>[#632](pytest-dev/pluggy#632)
&lt;https://github.com/pytest-dev/pluggy/issues/632&gt;</code>_:
Hookspec methods defined without <code>self</code> as the first
parameter now emit a :class:<code>DeprecationWarning</code>. Add
<code>self</code> as the first parameter or use
<code>@staticmethod</code>.</li>
</ul>
<h2>Features</h2>
<ul>
<li>
<p><code>[#170](pytest-dev/pluggy#170)
&lt;https://github.com/pytest-dev/pluggy/issues/170&gt;</code>_:
Hookspecs can now declare default values for arguments, using the usual
<code>def myhook(myarg=&quot;default&quot;)</code> syntax.
This is mainly a backward compatibility feature, to allow a hookspec to
add new parameters to an existing hook without breaking existing
<em>callers</em>.
See :ref:<code>hookspec_arg_default</code> for details.</p>
</li>
<li>
<p><code>[#729](pytest-dev/pluggy#729)
&lt;https://github.com/pytest-dev/pluggy/issues/729&gt;</code>_: Tracing
now adds detail where <code>str()</code> is ambiguous: empty strings and
strings containing
whitespace are quoted, and enums and paths show their
<code>repr()</code>.</p>
<p>A value spanning several lines is now displayed as a block instead of
running into the
surrounding trace.</p>
</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>
<p><code>[#629](pytest-dev/pluggy#629)
&lt;https://github.com/pytest-dev/pluggy/issues/629&gt;</code>_: Fix
hooks failing to register on Python 3.14+ when type annotations use
forward references.</p>
</li>
<li>
<p><code>[#315](pytest-dev/pluggy#315)
&lt;https://github.com/pytest-dev/pluggy/issues/315&gt;</code>_: Source
archives created by <code>git archive</code> (including GitHub's
&quot;Source code&quot; downloads) now carry version information, so
building pluggy from them no longer fails with a missing version.</p>
</li>
<li>
<p><code>[#442](pytest-dev/pluggy#442)
&lt;https://github.com/pytest-dev/pluggy/issues/442&gt;</code>_: With
the addition of default values for hookspec arguments, we also changed
the precedence of default values for <em>hookimpl</em> arguments.
Previously, if a hookimpl function declared a default for an argument,
it was always used, even if the <em>hook call</em> passed an explicit
value.
Now the precedence is changed to: hook call passed value &gt; hookspec
default value &gt; hookimpl default value.
See :ref:<code>hookimpl_arg_defaults</code>.</p>
</li>
<li>
<p><code>[#701](pytest-dev/pluggy#701)
&lt;https://github.com/pytest-dev/pluggy/issues/701&gt;</code>_:
Hookimpls and hookspecs are now discovered via
:func:<code>inspect.getattr_static</code>, so
properties, <code>cached_property</code> and other descriptors are no
longer executed while
scanning a plugin. Hooks declared through such a descriptor are not
supported.</p>
<p>As a side effect, <code>@hookimpl</code>/<code>@hookspec</code>
applied <em>above</em> <code>@classmethod</code> or
<code>@staticmethod</code> is now picked up; previously the marker sat
on the wrapper where
<code>getattr()</code> never saw it. Callables stored directly on a
plugin instance -- in its
<code>__dict__</code> or in a <code>__slots__</code> slot -- keep being
called exactly as <code>getattr()</code>
returned them, i.e. without an implicit <code>self</code>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/4c7f6365f2dde09c11e72db67d0f615231d64c19"><code>4c7f636</code></a>
Preparing release 1.7.0</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/21c7e1672941a0cd9e3c555bf5e5007f1fbe3dc5"><code>21c7e16</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/787">#787</a>
from pytest-dev/rm-outdated-doc</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/628959b178ab075c0b9af833511e53b4f5640fcb"><code>628959b</code></a>
docs: remove outdated hookimpl default args paragraph</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/2edab5eb6d1d68d628e68b1aa0796d2388733446"><code>2edab5e</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/752">#752</a>
from bluetech/register-none-allow</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/6995073de5ebc58d97dc017a7c2b7c5904f4c485"><code>6995073</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/776">#776</a>
from RonnyPfannschmidt/fix/uv-lock-pytest-downgrade</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/50c1ac94b4a3e64d2b8e1a1868d3c580c95c7164"><code>50c1ac9</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/pytest-dev/pluggy/issues/781">#781</a>)</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/6a7e84e48cbeacdcb231a1e6dffc0bd6b6bd085e"><code>6a7e84e</code></a>
Add changelog fragment for <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/776">#776</a></li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/d22cfb59c2a4c35af1335af338587d11a9a624ce"><code>d22cfb5</code></a>
Drop tox from the dev dependency group</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/74cbfa2b9a9ebf6098beb493ad1113efeb0e45e9"><code>74cbfa2</code></a>
Relock pytest and tox that dependabot downgraded</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/87f130aa18d8fdf9c92585e72423eca7f3de727d"><code>87f130a</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/755">#755</a>
from harbinresearcher/codex/entrypoint-plugin-presence</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pluggy/compare/1.6.0...1.7.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pluggy&package-manager=pip&previous-version=1.6.0&new-version=1.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
antiguru pushed a commit to MaterializeInc/materialize that referenced this pull request Oct 19, 2026
…dates (#39968)

Bumps the simple group in /misc/dbt-materialize with 2 updates:
[dbt-core](https://github.com/dbt-labs/dbt-core) and
[pluggy](https://github.com/pytest-dev/pluggy).

Updates `dbt-core` from 1.12.5 to 1.12.6
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dbt-labs/dbt-core/releases">dbt-core's
releases</a>.</em></p>
<blockquote>
<h2>dbt v1.12.6</h2>
<h2>dbt-core 1.12.6 - October 14, 2026</h2>
<h3>Features</h3>
<ul>
<li>Announce dbt v2 availability as an INFO message on <code>dbt
--version</code>, with a link to the v2 install docs (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Relay the v2 (Fusion) parser's log output via --log-format otel
instead of json-compat, dropping span noise, keeping fusion's
error/warning codes, and fixing a latent bug where a stray fusion stderr
line could abort the run under --warn-error (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li>Bare wildcard FQN selectors (e.g. <code>-s &quot;f_*&quot;</code>)
now match nested models regardless of subfolder depth (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li>Fix cumulative metrics with an <code>input_metric</code> and a
top-level <code>window</code> field (v2 metric spec) incorrectly failing
to parse with a legacy nested-<code>type_params</code> error (<a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>)</li>
<li>Fix compiled_code not persisted to manifest.json when using
--use-v2-parser (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li>Include <code>semantic_manifest.json</code> in the artifact set
uploaded by <code>--upload-to-artifacts-ingest-api</code>, matching
other run artifacts (<a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>)</li>
<li>Validate that tarball package download locations stay within the dbt
downloads directory (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
</ul>
<h3>Under the Hood</h3>
<ul>
<li>Rename internal &quot;Fusion&quot; naming to &quot;v2&quot; for the
v2 parser integration (exceptions, module, and test names); no
user-facing behavior change (<a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a href="https://github.com/">@</a> (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li><a href="https://github.com/aiguofer"><code>@​aiguofer</code></a>
(<a href="https://github.com/dbt-labs/dbt-core/issues/">#</a>, <a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>)</li>
<li><a
href="https://github.com/ash2shukla"><code>@​ash2shukla</code></a> (<a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>, <a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li><a href="https://github.com/ayshukla"><code>@​ayshukla</code></a>
(<a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>)</li>
<li><a
href="https://github.com/itsnamangoyal"><code>@​itsnamangoyal</code></a>
(<a href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li><a href="https://github.com/tauhid621"><code>@​tauhid621</code></a>
(<a href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/dbt-labs/dbt/blob/v1.12.6/CHANGELOG.md">dbt-core's
changelog</a>.</em></p>
<blockquote>
<h2>dbt-core 1.12.6 - October 14, 2026</h2>
<h3>Features</h3>
<ul>
<li>Announce dbt v2 availability as an INFO message on <code>dbt
--version</code>, with a link to the v2 install docs (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li>Relay the v2 (Fusion) parser's log output via --log-format otel
instead of json-compat, dropping span noise, keeping fusion's
error/warning codes, and fixing a latent bug where a stray fusion stderr
line could abort the run under --warn-error (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li>Bare wildcard FQN selectors (e.g. <code>-s &quot;f_*&quot;</code>)
now match nested models regardless of subfolder depth (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li>Fix cumulative metrics with an <code>input_metric</code> and a
top-level <code>window</code> field (v2 metric spec) incorrectly failing
to parse with a legacy nested-<code>type_params</code> error (<a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>)</li>
<li>Fix compiled_code not persisted to manifest.json when using
--use-v2-parser (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li>Include <code>semantic_manifest.json</code> in the artifact set
uploaded by <code>--upload-to-artifacts-ingest-api</code>, matching
other run artifacts (<a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>)</li>
<li>Validate that tarball package download locations stay within the dbt
downloads directory (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
</ul>
<h3>Under the Hood</h3>
<ul>
<li>Rename internal &quot;Fusion&quot; naming to &quot;v2&quot; for the
v2 parser integration (exceptions, module, and test names); no
user-facing behavior change (<a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a href="https://github.com/">@</a> (<a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li><a href="https://github.com/aiguofer"><code>@​aiguofer</code></a>
(<a href="https://github.com/dbt-labs/dbt-core/issues/">#</a>, <a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>)</li>
<li><a
href="https://github.com/ash2shukla"><code>@​ash2shukla</code></a> (<a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>, <a
href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li><a href="https://github.com/ayshukla"><code>@​ayshukla</code></a>
(<a
href="https://github.com/dbt-labs/dbt-core/issues/N/A">#N/A</a>)</li>
<li><a
href="https://github.com/itsnamangoyal"><code>@​itsnamangoyal</code></a>
(<a href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
<li><a href="https://github.com/tauhid621"><code>@​tauhid621</code></a>
(<a href="https://github.com/dbt-labs/dbt-core/issues/">#</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dbt-labs/dbt/commit/78d8367e143e753fe53c553af478708d23ccf5cc"><code>78d8367</code></a>
Bumping version to 1.12.6 and generate changelog</li>
<li><a
href="https://github.com/dbt-labs/dbt/commit/4f2d60bc6e6653b511bf9f041f11e924351caa8c"><code>4f2d60b</code></a>
Validate tarball package download path (<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/16678">#16678</a>)
(<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/16683">#16683</a>)</li>
<li><a
href="https://github.com/dbt-labs/dbt/commit/03924c8284820606edcae9f24f6e8b66a89ddda4"><code>03924c8</code></a>
fix: register semantic_manifest.json for
--upload-to-artifacts-ingest-api (<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/1">#1</a>...</li>
<li><a
href="https://github.com/dbt-labs/dbt/commit/a990c1477b7e541cde3b538e39ea4ce362bebf04"><code>a990c14</code></a>
Fix compiled_code not persisted to manifest.json under --use-v2-parser
(<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/1653">#1653</a>...</li>
<li><a
href="https://github.com/dbt-labs/dbt/commit/99a37ef6f6556824514546b23ec5cd6707ae0059"><code>99a37ef</code></a>
fix: don't set legacy type_params.window for v2 cumulative/conversion
metrics...</li>
<li><a
href="https://github.com/dbt-labs/dbt/commit/ef4446de2e6eda0b65f549e48968cc7b152078fb"><code>ef4446d</code></a>
feat: announce dbt v2 availability on <code>dbt --version</code> (<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/16132">#16132</a>)
(<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/16506">#16506</a>)</li>
<li><a
href="https://github.com/dbt-labs/dbt/commit/fe2119770daf93e10b9d3cd66edb5c3bbd0b36b6"><code>fe21197</code></a>
fix: match bare wildcard FQN selectors against nested leaf names (<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/16348">#16348</a>)
(<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/1">#1</a>...</li>
<li><a
href="https://github.com/dbt-labs/dbt/commit/a192164217c7579836e55456b9d71135ec4c8f1c"><code>a192164</code></a>
Relay v2 parser output via otel log format for output parity (<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/16325">#16325</a>)
(<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/16372">#16372</a>)</li>
<li><a
href="https://github.com/dbt-labs/dbt/commit/3cd80f56e58106c0e512da3bd9d11eae3554401f"><code>3cd80f5</code></a>
Rename internal Fusion parser naming to v2 (<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/16281">#16281</a>)
(<a
href="https://redirect.github.com/dbt-labs/dbt-core/issues/16359">#16359</a>)</li>
<li><a
href="https://github.com/dbt-labs/dbt/commit/dc2e0230e15940d81c01ba6e63f77ed43fc0a983"><code>dc2e023</code></a>
[Automated] Merged prep-release/1.12.5_34997786343 into target
1.12.latest du...</li>
<li>See full diff in <a
href="https://github.com/dbt-labs/dbt-core/compare/v1.12.5...v1.12.6">compare
view</a></li>
</ul>
</details>
<br />

Updates `pluggy` from 1.6.0 to 1.7.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst">pluggy's
changelog</a>.</em></p>
<blockquote>
<h1>pluggy 1.7.0 (2026-10-14)</h1>
<h2>Deprecations and Removals</h2>
<ul>
<li><code>[#632](pytest-dev/pluggy#632)
&lt;https://github.com/pytest-dev/pluggy/issues/632&gt;</code>_:
Hookspec methods defined without <code>self</code> as the first
parameter now emit a :class:<code>DeprecationWarning</code>. Add
<code>self</code> as the first parameter or use
<code>@staticmethod</code>.</li>
</ul>
<h2>Features</h2>
<ul>
<li>
<p><code>[#170](pytest-dev/pluggy#170)
&lt;https://github.com/pytest-dev/pluggy/issues/170&gt;</code>_:
Hookspecs can now declare default values for arguments, using the usual
<code>def myhook(myarg=&quot;default&quot;)</code> syntax.
This is mainly a backward compatibility feature, to allow a hookspec to
add new parameters to an existing hook without breaking existing
<em>callers</em>.
See :ref:<code>hookspec_arg_default</code> for details.</p>
</li>
<li>
<p><code>[#729](pytest-dev/pluggy#729)
&lt;https://github.com/pytest-dev/pluggy/issues/729&gt;</code>_: Tracing
now adds detail where <code>str()</code> is ambiguous: empty strings and
strings containing
whitespace are quoted, and enums and paths show their
<code>repr()</code>.</p>
<p>A value spanning several lines is now displayed as a block instead of
running into the
surrounding trace.</p>
</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>
<p><code>[#629](pytest-dev/pluggy#629)
&lt;https://github.com/pytest-dev/pluggy/issues/629&gt;</code>_: Fix
hooks failing to register on Python 3.14+ when type annotations use
forward references.</p>
</li>
<li>
<p><code>[#315](pytest-dev/pluggy#315)
&lt;https://github.com/pytest-dev/pluggy/issues/315&gt;</code>_: Source
archives created by <code>git archive</code> (including GitHub's
&quot;Source code&quot; downloads) now carry version information, so
building pluggy from them no longer fails with a missing version.</p>
</li>
<li>
<p><code>[#442](pytest-dev/pluggy#442)
&lt;https://appwritefunc.yet-another-te