From 74895a20316312b15f4c56da1a089b73ca2c3c0e Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 2 Mar 2026 16:56:01 +0200 Subject: python3-yarl: Upgrade 1.22.0 -> 1.23.0 Upgrade to release 1.23.0: - Added support for pydantic, the :class:~yarl.URL could be used as a field type in pydantic models seamlessly. - The CI has been set up to notify Codecov about upload completion - The in-tree build backend allows the end-users appending CFLAGS and LDFLAGS by setting respective environment variables externally. - The :pep:517 build backend now supports a new config setting for controlling whether to build the project in-tree or in a temporary directory. It only affects wheels and is set up to build in a temporary directory by default. It does not affect editable wheel builds - they will keep being built in-tree regardless. - Starting this version, when building the wheels is happening in an automatically created temporary directory, the build backend makes an effort to normalize the respective file system path to a deterministic source checkout directory. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python3-yarl/0001-build-wheel-in-place.patch | 31 ------------------ .../recipes-devtools/python/python3-yarl_1.22.0.bb | 36 --------------------- .../recipes-devtools/python/python3-yarl_1.23.0.bb | 37 ++++++++++++++++++++++ 3 files changed, 37 insertions(+), 67 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-yarl/0001-build-wheel-in-place.patch delete mode 100644 meta-python/recipes-devtools/python/python3-yarl_1.22.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-yarl_1.23.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-yarl/0001-build-wheel-in-place.patch b/meta-python/recipes-devtools/python/python3-yarl/0001-build-wheel-in-place.patch deleted file mode 100644 index 84f81da775..0000000000 --- a/meta-python/recipes-devtools/python/python3-yarl/0001-build-wheel-in-place.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 606843ad079d9d0dac1172533d42b5a2327b99ed Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Wed, 17 Sep 2025 15:41:09 +0800 -Subject: [PATCH] build wheel in place - -In order to make the generated library be reproducible, build wheel -in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's -option -fdebug-prefix-map could work as expected - -Upstream-Status: Pending -Signed-off-by: Hongxu Jia ---- - packaging/pep517_backend/_backend.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py -index 61cad34..d5d839e 100644 ---- a/packaging/pep517_backend/_backend.py -+++ b/packaging/pep517_backend/_backend.py -@@ -316,7 +316,7 @@ def build_wheel( - """ - with maybe_prebuild_c_extensions( - line_trace_cython_when_unset=False, -- build_inplace=False, -+ build_inplace=True, - config_settings=config_settings, - ): - return _setuptools_build_wheel( --- -2.34.1 - diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.22.0.bb b/meta-python/recipes-devtools/python/python3-yarl_1.22.0.bb deleted file mode 100644 index 6c2e2259b7..0000000000 --- a/meta-python/recipes-devtools/python/python3-yarl_1.22.0.bb +++ /dev/null @@ -1,36 +0,0 @@ -SUMMARY = "The module provides handy URL class for url parsing and changing" -HOMEPAGE = "https://github.com/aio-libs/yarl/" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI[sha256sum] = "bebf8557577d4401ba8bd9ff33906f1376c877aa78d1fe216ad01b4d6745af71" - -PYPI_PACKAGE = "yarl" - -inherit pypi ptest-python-pytest python_setuptools_build_meta cython - -SRC_URI += " \ - file://0001-build-wheel-in-place.patch \ -" - -DEPENDS += " \ - python3-expandvars-native \ -" - -RDEPENDS:${PN} = "\ - python3-multidict \ - python3-idna \ - python3-io \ - python3-propcache \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-hypothesis \ - python3-image \ - python3-pytest \ - python3-pytest-codspeed \ - python3-rich \ - python3-unittest-automake-output \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.23.0.bb b/meta-python/recipes-devtools/python/python3-yarl_1.23.0.bb new file mode 100644 index 0000000000..6a973f9acb --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-yarl_1.23.0.bb @@ -0,0 +1,37 @@ +SUMMARY = "The module provides handy URL class for url parsing and changing" +HOMEPAGE = "https://github.com/aio-libs/yarl/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI[sha256sum] = "53b1ea6ca88ebd4420379c330aea57e258408dd0df9af0992e5de2078dc9f5d5" + +PYPI_PACKAGE = "yarl" + +inherit pypi ptest-python-pytest python_setuptools_build_meta cython + +PEP517_BUILD_OPTS = "--config-setting=build-inplace=true" + + +DEPENDS += " \ + python3-expandvars-native \ +" + +RDEPENDS:${PN} = "\ + python3-multidict \ + python3-idna \ + python3-io \ + python3-propcache \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-hypothesis \ + python3-image \ + python3-pytest \ + python3-pytest-codspeed \ + python3-rich \ + python3-unittest-automake-output \ +" + +INSANE_SKIP:${PN} = "already-stripped" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf