← Back to Pull requests

Update pyyaml requirement from >=6.0.3 to >=6.0.4 #2806

Closed
unknown closed this pull request without merging on Nov 24, 2026 18:48 UTC
View on GitHub
unknown unknown commented on Nov 24, 2026 02:02 UTC
Author

Updates the requirements on pyyaml to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/yaml/pyyaml/releases">pyyaml's releases</a>.</em></p>
<blockquote>
<h2>6.0.4</h2>
<h2>What's Changed</h2>
<ul>
<li>Added support for Python 3.15.</li>
<li>Dropped support for EoL Python 3.8, 3.9.</li>
<li>Fixed exponential merge key expansion (<a href="https://redirect.github.com/yaml/pyyaml/issues/937">#937</a>).</li>
<li>Exposed libyaml 0.2.6 recursion control API (<a href="https://redirect.github.com/yaml/pyyaml/issues/1010">#1010</a>) - no-op when missing.</li>
<li>Bumped wheel builds to libyaml 0.2.6.</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4">https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yaml/pyyaml/blob/6.0.4/CHANGES">pyyaml's changelog</a>.</em></p>
<blockquote>
<p>6.0.4 (2026-11-20)</p>
<ul>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/937">yaml/pyyaml#937</a> -- Fix merge key performance</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/1010">yaml/pyyaml#1010</a> -- Expose libyaml recursion control API (no-op on libyaml &lt; 0.2.6)</li>
</ul>
<p>6.0.3 (2025-09-25)</p>
<ul>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/864">yaml/pyyaml#864</a> -- Support for Python 3.14 and free-threading (experimental)</li>
</ul>
<p>6.0.2 (2024-08-06)</p>
<ul>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/808">yaml/pyyaml#808</a> -- Support for Cython 3.x and Python 3.13</li>
</ul>
<p>6.0.1 (2023-07-18)</p>
<ul>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/702">yaml/pyyaml#702</a> -- pin Cython build dep to &lt; 3.0</li>
</ul>
<p>6.0 (2021-10-13)</p>
<ul>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/327">yaml/pyyaml#327</a> -- Change README format to Markdown</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/483">yaml/pyyaml#483</a> -- Add a test for YAML 1.1 types</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/497">yaml/pyyaml#497</a> -- fix float resolver to ignore <code>.</code> and <code>._</code></li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/550">yaml/pyyaml#550</a> -- drop Python 2.7</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/553">yaml/pyyaml#553</a> -- Fix spelling of “hexadecimal”</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/556">yaml/pyyaml#556</a> -- fix representation of Enum subclasses</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/557">yaml/pyyaml#557</a> -- fix libyaml extension compiler warnings</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/560">yaml/pyyaml#560</a> -- fix ResourceWarning on leaked file descriptors</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/561">yaml/pyyaml#561</a> -- always require <code>Loader</code> arg to <code>yaml.load()</code></li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/564">yaml/pyyaml#564</a> -- remove remaining direct distutils usage</li>
</ul>
<p>5.4.1 (2021-01-20)</p>
<ul>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/480">yaml/pyyaml#480</a> -- Fix stub compat with older pyyaml versions that may unwittingly load it</li>
</ul>
<p>5.4 (2021-01-19)</p>
<ul>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/407">yaml/pyyaml#407</a> -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/472">yaml/pyyaml#472</a> -- Fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/441">yaml/pyyaml#441</a> -- Fix memory leak in implicit resolver setup</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/392">yaml/pyyaml#392</a> -- Fix py2 copy support for timezone objects</li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/378">yaml/pyyaml#378</a> -- Fix compatibility with Jython</li>
</ul>
<p>5.3.1 (2020-03-18)</p>
<ul>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/386">yaml/pyyaml#386</a> -- Prevents arbitrary code execution during python/object/new constructor</li>
</ul>
<p>5.3 (2020-01-06)</p>
<ul>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/290">yaml/pyyaml#290</a> -- Use <code>is</code> instead of equality for comparing with <code>None</code></li>
<li><a href="https://redirect.github.com/yaml/pyyaml/pull/270">yaml/pyyaml#270</a> -- Fix typos and stylistic nit</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/yaml/pyyaml/commit/575f0e87bcc3b95f4df8da4aaddb0bef4e4553fc"><code>575f0e8</code></a> Release 6.0.4 (<a href="https://redirect.github.com/yaml/pyyaml/issues/1012">#1012</a>)</li>
<li><a href="https://github.com/yaml/pyyaml/commit/36a9c4f95d641e49f09c8db23a24d0adedd94fea"><code>36a9c4f</code></a> Dos in merge key (<a href="https://redirect.github.com/yaml/pyyaml/issues/937">#937</a>) (<a href="https://redirect.github.com/yaml/pyyaml/issues/1011">#1011</a>)</li>
<li><a href="https://github.com/yaml/pyyaml/commit/124810b9e368ed24a7c3f6245064a84d35eaf584"><code>124810b</code></a> Expose/test libyaml recursion controls (<a href="https://redirect.github.com/yaml/pyyaml/issues/1010">#1010</a>)</li>
<li><a href="https://github.com/yaml/pyyaml/commit/98d4a6b35ea3055fb04a989df842b215ff09520f"><code>98d4a6b</code></a> Minimal CI refresh for 3.15 (<a href="https://redirect.github.com/yaml/pyyaml/issues/971">#971</a>)</li>
<li>See full diff in <a href="https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4">compare view</a></li>
</ul>
</details>
<br />

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>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: roycaihw Review duration: 1005m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2806"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 22.5% · Safe to merge
    22.5%