Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Bump cython from 3.1.6 to 3.2.0 (aio-libs#11744)
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://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://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://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://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://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://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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 1, 2025
commit eeec2dcf8028c6b0e8d4e75da2f44490c9003538
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ coverage==7.11.0
# pytest-cov
cryptography==46.0.3
# via trustme
cython==3.1.6
cython==3.2.2
# via -r requirements/cython.in
distlib==0.4.0
# via virtualenv
Expand Down
2 changes: 1 addition & 1 deletion requirements/cython.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# pip-compile --allow-unsafe --output-file=requirements/cython.txt --resolver=backtracking --strip-extras requirements/cython.in
#
cython==3.1.6
cython==3.2.2
# via -r requirements/cython.in
multidict==6.7.0
# via -r requirements/multidict.in
Expand Down
Loading