friture icon indicating copy to clipboard operation
friture copied to clipboard

chore(deps-dev): bump cython from 3.1.4 to 3.2.2

Open dependabot[bot] opened this issue 1 month ago • 0 comments

Bumps cython from 3.1.4 to 3.2.2.

Release notes

Sourced from cython's releases.

3.2.2

No release notes provided.

3.2.1

No release notes provided.

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)

... (truncated)

Changelog

Sourced from cython's changelog.

3.2.2 (2025-11-30)

Features added

  • The C-API declarations were updated to include the new PyDict_*Ref() functions. (Github issue :issue:7291)

Bugs fixed

  • Iteration over literal sequences and strings in generators generated invalid C code since 3.2.0. This was a regression due to the C array iteration optimisation in :issue:6926, which is now disabled inside of generators. (Github issue :issue:7342)

  • Calling special methods of known exception types failed with an AttributeError. (Github issue :issue:7342)

  • Calling the unbound __mul__ special method of builtin collections with subtypes failed. (Github issue :issue:7340)

  • C string literals could generate invalid "const to non-const" casts in the C code. (Github issue :issue:7346)

  • yield is no longer allowed inside of a cython.critical_section, but is now allowed while holding a cython.pymutex. (Github issue :issue:7317)

  • Under lock congestion, acquiring the GIL could crash in Python 3.11, part 2. This bug was introduced in Cython 3.2.0. (Github issue :issue:7312)

  • The new py_safe_* functions in libc.threads triggered C compiler warnings. (Github issue :issue:7356)

3.2.1 (2025-11-12)

Features added

  • Cython now leaves markers about its utility code dependencies in the generated C code to help debugging "unused function" C compiler warnings. (Github issue :issue:7294)

Bugs fixed

... (truncated)

Commits
  • 2a8ee41 Prepare release of 3.2.2.
  • de755ac Update changelog.
  • bb88e35 Silence a C signedness conversion warning.
  • 8eaca89 Disable optimisation into C array iteration for iterating string literals ins...
  • a9a7be1 CI: Trigger the sanitizers in the 3.2.x branch.
  • c7e75d4 CI: Add a missing trigger file for the sanitizers.
  • 41b9144 Update changelog.
  • 928a41d Add address/undefined behaviour/thread sanitizer tests (#7334)
  • 7eb8405 CI: Move independent workflows out of CI workflow file (GH-7370)
  • 5d05168 Add PyDict_*Ref APIs to cpython.dict (#7291)
  • 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[bot] avatar Dec 01 '25 04:12 dependabot[bot]