chore(deps-dev): bump cython from 3.0.12 to 3.1.1
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(about 1 year ago)
(about 1 year ago)
dependencies python
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=Trueto 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.monitoringin CPython 3.13+ was added. For coverage reporting, this needs to be disabled with-DCYTHON_USE_SYS_MONITORING=0as long ascoverage.pydoes not supportsys.monitoringfor 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_APIto activate the support. https://github.com/cython/cython/issues?q=label%3A%22limited+api%22Support 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]andSomeType | Noneare now understood and mean the same astyping.Optional[SomeType], allowingNonein type checks. (Github issue :issue:6254)
cython.const[]andcython.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 longvalues could be truncated when passed into PyPy. (Github issue :issue:6890)
callable()incorrectly reportedFalsein 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
constcontext 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
aeadbbePrepare release of Cython 3.1.1.9532c33Update changelog.e7baa59Use PyCallable_Check() instead of type slots for callable() in PyPy (GH-6894)279377dFix race in dict getter (GH-6849)987891eUpdate changelog.edac547Avoid calling "PyLong_FromUnsignedLongLong()" in PyPy.8e107e9Document CYTHON_USE_SYS_MONITORING (GH-6886)56ab917CI: Fix PyPy3.8 build (GH-6889)0ab0e32Update trace/profile test config for Py3.12, which at least partially works.c4adc2dCI: Also disable "twine" usage on "Py*t-dev" versions.- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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
1
1
+64
-66
Package Dependencies
Technical Details
| ID: | 642818 |
| UUID: | 2542970959 |
| Node ID: | PR_kwDOAUjOu86XkqhP |
| Host: | GitHub |
| Repository: | python-zeroconf/python-zeroconf |
| Merge State: | Unknown |