rio-color icon indicating copy to clipboard operation
rio-color copied to clipboard

Bump cython from 3.0.12 to 3.1.2

Open dependabot[bot] opened this issue 6 months ago • 0 comments

Bumps cython from 3.0.12 to 3.1.2.

Release notes

Sourced from cython's releases.

3.1.2

No release notes provided.

3.1.1

No release notes provided.

3.1.0-1

No release notes provided.

3.1.0

No release notes provided.

3.1.0rc2

No release notes provided.

3.1.0rc1

No release notes provided.

3.1.0b1

No release notes provided.

3.1.0a1

3.1.0 alpha 1 (2024-11-08)

Features added

  • Support for freethreading builds of CPython 3.13 was added. It comes with a new directive freethreading_compatible=True to mark modules as free-threading compatible (Py_mod_gil). https://github.com/cython/cython/issues?q=label%3A"nogil+CPython" Patches by Lysandros Nikolaou and Nathan Goldbaum. (Github issue :issue:6162)

  • Support for monitoring Cython modules via sys.monitoring in CPython 3.13+ was added. For coverage reporting, this needs to be disabled with -DCYTHON_USE_SYS_MONITORING=0 as long as coverage.py does not support sys.monitoring for coverage plugins. (Github issue :issue:6144)

  • Many issues with the Limited C-API were resolved. It is now sufficient to define the macro Py_LIMITED_API to activate the support. https://github.com/cython/cython/issues?q=label%3A%22limited+api%22

  • Support for GraalPython was improved (but is still incomplete).

  • Several issues with the gdb support were resolved. Patches by Kent Slaney. (Github issues :issue:5955, :issue:5948)

  • typing.Union[SomeType, None] and SomeType | None are now understood and mean the same as typing.Optional[SomeType], allowing None in type checks.

... (truncated)

Changelog

Sourced from cython's changelog.

3.1.2 (2025-06-09)

Bugs fixed

  • Attribute lookups failed on the bool builtin type. (Github issue :issue:6905)

  • Type checks on or-ed union types could incorrectly return false. (Github issue :issue:6420)

  • Negative list indexing could accidentally wrap around twice in PyPy and the Limited API.

  • Iterating over literal sequences with starred (unpacked) items could infer a wrong type for the loop variable and fail to assign the values. (Github issue :issue:6924)

  • Calls to C functions taking exception types failed to check for a None argument. (Github issue :issue:6420)

  • Fused functions had an incorrect __module__ attribute. (Github issue :issue:6897)

  • The type of Cython implemented functions had an incorrect __module__ attribute. (Github issue :issue:6841)

  • Errors while indexing into bytearray or str in nogil sections could crash. (Github issue :issue:6947)

  • bytearray.append() could silently accept some invalid character numbers.

  • The C++11 <type_traits> header was included regardless of the C++ version. (Github issue :issue:6896)

  • PyDict_GetItemStringRef() was accidentally used in older Limited API versions. (Github issue :issue:6914)

  • abort() was used but not always available in the Limited API. (Github issue :issue:6918)

  • Some dependencies were missing from the depfile. (Github issue :issue:6938)

  • Embedded function signatures were not always separated from the existing docstring. (Github issue :issue:6904)

  • numpy.math was missing from Cython/Includes/ and could not be cimported. (Github issue :issue:6859)

... (truncated)

Commits
  • 51f471d Bump ccache action version (GH-6955)
  • 40c2324 Update changelog.
  • 98b70ee Fixup shared metaclass in 3.1.x (GH-6953)
  • 59e2502 Make sure we correctly reject large negative integer values in "bytearray.app...
  • 466891c Use an explicit cast to avoid a C conversion warning.
  • b0d6aa1 Prepare release of 3.1.2.
  • 0440d5f Update changelog.
  • e860884 Fix __module__ attribute of shared types with metaclass (#6882)
  • 5e9d7ad Build: Explicitly include "numpy/math.pxd" again.
  • ea65182 Fix error handling in nogil indexing of bytearray and str (#6947)
  • 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 Jun 17 '25 00:06 dependabot[bot]