Skip to content

Bump cython from 3.0.12 to 3.1.1 #868

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2025
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 20, 2025

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)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 20, 2025
@frenck frenck merged commit 30d028f into master May 20, 2025
8 checks passed
@frenck frenck deleted the dependabot/pip/cython-3.1.1 branch May 20, 2025 08:11
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant