An open index of dependabot pull requests across open source projects.

chore(deps-dev): bump cython from 3.0.12 to 3.1.1

Open
Number: #1590
Type: Pull Request
State: Open
Author: dependabot[bot] dependabot[bot]
Association: Contributor
Comments: 0
Created: May 26, 2025 at 04:26 AM UTC
(5 months ago)
Updated: May 26, 2025 at 04:48 AM UTC
(5 months ago)
Labels:
dependencies python
Description:

Bumps cython from 3.0.12 to 3.1.1.

Release notes

Sourced from cython's releases.

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. (Github issue :issue:6254)

  • cython.const[] and cython.volatile[] are now available as type modifiers in Python code.

... (truncated)

Changelog

Sourced from cython's changelog.

3.1.1 (2025-05-19)

Bugs fixed

  • A reference leak in the async delegation code was fixed. (Github issues :issue:6850, :issue:6878)

  • Conditional if-else expressions mixing Python and C (numeric) types could end up inferring an overly tight result type, thus leading to unexpected type conversions, runtime exceptions on assignment, or incorrect "temporary assignment" compile errors. (Github issue :issue:6854)

  • Some Limited API issues were resolved. (Github issue :issue:6862)

  • Large C long long values could be truncated when passed into PyPy. (Github issue :issue:6890)

  • callable() incorrectly reported False in PyPy for classes with metaclasses. Patch by Anatolii Aniskovych. (Github issue :issue:6892)

  • The signature of fused functions was no longer introspectable in Cython 3.1.0. (Github issue :issue:6855)

  • Coroutines could generate invalid C with line tracing enabled. (Github issue :issue:6865)

  • Code using complex() could generate invalid C code missing type declarations. (Github issue :issue:6860)

  • Code using e.g. list[int | None] outside of variable/argument annotations failed to compile. (Github issue :issue:6856)

  • Code using ctuples in a const context could generate invalid C. (Github issue :issue:6864)

  • Accessing special methods on cpdef enums failed to compile.

  • Some C compiler warnings were resolved. Patches by Daniel Larraz. (Github issues :issue:6876, :issue:3172, :issue:6873, :issue:6877)

  • Re-establish support for PyPy 3.8. (Github issue :issue:6867)

3.1.0 (2025-05-08)

... (truncated)

Commits
  • aeadbbe Prepare release of Cython 3.1.1.
  • 9532c33 Update changelog.
  • e7baa59 Use PyCallable_Check() instead of type slots for callable() in PyPy (GH-6894)
  • 279377d Fix race in dict getter (GH-6849)
  • 987891e Update changelog.
  • edac547 Avoid calling "PyLong_FromUnsignedLongLong()" in PyPy.
  • 8e107e9 Document CYTHON_USE_SYS_MONITORING (GH-6886)
  • 56ab917 CI: Fix PyPy3.8 build (GH-6889)
  • 0ab0e32 Update trace/profile test config for Py3.12, which at least partially works.
  • c4adc2d CI: Also disable "twine" usage on "Py*t-dev" versions.
  • 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)
Pull Request Statistics
Commits:
1
Files Changed:
1
Additions:
+64
Deletions:
-66
Package Dependencies
Package:
cython
Ecosystem:
pip
Version Change:
3.0.12 → 3.1.1
Update Type:
Minor
Technical Details
ID: 642818
UUID: 2542970959
Node ID: PR_kwDOAUjOu86XkqhP
Host: GitHub
Repository: python-zeroconf/python-zeroconf
Merge State: Unknown