← Back to Pull requests

Update cython requirement from >=3.3.0 to >=3.3.1 #27

Closed
unknown closed this pull request without merging on Nov 06, 2026 06:00 UTC
View on GitHub
unknown unknown commented on Nov 05, 2026 19:02 UTC
Author

Updates the requirements on cython to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/cython/cython/blob/master/CHANGES.rst">cython's changelog</a>.</em></p>
<blockquote>
<h1>3.3.1 (2026-11-01)</h1>
<p>Most of the bugs fixed in this release were regressions in 3.3.0.</p>
<h2>Features added</h2>
<ul>
<li>
<p>Declarations for the C99 <code>bool</code> type in <code>&lt;stdbool.h&gt;</code> were added.
(Github issue :issue:<code>8011</code>)</p>
</li>
<li>
<p>Fused function objects are slightly smaller in the Limited API.
(Github issue :issue:<code>7967</code>)</p>
</li>
<li>
<p>Cython warns when enabling subinterpreter support for modules that cannot
currently support it for technical reasons.
(Github issue :issue:<code>8006</code>)</p>
</li>
<li>
<p>The shared module is now automatically declared as <code>freethreading_compatible</code> and sets
<code>subinterpretes_compatible</code> as applicable (currently depending on memoryview usage).
Both are overridable by users as usual.
(Github issue :issue:<code>8037</code>)</p>
</li>
</ul>
<h2>Bugs fixed</h2>
<ul>
<li>
<p>Constant folding of multiplied sequences could return incorrect results.
Patch by orztrickster. (Github issue :issue:<code>8021</code>)</p>
</li>
<li>
<p>Cython 3.3.0 incorrectly assumed that Python integer powers always return integers.
Patch by Clay Dugo. (Github issue :issue:<code>7989</code>)</p>
</li>
<li>
<p>The return value of optimised calls to <code>dict.get()</code>, <code>dict.pop()</code> and <code>dict.setdefault()</code>
were inferred independent of their default values, leading to incorrect C code being generated.
(Github issue :issue:<code>7991</code>)</p>
</li>
<li>
<p>Some redeclarations of annotated variables were incorrectly rejected.
They are now generally allowed and Cython only warns about obviously incorrect cases.
(Github issue :issue:<code>7920</code>)</p>
</li>
<li>
<p>Type inference now respects <code>annotation_typing=False</code> for local variable annotations.
Patch by GruffElixir. (Github issue :issue:<code>7994</code>)</p>
</li>
<li>
<p>Type inference depended on arbitrary set ordering when circular references are involved.
As an effect, the <code>Cython.Compiler.FlowControl</code> module was translated to slightly
non-deterministic C code.
(Github issue :issue:<code>8002</code>)</p>
</li>
<li>
<p>Assigning different slices of the same memoryview to different extension type attributes
could generate incorrect refcounting code.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/cython/cython/commit/59e1b91224c973f5e32a49fe802253b0e93b896a"><code>59e1b91</code></a> Fix several CyCache cleanup issues. (<a href="https://redirect.github.com/cython/cython/issues/8090">GH-8090</a>)</li>
<li><a href="https://github.com/cython/cython/commit/f3690a3771dd4c97573e648e5a0e26dbee72037f"><code>f3690a3</code></a> Update changelog.</li>
<li><a href="https://github.com/cython/cython/commit/86d686911ad70e480a0da0bfa13343925181a131"><code>86d6869</code></a> Update changelog.</li>
<li><a href="https://github.com/cython/cython/commit/92ca11d3dcf8c5e634fc5cba5529bfd707362ca7"><code>92ca11d</code></a> Update changelog.</li>
<li><a href="https://github.com/cython/cython/commit/9b2d20b17cf01a9c5904e4282d3707cec061e4ec"><code>9b2d20b</code></a> Update documentation and test for passing &quot;--module-name&quot; to &quot;cython generate...</li>
<li><a href="https://github.com/cython/cython/commit/f7fea5a00ab07ba8c17f4056aff4a0bf19443deb"><code>f7fea5a</code></a> Shared module: ensure build directory path is stripped from source filename a...</li>
<li><a href="https://github.com/cython/cython/commit/6827d3a5928ad7b9165260d82a70578c5778748a"><code>6827d3a</code></a> Update changelog.</li>
<li><a href="https://github.com/cython/cython/commit/bb7c995f67d427bd18caf94575255092ff5d241f"><code>bb7c995</code></a> Prepare release of 3.3.1.</li>
<li><a href="https://github.com/cython/cython/commit/68ba6a6db43cc5eec40401030063e1249e523759"><code>68ba6a6</code></a> Avoid unused is_unsigned warning when converting large enums (<a href="https://redirect.github.com/cython/cython/issues/8087">#8087</a>)</li>
<li><a href="https://github.com/cython/cython/commit/1be89f9ae21b5445919cd20d43ebd8fd84d978fa"><code>1be89f9</code></a> Manual dependency update for cibuildwheel (<a href="https://redirect.github.com/cython/cython/issues/8074">#8074</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/cython/cython/compare/3.3.0...3.3.1">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: cjrh Review duration: 657m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). 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%
    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.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #27"
    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: 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: 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: 20.5% · Safe to merge
    20.5%