Hello,

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

Next steps:
    - apply the patch: git am 0001-python3-cffi-upgrade-2.0.0-2.1.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 ad5d3c0315425ba145b38ada8ba226f75c405402 Mon Sep 17 00:00:00 2001
From: Upgrade Helper <[email protected]>
Date: Tue, 7 Jul 2026 05:38:48 +0000
Subject: [PATCH] python3-cffi: upgrade 2.0.0 -> 2.1.0

---
 ...parsing-more-resilient-to-changes-in.patch | 110 ------------------
 ...n3-cffi_2.0.0.bb => python3-cffi_2.1.0.bb} |   5 +-
 2 files changed, 2 insertions(+), 113 deletions(-)
 delete mode 100644 
meta/recipes-devtools/python/python3-cffi/0001-Make-test_parsing-more-resilient-to-changes-in.patch
 rename meta/recipes-devtools/python/{python3-cffi_2.0.0.bb => 
python3-cffi_2.1.0.bb} (82%)

diff --git 
a/meta/recipes-devtools/python/python3-cffi/0001-Make-test_parsing-more-resilient-to-changes-in.patch
 
b/meta/recipes-devtools/python/python3-cffi/0001-Make-test_parsing-more-resilient-to-changes-in.patch
deleted file mode 100644
index 2919b78a6e..0000000000
--- 
a/meta/recipes-devtools/python/python3-cffi/0001-Make-test_parsing-more-resilient-to-changes-in.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-From 6f345f658a7012bca0859d23436a11b9902711ae Mon Sep 17 00:00:00 2001
-From: Wang Mingyu <[email protected]>
-Date: Fri, 6 Feb 2026 01:53:23 +0000
-Subject: [PATCH] Make test_parsing more resilient to changes in
- pycparser  (#224)
-
-* Make test_parsing more resilient to changes in pycparser
-
-Several tests expect precise error messages from pycparser, which pycparser
-doesn't guarantee. While testing CFFI with pycparser 3.0, some tests needed
-to be made more resilient. I've used the .startswith() approach already used
-in this file, instead of exact string matching.
-
-Ref #223
-
-* Loosen error message assertion even more
-
-Upstream-Status: Backport 
[https://github.com/python-cffi/cffi/commit/c36c02fa6f4f1d12a9cead81861c6f42af47da22]
-
-Signed-off-by: Wang Mingyu <[email protected]>
----
- testing/cffi0/test_parsing.py | 18 +++++++++---------
- 1 file changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/testing/cffi0/test_parsing.py b/testing/cffi0/test_parsing.py
-index f10b989..7009e34 100644
---- a/testing/cffi0/test_parsing.py
-+++ b/testing/cffi0/test_parsing.py
-@@ -197,7 +197,7 @@ def test_dont_remove_comment_in_line_directives():
- 
-         some syntax error here
-     """)
--    assert str(e.value) == "parse error\nbaz.c:9:14: before: syntax"
-+    assert str(e.value).startswith("parse error\nbaz.c:9:")
-     #
-     e = pytest.raises(CDefError, ffi.cdef, """
-         #line 7 "foo//bar.c"
-@@ -205,21 +205,21 @@ def test_dont_remove_comment_in_line_directives():
-         some syntax error here
-     """)
-     #
--    assert str(e.value) == "parse error\nfoo//bar.c:8:14: before: syntax"
-+    assert str(e.value).startswith("parse error\nfoo//bar.c:8:")
-     ffi = FFI(backend=FakeBackend())
-     e = pytest.raises(CDefError, ffi.cdef, """
-         \t # \t 8 \t "baz.c" \t
- 
-         some syntax error here
-     """)
--    assert str(e.value) == "parse error\nbaz.c:9:14: before: syntax"
-+    assert str(e.value).startswith("parse error\nbaz.c:9:")
-     #
-     e = pytest.raises(CDefError, ffi.cdef, """
-         # 7 "foo//bar.c"
- 
-         some syntax error here
-     """)
--    assert str(e.value) == "parse error\nfoo//bar.c:8:14: before: syntax"
-+    assert str(e.value).startswith("parse error\nfoo//bar.c:8:")
- 
- def test_multiple_line_directives():
-     ffi = FFI(backend=FakeBackend())
-@@ -233,7 +233,7 @@ def test_multiple_line_directives():
-         #line 8 "yadda.c"
-         extern int zz;
-     """)
--    assert str(e.value) == "parse error\nbaz.c:7:14: before: syntax"
-+    assert str(e.value).startswith("parse error\nbaz.c:7:")
-     #
-     e = pytest.raises(CDefError, ffi.cdef,
-     """ # 5 "foo.c"
-@@ -245,7 +245,7 @@ def test_multiple_line_directives():
-         # 8 "yadda.c"
-         extern int zz;
-     """)
--    assert str(e.value) == "parse error\nbaz.c:7:14: before: syntax"
-+    assert str(e.value).startswith("parse error\nbaz.c:7:")
- 
- def test_commented_line_directive():
-     ffi = FFI(backend=FakeBackend())
-@@ -262,7 +262,7 @@ def test_commented_line_directive():
-         some syntax error
-     """)
-     #
--    assert str(e.value) == "parse error\nbar.c:9:14: before: syntax"
-+    assert str(e.value).startswith("parse error\nbar.c:9:")
-     e = pytest.raises(CDefError, ffi.cdef, """
-         /*
-         # 5 "foo.c"
-@@ -275,7 +275,7 @@ def test_commented_line_directive():
-         */
-         some syntax error
-     """)
--    assert str(e.value) == "parse error\nbar.c:9:14: before: syntax"
-+    assert str(e.value).startswith("parse error\nbar.c:9:")
- 
- def test_line_continuation_in_defines():
-     ffi = FFI(backend=FakeBackend())
-@@ -365,7 +365,7 @@ def test_unknown_name():
-     e = pytest.raises(CDefError, ffi.cast, "foobarbazunknown*", 0)
-     assert str(e.value).startswith('cannot parse "foobarbazunknown*"')
-     e = pytest.raises(CDefError, ffi.cast, "int(*)(foobarbazunknown)", 0)
--    assert str(e.value).startswith('cannot parse "int(*)(foobarbazunknown)"')
-+    assert 'foobarbazunknown' in str(e.value)
- 
- def test_redefine_common_type():
-     prefix = "" if sys.version_info < (3,) else "b"
--- 
-2.43.0
-
diff --git a/meta/recipes-devtools/python/python3-cffi_2.0.0.bb 
b/meta/recipes-devtools/python/python3-cffi_2.1.0.bb
similarity index 82%
rename from meta/recipes-devtools/python/python3-cffi_2.0.0.bb
rename to meta/recipes-devtools/python/python3-cffi_2.1.0.bb
index 269595f5c3..718e43e339 100644
--- a/meta/recipes-devtools/python/python3-cffi_2.0.0.bb
+++ b/meta/recipes-devtools/python/python3-cffi_2.1.0.bb
@@ -4,10 +4,9 @@ LICENSE = "MIT-0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c0158ab9b75875f3bb7fea081d388818"
 DEPENDS += "libffi python3-pycparser"
 
-SRC_URI[sha256sum] = 
"44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529"
+SRC_URI[sha256sum] = 
"efc1cdd798b1aaf39b4610bba7aad28c9bea9b910f25c784ccf9ec1fa719d1f9"
 
-SRC_URI += "file://run-ptest \
-            file://0001-Make-test_parsing-more-resilient-to-changes-in.patch"
+SRC_URI += "file://run-ptest"
 
 inherit pypi python_setuptools_build_meta ptest pkgconfig
 
-- 
2.47.1

Attachment: 0001-python3-cffi-upgrade-2.0.0-2.1.0.patch
Description: Binary data

packages/x86-64-v3-poky-linux/python3-cffi: PKGV changed from 2.0.0 [default] 
to 2.1.0 [default]
packages/x86-64-v3-poky-linux/python3-cffi: SRC_URI changed from 
"https://files.pythonhosted.org/packages/source/c/cffi/cffi-2.0.0.tar.gz;downloadfilename=cffi-2.0.0.tar.gz
 file://run-ptest 
file://0001-Make-test_parsing-more-resilient-to-changes-in.patch" to 
"https://files.pythonhosted.org/packages/source/c/cffi/cffi-2.1.0.tar.gz;downloadfilename=cffi-2.1.0.tar.gz
 file://run-ptest"
packages/x86-64-v3-poky-linux/python3-cffi: PV changed from "2.0.0" to "2.1.0"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-dbg: PKGV changed from 
2.0.0 [default] to 2.1.0 [default]
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-dbg: PV changed from 
"2.0.0" to "2.1.0"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-dbg: PKGSIZE changed 
from 656288 to 656704 (+0%)
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-dev: PKGV changed from 
2.0.0 [default] to 2.1.0 [default]
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-dev: PV changed from 
"2.0.0" to "2.1.0"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-doc: PKGV changed from 
2.0.0 [default] to 2.1.0 [default]
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-doc: PV changed from 
"2.0.0" to "2.1.0"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-locale: PKGV changed 
from 2.0.0 [default] to 2.1.0 [default]
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-locale: PV changed from 
"2.0.0" to "2.1.0"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-ptest: PKGV changed 
from 2.0.0 [default] to 2.1.0 [default]
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-ptest: FILELIST: added 
"/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/src/squared/squared.cdef.txt
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/src/squared/__init__.py
 /usr/lib/python3-cffi/ptest/testing/cffi1/test_cffi_gen_src.py 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/src/csrc/square.h
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/src/csrc/square.c
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/pyproject.toml
 /usr/lib/python3-cffi/ptest/testing/cffi1/test_cffi_gen_src_meson.py 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/src/squared/squared.csrc.c
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/common/src/squared/__init__.py
 /usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src
 _examples/read_sources_example/src/csrc/square.h 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/common/pyproject.toml
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/src/csrc/square.c
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/common/src/csrc/square.c
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/common/src/csrc/square.h
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/meson.build
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/src/squared/_squared_build.py
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/src/squared/__init__.py
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/meson.build
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/pyproject.toml"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-ptest: PV changed from 
"2.0.0" to "2.1.0"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-ptest: PKGSIZE changed 
from 683955 to 696239 (+2%)
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-src: PKGV changed from 
2.0.0 [default] to 2.1.0 [default]
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-src: FILELIST: 
directory renamed /usr/src/debug/python3-cffi/2.0.0/src/cffi -> 
/usr/src/debug/python3-cffi/2.1.0/src/cffi, directory renamed 
/usr/src/debug/python3-cffi/2.0.0/src/c -> 
/usr/src/debug/python3-cffi/2.1.0/src/c
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-src: PV changed from 
"2.0.0" to "2.1.0"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-src: PKGSIZE changed 
from 497652 to 485835 (-2%)
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-staticdev: PKGV changed 
from 2.0.0 [default] to 2.1.0 [default]
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-staticdev: PV changed 
from "2.0.0" to "2.1.0"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi: PKGV changed from 
2.0.0 [default] to 2.1.0 [default]
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi: FILELIST: directory 
renamed /usr/lib/python3.14/site-packages/cffi-2.0.0.dist-info -> 
/usr/lib/python3.14/site-packages/cffi-2.1.0.dist-info, removed 
"/usr/lib/python3.14/site-packages/cffi-2.0.0.dist-info/licenses/AUTHORS 
/usr/lib/python3.14/site-packages/cffi-2.0.0.dist-info/licenses/LICENSE", added 
"/usr/lib/python3.14/site-packages/cffi/_cffi_gen_src.py /usr/bin/cffi-gen-src 
/usr/lib/python3.14/site-packages/cffi/__pycache__/_cffi_gen_src.cpython-314.pyc
 /usr/lib/python3.14/site-packages/cffi/gen_src.py 
/usr/lib/python3.14/site-packages/cffi/__pycache__/gen_src.cpython-314.pyc 
/usr/lib/python3.14/site-packages/cffi-2.1.0.dist-info/licenses/LICENSE"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi: PV changed from 
"2.0.0" to "2.1.0"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi: PKGSIZE changed from 
1033277 to 1044849 (+1%)
Changes to packages/x86-64-v3-poky-linux/python3-cffi (sysroot):
  /usr/lib/python3.14/site-packages/cffi-2.0.0.dist-info moved to 
/usr/lib/python3.14/site-packages/cffi-2.1.0.dist-info
  /usr/lib/python3.14/site-packages/cffi/_cffi_gen_src.py was added
  /usr/lib/python3.14/site-packages/cffi/gen_src.py was added
  
/usr/lib/python3.14/site-packages/cffi/__pycache__/_cffi_gen_src.cpython-314.pyc
 was added
  /usr/lib/python3.14/site-packages/cffi/__pycache__/gen_src.cpython-314.pyc 
was added
  /usr/lib/python3.14/site-packages/cffi-2.0.0.dist-info/licenses/AUTHORS was 
removed
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi-ptest: FILELIST: added 
"/usr/lib/python3-cffi/ptest/testing/cffi1/test_cffi_gen_src_meson.py 
/usr/lib/python3-cffi/ptest/testing/cffi1/test_cffi_gen_src.py 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/common/src/csrc/square.h
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/meson.build
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/common/src/csrc/square.c
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/src/csrc/square.c
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/src/squared/squared.csrc.c
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/src/csrc/square.h
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/src/squared/_squared_build.py
 /usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_ex
 ample/src/squared/__init__.py 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/common/pyproject.toml
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/src/squared/__init__.py
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/src/csrc/square.c
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/meson.build
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/src/csrc/square.h
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/exec_python_example/pyproject.toml
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/pyproject.toml
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/read_sources_example/src/squared/squared.cdef.txt
 
/usr/lib/python3-cffi/ptest/testing/cffi1/cffi_gen_src_examples/common/src/squared/__init__.py"
packages/x86-64-v3-poky-linux/python3-cffi/python3-cffi: FILELIST: directory 
renamed /usr/lib/python3.14/site-packages/cffi-2.0.0.dist-info -> 
/usr/lib/python3.14/site-packages/cffi-2.1.0.dist-info, removed 
"/usr/lib/python3.14/site-packages/cffi-2.0.0.dist-info/licenses/AUTHORS 
/usr/lib/python3.14/site-packages/cffi-2.0.0.dist-info/licenses/LICENSE", added 
"/usr/lib/python3.14/site-packages/cffi/__pycache__/_cffi_gen_src.cpython-314.pyc
 /usr/lib/python3.14/site-packages/cffi-2.1.0.dist-info/licenses/LICENSE 
/usr/lib/python3.14/site-packages/cffi/_cffi_gen_src.py /usr/bin/cffi-gen-src 
/usr/lib/python3.14/site-packages/cffi/gen_src.py 
/usr/lib/python3.14/site-packages/cffi/__pycache__/gen_src.cpython-314.pyc"
Changes to packages/x86-64-v3-poky-linux/python3-cffi (sysroot):
  /usr/lib/python3.14/site-packages/cffi-2.0.0.dist-info moved to 
/usr/lib/python3.14/site-packages/cffi-2.1.0.dist-info
  /usr/lib/python3.14/site-packages/cffi/_cffi_gen_src.py was added
  /usr/lib/python3.14/site-packages/cffi/gen_src.py was added
  
/usr/lib/python3.14/site-packages/cffi/__pycache__/_cffi_gen_src.cpython-314.pyc
 was added
  /usr/lib/python3.14/site-packages/cffi/__pycache__/gen_src.cpython-314.pyc 
was added
  /usr/lib/python3.14/site-packages/cffi-2.0.0.dist-info/licenses/AUTHORS was 
removed
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240357): 
https://lists.openembedded.org/g/openembedded-core/message/240357
Mute This Topic: https://lists.openembedded.org/mt/120152543/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to