diff mbox series

[AUH] python3-cython: upgrading to 3.3.0 SUCCEEDED

Message ID 010101a02d0dccd6-b1ae7cff-ddcc-42b6-bc42-d87fcdbc23f9-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] python3-cython: upgrading to 3.3.0 SUCCEEDED | expand

Commit Message

auh@yoctoproject.org Aug. 23, 2026, 5:17 a.m. UTC
Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe(s) *python3-cython* to *3.3.0* has Succeeded.

Next steps:
    - apply the patch: git am 0001-python3-cython-upgrade-3.2.9-3.3.0.patch
    - check the changes to upstream patches and summarize them in the commit message,
    - compile an image that contains the package
    - perform some basic sanity tests
    - amend the patch and sign it off: git commit -s --reset-author --amend
    - send it to the appropriate mailing list

Alternatively, if you believe the recipe should not be upgraded at this time,
you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
automatic upgrades would no longer be attempted.

Please review the attached files for further information and build/update failures.
Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper

-- >8 --
From 11ce78ab83c6fa1c6762e7d35fbf6f417429750d Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Sun, 23 Aug 2026 05:15:55 +0000
Subject: [PATCH] python3-cython: upgrade 3.2.9 -> 3.3.0

Source: CHANGES.rst

3.3.0 (2026-08-22)
==================

(Complete changelog for the 3.3.0 release, including pre-releases.)

Features added
--------------

* PEP-634 Pattern Matching is implemented.
  (Github issue :issue:`4029`)

* ``except *`` (PEP-654 exception groups) is implemented for Python 3.11 and later.
  (Github issue :issue:`4993`)

* Unpacking in comprehensions (PEP-798) is implemented for list/set/dict comprehensions.
  It is not yet available for generator expressions.
  Original patch by Morax.  (Github issue :issue:`7898`)

* Changes were made to adapt to Python 3.15 and its Limited API.
  This does not yet cover ``abi3t``.
  (Github issues :issue:`6405`, :issue:`7190`, :issue:`7347`, :issue:`7348`, :issue:`7358`)

* Cython now uses a new export/import naming scheme for fused C functions that
  increases the resilience against seemingly compatible user code changes.
  The original names are kept for backwards compatibility.
  (Github issue :issue:`7656`)

* Declared container item types (e.g. ``list[float]`` or ``tuple[atype, ...]``)
  are now used by the type system.
  (Github issues :issue:`7288`, :issue:`7798`)

* Type inference was improved for builtin Python types and their methods.
  (Github issues :issue:`7536`, :issue:`7644`, :issue:`7887`, :issue:`7888`)

* Exception base types are inferred for the target variable of multi-exception ``except``
  clauses and for collections of exceptions.  Properties like ``.args`` and ``.context``
  use direct C access in CPython.
  (Github issue :issue:`7783`)

* Annotations on global variables are now used by type inference.
  (Github issue :issue:`7877`)

* The feature set of the shared module can be selected at build time
  by listing named features to include or exclude.
  This is an experimental configuration, subject to further improvements.
  Failures to include used features will currently result in import failures.
  (Github issue :issue:`7759`)

* To control the generation of the shared module, the ``cython`` command gained
  a sub-command ``cython generate-shared pkg/modulename.c`` with additional options
  ``--only`` and ``--exclude``.
  Patch by Raza Khan.  (Github issue :issue:`7842`)

* Conditions in strongly predictable if-clauses or if-else expressions can be wrapped in
  ``cython.likely(condition)`` or ``cython.unlikely(condition)`` to help the C compiler
  optimise the branch.  Note that Cython automatically detects ``raise`` and ``assert``
  statements as terminators already and marks if-clauses that directly lead to them as
  ``unlikely()``, without user interaction.
  (Github issue :issue:`7667`)

* Extension types can declare themselves explicitly as sequence or mapping with
  ``@cython.collection_type("sequence")`` or ``@cython.collection_type("mapping")``.
  This has an effect on their behaviour in pattern matching and subscripting.
  (Github issue :issue:`5027`)

* Sequence types marked as ``@cython.collection_type("sequence")`` that use C integers
  in the

[Changelog truncated as it exceeds 3000 characters;
the full changelog can be found in an attachment to the AUH email]
---
 ...place-not-predictable-build-path-prefix-with-hardc.patch | 6 +++---
 .../{python3-cython_3.2.9.bb => python3-cython_3.3.0.bb}    | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/python/{python3-cython_3.2.9.bb => python3-cython_3.3.0.bb} (93%)

Comments

Richard Purdie Aug. 23, 2026, 9:24 a.m. UTC | #1
On Sun, 2026-08-23 at 05:17 +0000, Auto Upgrade Helper via lists.openembedded.org wrote:
> ep 17 00:00:00 2001
> From: Upgrade Helper <auh@yoctoproject.org>
> Date: Sun, 23 Aug 2026 05:15:55 +0000
> Subject: [PATCH] python3-cython: upgrade 3.2.9 -> 3.3.0
> 
> Source: CHANGES.rst
> 
> 3.3.0 (2026-08-22)
> ==================
> 
> (Complete changelog for the 3.3.0 release, including pre-releases.)

I did try this but it doesn't compile:

https://autobuilder.yoctoproject.org/valkyrie/#/builders/99/builds/4427
https://autobuilder.yoctoproject.org/valkyrie/#/builders/10/builds/4446
https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/4485

Cheers,

Richard
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-cython/0001-Replace-not-predictable-build-path-prefix-with-hardc.patch b/meta/recipes-devtools/python/python3-cython/0001-Replace-not-predictable-build-path-prefix-with-hardc.patch
index 573a53ee56..91afbea089 100644
--- a/meta/recipes-devtools/python/python3-cython/0001-Replace-not-predictable-build-path-prefix-with-hardc.patch
+++ b/meta/recipes-devtools/python/python3-cython/0001-Replace-not-predictable-build-path-prefix-with-hardc.patch
@@ -1,4 +1,4 @@ 
-From a3b9d4303b6aaf5ef2ce9ffd1ba42a93f9cc68e0 Mon Sep 17 00:00:00 2001
+From 07a9271f8d6e07d3eed92365ba1066ed40aee01b Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <hongxu.jia@windriver.com>
 Date: Wed, 17 Sep 2025 01:42:08 -0700
 Subject: [PATCH] Replace not predictable build path prefix with hardcode
@@ -53,10 +53,10 @@  Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  1 file changed, 3 insertions(+), 1 deletion(-)
 
 diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py
-index 34f1b32..b09350b 100644
+index 6e0a3e5..ce35b25 100644
 --- a/Cython/Compiler/ModuleNode.py
 +++ b/Cython/Compiler/ModuleNode.py
-@@ -877,7 +877,9 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
+@@ -888,7 +888,9 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
          code.put_generated_by()
          if metadata:
              code.putln("/* BEGIN: Cython Metadata")
diff --git a/meta/recipes-devtools/python/python3-cython_3.2.9.bb b/meta/recipes-devtools/python/python3-cython_3.3.0.bb
similarity index 93%
rename from meta/recipes-devtools/python/python3-cython_3.2.9.bb
rename to meta/recipes-devtools/python/python3-cython_3.3.0.bb
index 3457a91490..7992892e60 100644
--- a/meta/recipes-devtools/python/python3-cython_3.2.9.bb
+++ b/meta/recipes-devtools/python/python3-cython_3.3.0.bb
@@ -7,7 +7,7 @@  SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
 
-SRC_URI[sha256sum] = "d249c9022ab13286b17bd66f30609e800c5f95efeecb06168990c7a66cecde6c"
+SRC_URI[sha256sum] = "eed0d93fbca7087f143b42c34b05a825849bdf17f101572c2105acfa49aa88b8"
 
 inherit pypi setuptools3 cython