← Back to Pull requests

chore(deps): bump mako from 1.3.12 to 1.4.2 #20660

Closed
unknown closed this pull request without merging on Oct 06, 2026 13:03 UTC
View on GitHub
unknown unknown commented on Oct 06, 2026 12:31 UTC
Author

Bumps mako from 1.3.12 to 1.4.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/sqlalchemy/mako/releases">mako's releases</a>.</em></p>
<blockquote>
<h1>1.4.2</h1>
<p>Released: Tue Sep 22 2026</p>
<h2>bug</h2>
<ul>
<li>
<p><strong>[bug] [tests]</strong> Adjusted the test suite to accommodate for a change in Pygments 2.21.0
where the <code>HtmlFormatter</code> now renders <code>&quot;</code> and <code>'</code> characters
literally rather than as HTML entities, which caused failures in tests
that assert against the rendered output of
<code>html_error_template()</code>.</p>
<p>References: <a href="https://redirect.github.com/sqlalchemy/mako/issues/440">#440</a></p>
</li>
<li>
<p><strong>[bug] [template]</strong> Fixed issue in <code>TemplateLookup</code> where a URI beginning with a drive
designator (e.g. <code>C:/../../secret.txt</code>) could bypass the directory
traversal check on Windows, allowing reads of arbitrary files outside of
the template directory. The check in <code>Template</code> normalized the URI
using <code>os.path</code>, which on Windows is <code>ntpath</code>; as <code>ntpath</code> splits the
drive designator off and treats the remainder as rooted, the <code>..</code>
segments were absorbed before the check could inspect them. Normalization
is now performed with <code>posixpath</code>, which is the same module used by
<code>TemplateLookup.get_template()</code> to resolve the URI to a file.</p>
<p>References: <a href="https://redirect.github.com/sqlalchemy/mako/issues/441">#441</a></p>
</li>
</ul>
<h1>1.4.1</h1>
<p>Released: Wed Aug 5 2026</p>
<h2>bug</h2>
<ul>
<li>
<p><strong>[bug] [installation]</strong> Fixed issue in the 1.4.0 packaging where the repository's internal
<code>tools/</code> directory was detected by setuptools package discovery and
installed as a top-level <code>tools</code> package into site-packages, shadowing
unrelated <code>tools</code> packages belonging to other applications. Package
discovery is now limited to the <code>mako</code> package explicitly.</p>
<p>References: <a href="https://redirect.github.com/sqlalchemy/mako/issues/438">#438</a></p>
</li>
</ul>
<h1>1.4.0</h1>
<p>Released: Tue Aug 4 2026</p>
<h2>changed</h2>
<ul>
<li><strong>[changed] [examples]</strong> The <code>examples/bench</code> folder has been removed as it used mostly</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/sqlalchemy/mako/commits">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR 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)

  • You can disable automated security fix PRs for this repo from the Security Alerts page.

    </details>

    Diff: 523 lines (+392 / -131) across 6 files Reviewer: miketheman Review duration: 31m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 523 lines diff across 6 files
    0.48
    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%
    60%
    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.375
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #20660"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 47.8% (MEDIUM) · Higher = larger blast radius
    47.8%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 18.9% · Safe to merge
    18.9%
    Repository