Skip to content

Commit c5a6c71

Browse files
Build: Bump cython from 3.1.6 to 3.2.0 (#2717)
Bumps [cython](https://github.com/cython/cython) from 3.1.6 to 3.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cython/cython/releases">cython's releases</a>.</em></p> <blockquote> <h2>3.2.0</h2> <p>No release notes provided.</p> <h2>3.2.0b3</h2> <p>No release notes provided.</p> <h2>3.2.0b2</h2> <p>No release notes provided.</p> <h2>3.2.0b1-3</h2> <p>No release notes provided.</p> <h2>3.2.0b1</h2> <p>Not released due to package metadata problems.</p> </blockquote> </details> <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.2.0 (2025-11-05)</h1> <p>(Complete changelog for the 3.2.0 release, including pre-releases.)</p> <h2>Features added</h2> <ul> <li> <p>Builtin exception types are now inferred. (Github issue :issue:<code>6908</code>)</p> </li> <li> <p>The list of known, inferred and optimised Python builtins was updated. <code>range</code> is now considered a type. <code>ascii</code>, <code>bin</code>, <code>format</code>, <code>hex</code>, <code>oct</code> were added as functions. (Github issue :issue:<code>6931</code>)</p> </li> <li> <p>The f-string syntax was extended according to PEP-701. (Github issue :issue:<code>5452</code>)</p> </li> <li> <p>t-strings are implemented according to PEP-750. The implementation backports the template classes but prefers existing backports if installed separately. (Github issue :issue:<code>6811</code>)</p> </li> <li> <p>Unknown return type annotations with <code>-&gt;</code> are no longer rejected but produce warnings. This allows better integration with Python type hints that are not always usable for Cython. <code>-&gt; None</code> is also allowed now. Patch by jpe. (Github issue :issue:<code>6946</code>)</p> </li> <li> <p>The runtime Python dispatch for fused functions is substantially faster. (Github issues :issue:<code>1385</code>, :issue:<code>6996</code>)</p> </li> <li> <p>Freelists (via cdef class decorator and for internally used types such as <code>async</code>) are now also used in the Limited API and with extension type specs enabled. (Github issue :issue:<code>7151</code>)</p> </li> <li> <p>Module imports now quickly check for an already imported module to speed up reimports. Patch by Lysandros Nikolaou. (Github issue :issue:<code>7035</code>)</p> </li> <li> <p>Type checks on PEP-604 union types (<code>int | None</code>) are optimised into separate checks. (Github issue :issue:<code>6935</code>)</p> </li> <li> <p>Assignments to the PEP-604 union type <code>float | None</code> allow any suitable Python number as input and convert it to a Python <code>float</code> automatically. (Github issue :issue:<code>5750</code>)</p> </li> <li> <p>Item type inference was improved for looping over literals. (Github issue :issue:<code>6912</code>)</p> </li> <li> <p>Looping over literal sequences and strings now uses efficient C array looping if possible. (Github issue :issue:<code>6926</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/e6533f887fbde09d265ea85765d2e2fa235b38e5"><code>e6533f8</code></a> Prepare release of 3.2.0.</li> <li><a href="https://github.com/cython/cython/commit/3748286bc1ffd5e74a91a8eefb56206ef2a5bb42"><code>3748286</code></a> Update changelog.</li> <li><a href="https://github.com/cython/cython/commit/404f2268893f6f6e536b0063a5dc00e2c1b94823"><code>404f226</code></a> Docs: Add a note that the Limited API is currently only supported in CPython.</li> <li><a href="https://github.com/cython/cython/commit/f216cfb30e82af5a46ef2f522dfc97a4eb23c24a"><code>f216cfb</code></a> Fix path building in cygdb script for Windows usage (<a href="https://redirect.github.com/cython/cython/issues/7285">GH-7285</a>)</li> <li><a href="https://github.com/cython/cython/commit/ae782736986935746b7100a68162f832bce81b4d"><code>ae78273</code></a> Add PyPy 3.11 to test matrix (<a href="https://redirect.github.com/cython/cython/issues/7284">#7284</a>)</li> <li><a href="https://github.com/cython/cython/commit/b3528ac248ce1e05b6f33e344acd7b51e72bec51"><code>b3528ac</code></a> Bump the github-actions group with 2 updates (<a href="https://redirect.github.com/cython/cython/issues/7278">#7278</a>)</li> <li><a href="https://github.com/cython/cython/commit/1e2102362036a1872e4ca0d6a9acff7fe97c03d6"><code>1e21023</code></a> Expand isolated limited API tests to cover more versions (<a href="https://redirect.github.com/cython/cython/issues/7280">#7280</a>)</li> <li><a href="https://github.com/cython/cython/commit/e2ef20c527c7d0b1b01d2cbb486c0db92d54d323"><code>e2ef20c</code></a> Move memoryview acquisition counting out of generic atomics code (<a href="https://redirect.github.com/cython/cython/issues/7277">GH-7277</a>)</li> <li><a href="https://github.com/cython/cython/commit/15f5864c2811bbd4b29b9dad9ac5425aca18c8b8"><code>15f5864</code></a> Docs: Fix C++ wrapping example in user guide (<a href="https://redirect.github.com/cython/cython/issues/7195">GH-7195</a>)</li> <li><a href="https://github.com/cython/cython/commit/730a05b38a517180be7ec9b627c76d89d160cd55"><code>730a05b</code></a> Prepare release of 3.2.0b3.</li> <li>Additional commits viewable in <a href="https://github.com/cython/cython/compare/3.1.6...3.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cython&package-manager=pip&previous-version=3.1.6&new-version=3.2.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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 7725ac3 commit c5a6c71

File tree

2 files changed

+42
-75
lines changed

2 files changed

+42
-75
lines changed

poetry.lock

Lines changed: 41 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ typing-extensions = "4.15.0"
9999
pytest-mock = "3.15.1"
100100
pyspark = { version = "4.0.1", extras = ["connect"] }
101101
protobuf = "6.33.0" # match Spark Connect's gencode
102-
cython = "3.1.6"
102+
cython = "3.2.0"
103103
deptry = ">=0.14,<0.25"
104104
docutils = "!=0.21.post1" # https://github.com/python-poetry/poetry/issues/9248#issuecomment-2026240520
105105
mypy-boto3-glue = ">=1.28.18"

0 commit comments

Comments
 (0)