Repository navigation
chore(dependencies): update dependency cython to >=3.3.1 - #186
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #186 +/- ##
=======================================
Coverage 92.38% 92.38%
=======================================
Files 1 1
Lines 105 105
=======================================
Hits 97 97
Misses 8 8 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
>=3.3.0→>=3.3.1Release Notes
cython/cython (Cython)
v3.3.1Compare Source
==================
Most of the bugs fixed in this release were regressions in 3.3.0.
Features added
Declarations for the C99
booltype in<stdbool.h>were added.(Github issue :issue:
8011)Fused function objects are slightly smaller in the Limited API.
(Github issue :issue:
7967)Cython warns when enabling subinterpreter support for modules that cannot
currently support it for technical reasons.
(Github issue :issue:
8006)The shared module is now automatically declared as
freethreading_compatibleand setssubinterpretes_compatibleas applicable (currently depending on memoryview usage).Both are overridable by users as usual.
(Github issue :issue:
8037)Bugs fixed
Constant folding of multiplied sequences could return incorrect results.
Patch by orztrickster. (Github issue :issue:
8021)Cython 3.3.0 incorrectly assumed that Python integer powers always return integers.
Patch by Clay Dugo. (Github issue :issue:
7989)The return value of optimised calls to
dict.get(),dict.pop()anddict.setdefault()were inferred independent of their default values, leading to incorrect C code being generated.
(Github issue :issue:
7991)Some redeclarations of annotated variables were incorrectly rejected.
They are now generally allowed and Cython only warns about obviously incorrect cases.
(Github issue :issue:
7920)Type inference now respects
annotation_typing=Falsefor local variable annotations.Patch by GruffElixir. (Github issue :issue:
7994)Type inference depended on arbitrary set ordering when circular references are involved.
As an effect, the
Cython.Compiler.FlowControlmodule was translated to slightlynon-deterministic C code.
(Github issue :issue:
8002)Assigning different slices of the same memoryview to different extension type attributes
could generate incorrect refcounting code.
(Github issue :issue:
8016)Enabling vectorcall for a class with a base class that doesn't have it incorrectly called
up to the non-existing base class vectorcall slot.
(Github issue :issue:
7936)Cascaded assignments to differently type-inferred variables could generate incorrect C code.
(Github issue :issue:
7937)Method calls on typed containers with unused results could generate incorrect C code.
(Github issue :issue:
7922)Using
None-returning builtin methods as part of expressions could generate incorrect C code.(Github issue :issue:
7946)The C code generated for exception groups could lack a C variable declaration.
Patch by bwenstar. (Github issue :issue:
8043)Exporting fused functions generated invalid C code in API header files.
Patch by Ardi Loot. (Github issue :issue:
7972)Non-trivially generated keyword arguments (e.g.
**{dict}) could fail to compile.(Github issue :issue:
7921)Builtin method calls on dicts from non-trivial expressions could fail to compile.
(Github issue :issue:
7931)Some builtin optimisations could fail to compile on non-trivial expressions.
(Github issue :issue:
7957)Typing a global variable with an unknown type could fail to compile.
(Github issue :issue:
7970)Declaring a C array of extension types crashed Cython after reporting the error.
Patch by Vladimir Saraikin. (Github issue :issue:
1993)Optimised string comparison to single-character text strings accidentally allowed bytes.
(Github issue :issue:
7924)Errors while testing object attributes in match statements were ignored.
Patch by Vineet Kumar. (Github issue :issue:
8029)A dangling pointer was fixed when assigning to attributes of extension types.
(Github issue :issue:
7907)Re-raising an exception from an awaited Python coroutine could leak a frame reference.
Patch by bwenstar. (Github issue :issue:
8042)Trying to reimport a module compiled with module state now raises an exception instead of
returning the original module, which let CPython overwrite the module state and crash.
Patch by Max Azatian. (Github issue :issue:
8048)Throwing into a pending async generator's
aclose()could crash.Patch by Arthur Villeneuve. (Github issue :issue:
8027)A crash was resolved when mixing Cython modules compiled with different Limited API versions.
(Github issue :issue:
7914)A GCC LTO-related compile/link problem was resolved when comparing Python ints.
(Github issue :issue:
7908)isfinite()was used for Python float comparisons but not defined in NetBSD in C++ compile mode.(Github issue :issue:
7915)The
__Pyx_pretend_to_initialize()function could fail to compile in C code that doesn't even need it.(Github issue :issue:
7941)Modules containing only the empty string as single bytes literal generated invalid C code.
(Github issue :issue:
7965)User cimports of C++ names could break the internally generated C++ conversion functions
and lead to compile failures or incorrect C++ code.
(Github issue :issue:
7939)The C code generated for the shared module was not deterministic.
Patch by Ralf Gommers. (Github issue :issue:
7982)Special .pxd file names like
__init__.pxdand version file suffixes were mishandledwhen stripping file paths.
Patch by Ralf Gommers. (Github issue :issue:
7984)Non-standard type initialisation in SageMath allowed repeated initialisation
of Cython's internal types, overwriting the previous types and leaking memory.
Patch by Chenxin Zhong. (Github issue :issue:
7976)Single-phase module initialisation in freethreading Python didn't allow overriding the
FT-compatibility flag from a C macro (as supported for multi-phase initialisation).
(Github issue :issue:
8036)A C compiler warning in MSVC was resolved.
(Github issue :issue:
7911)PyPy now uses type specs by default.
Patch by Matti Picus. (Github issue :issue:
7947)Some older PyPy C-API workarounds were disabled for newer versions.
Patch by Matti Picus. (Github issue :issue:
7974)GraalPython now uses the Limited API for Cython functions.
Patch by Michael Šimáček. (Github issue :issue:
7971)The C-API of the
arraymodule is supported in GraalPython.(Github issue :issue:
7964)Older Android builds no longer use C
complex(which they only partially implemented).(Github issue :issue:
8026)Copying the
Shadow.pymodule into user packages could fail due to internal re-imports.Patch by Vincent Fazio. (Github issue :issue:
7999)Concurrently creating the Cython file cache directory could fail.
Patch by Lawrence Mitchell. (Github issue :issue:
7985)The Cython file cache key didn't take the compiler directives into account.
Patch by Robert Dazi. (Github issue :issue:
7532)The encoding line detection at the start of source files was too eager to search also non-comments.
(Github issue :issue:
7935)Enabling annotated HTML file generation together with the shared module could fail to compile.
(Github issue :issue:
7910)Other changes
in the generated C code, making the output reproducible across build directories.
It is now recommended to pass the
--module-nameoption tocython generate-sharedto provide the fully qualified module name explicitly.
This is a follow-up fix to the one in 3.3.0, for
--generate-shared=/path/to/_{sharedname}.c.Patch by Ralf Gommers. (Github issue :issue:
7723)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.