| Message ID | 20260716125131.909814-1-tgamblin@baylibre.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-python] python3-ukkonen: use python_setuptools_build_meta | expand |
diff --git a/meta-python/recipes-devtools/python/python3-ukkonen_1.1.0.bb b/meta-python/recipes-devtools/python/python3-ukkonen_1.1.0.bb index 8fc5af1ef7..fe25eda63e 100644 --- a/meta-python/recipes-devtools/python/python3-ukkonen_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-ukkonen_1.1.0.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7e49a187324d5a1a6c4ba2b9c3fd4033" PYPI_PACKAGE = "ukkonen" -inherit setuptools3 +inherit python_setuptools_build_meta SRC_URI += "git://github.com/asottile/ukkonen;protocol=https;branch=main;tag=v${PV}" SRCREV = "5fa9858f0997927d9f9c1794e1741fe8dbd4c1e8"
Use the newer setuptools build class to avoid an AttributeError thrown after warnings about setuptools and related build modules: |/home/tgamblin/workspace/ypbuilds/oe-nodistro-master-patchtest/build/tmp/work/x86-64-v3-oe-linux/python3-ukkonen/1.1.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/__init__.py:92: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. |!! | | ******************************************************************************** | Requirements should be satisfied by a PEP 517 installer. | If you are using pip, you can try `pip install --use-pep517`. | | This deprecation is overdue, please update your project and remove deprecated | calls to avoid build errors in the future. | ******************************************************************************** | |!! ... | File "/home/tgamblin/workspace/ypbuilds/oe-nodistro-master-patchtest/build/tmp/work/x86-64-v3-oe-linux/python3-ukkonen/1.1.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/packaging/utils.py", line 96, in canonicalize_name | value = name.lower().replace("_", "-").replace(".", "-") | ^^^^^^^^^^ |AttributeError: 'NoneType' object has no attribute 'lower' Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> --- meta-python/recipes-devtools/python/python3-ukkonen_1.1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)