| Message ID | 20261120035922.3013969-3-khem.raj@oss.qualcomm.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-multimedia,1/4] gupnp-igd: Bound each ptest with a timeout | expand |
diff --git a/meta-python/recipes-devtools/python/python3-pytokens_0.4.1.bb b/meta-python/recipes-devtools/python/python3-pytokens_0.4.1.bb index cf692089c3..eac36b5606 100644 --- a/meta-python/recipes-devtools/python/python3-pytokens_0.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytokens_0.4.1.bb @@ -10,4 +10,6 @@ SRC_URI[sha256sum] = "292052fe80923aae2260c073f822ceba21f3872ced9a68bb7953b348e5 DEPENDS += "python3-mypy-native" +CFLAGS += "-Wno-error=deprecated-declarations" + BBCLASSEXTEND = "native nativesdk"
pytokens is compiled with mypyc, which builds its runtime with -Werror. The mypy 1.17 runtime (misc_ops.c and friends) uses _Py_IDENTIFIER, _PyUnicode_FromId and _PyObject_GetAttrId, which Python 3.15 marks deprecated, so the build fails with 19 -Wdeprecated-declarations errors. mypy 1.20 dropped these calls, but upgrading needs new librt and ast-serialize recipes. Downgrade the warning from an error until then; the APIs are still present in 3.15. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- meta-python/recipes-devtools/python/python3-pytokens_0.4.1.bb | 2 ++ 1 file changed, 2 insertions(+)