Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 6, 2025

Bumps cython from 3.1.6 to 3.2.0.

Release notes

Sourced from cython's releases.

3.2.0

No release notes provided.

3.2.0b3

No release notes provided.

3.2.0b2

No release notes provided.

3.2.0b1-3

No release notes provided.

3.2.0b1

Not released due to package metadata problems.

Changelog

Sourced from cython's changelog.

3.2.0 (2025-11-05)

(Complete changelog for the 3.2.0 release, including pre-releases.)

Features added

  • Builtin exception types are now inferred. (Github issue :issue:6908)

  • The list of known, inferred and optimised Python builtins was updated. range is now considered a type. ascii, bin, format, hex, oct were added as functions. (Github issue :issue:6931)

  • The f-string syntax was extended according to PEP-701. (Github issue :issue:5452)

  • t-strings are implemented according to PEP-750. The implementation backports the template classes but prefers existing backports if installed separately. (Github issue :issue:6811)

  • Unknown return type annotations with -> are no longer rejected but produce warnings. This allows better integration with Python type hints that are not always usable for Cython. -> None is also allowed now. Patch by jpe. (Github issue :issue:6946)

  • The runtime Python dispatch for fused functions is substantially faster. (Github issues :issue:1385, :issue:6996)

  • Freelists (via cdef class decorator and for internally used types such as async) are now also used in the Limited API and with extension type specs enabled. (Github issue :issue:7151)

  • Module imports now quickly check for an already imported module to speed up reimports. Patch by Lysandros Nikolaou. (Github issue :issue:7035)

  • Type checks on PEP-604 union types (int | None) are optimised into separate checks. (Github issue :issue:6935)

  • Assignments to the PEP-604 union type float | None allow any suitable Python number as input and convert it to a Python float automatically. (Github issue :issue:5750)

  • Item type inference was improved for looping over literals. (Github issue :issue:6912)

  • Looping over literal sequences and strings now uses efficient C array looping if possible. (Github issue :issue:6926)

... (truncated)

Commits
  • e6533f8 Prepare release of 3.2.0.
  • 3748286 Update changelog.
  • 404f226 Docs: Add a note that the Limited API is currently only supported in CPython.
  • f216cfb Fix path building in cygdb script for Windows usage (GH-7285)
  • ae78273 Add PyPy 3.11 to test matrix (#7284)
  • b3528ac Bump the github-actions group with 2 updates (#7278)
  • 1e21023 Expand isolated limited API tests to cover more versions (#7280)
  • e2ef20c Move memoryview acquisition counting out of generic atomics code (GH-7277)
  • 15f5864 Docs: Fix C++ wrapping example in user guide (GH-7195)
  • 730a05b Prepare release of 3.2.0b3.
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 6, 2025
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 6, 2025
@github-actions github-actions bot enabled auto-merge (squash) November 6, 2025 10:02
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 6, 2025

CodSpeed Performance Report

Merging #11744 will not alter performance

Comparing dependabot/pip/cython-3.2.0 (b7316c3) with master (a46f252)

Summary

✅ 59 untouched

@codecov
Copy link

codecov bot commented Nov 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.73%. Comparing base (a46f252) to head (b7316c3).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11744      +/-   ##
==========================================
- Coverage   98.74%   98.73%   -0.01%     
==========================================
  Files         127      127              
  Lines       43823    43823              
  Branches     2332     2332              
==========================================
- Hits        43273    43270       -3     
- Misses        389      392       +3     
  Partials      161      161              
Flag Coverage Δ
CI-GHA 98.60% <ø> (-0.01%) ⬇️
OS-Linux 98.33% <ø> (-0.01%) ⬇️
OS-Windows 96.67% <ø> (ø)
OS-macOS 97.56% <ø> (ø)
Py-3.10.11 97.10% <ø> (ø)
Py-3.10.19 97.60% <ø> (ø)
Py-3.11.14 97.80% <ø> (ø)
Py-3.11.9 97.31% <ø> (-0.01%) ⬇️
Py-3.12.10 97.41% <ø> (ø)
Py-3.12.12 97.90% <ø> (ø)
Py-3.13.9 98.15% <ø> (ø)
Py-3.14.0 98.11% <ø> (ø)
Py-3.14.0t 97.18% <ø> (ø)
Py-pypy3.11.13-7.3.20 97.40% <ø> (ø)
VM-macos 97.56% <ø> (ø)
VM-ubuntu 98.33% <ø> (-0.01%) ⬇️
VM-windows 96.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Dreamsorcerer
Copy link
Member

@dependabot recreate

Bumps [cython](https://github.com/cython/cython) from 3.1.6 to 3.2.0.
- [Release notes](https://github.com/cython/cython/releases)
- [Changelog](https://github.com/cython/cython/blob/master/CHANGES.rst)
- [Commits](cython/cython@3.1.6...3.2.0)

---
updated-dependencies:
- dependency-name: cython
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/cython-3.2.0 branch from 78e2cb2 to b7316c3 Compare December 1, 2025 18:29
@github-actions github-actions bot merged commit eeec2dc into master Dec 1, 2025
41 checks passed
@github-actions github-actions bot deleted the dependabot/pip/cython-3.2.0 branch December 1, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants