diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2026-03-02 16:56:01 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-03-02 19:26:01 -0800 |
| commit | 74895a20316312b15f4c56da1a089b73ca2c3c0e (patch) | |
| tree | e9b138f992535318e2c2852ed48590b113e4ffb1 /meta-python/recipes-devtools/python | |
| parent | 5de756cffa119502722f5edd01d19cd92d41a96c (diff) | |
| download | meta-openembedded-74895a20316312b15f4c56da1a089b73ca2c3c0e.tar.gz | |
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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-yarl/0001-build-wheel-in-place.patch | 31 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-yarl_1.23.0.bb (renamed from meta-python/recipes-devtools/python/python3-yarl_1.22.0.bb) | 9 |
2 files changed, 5 insertions, 35 deletions
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 @@ | |||
| 1 | From 606843ad079d9d0dac1172533d42b5a2327b99ed Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 3 | Date: Wed, 17 Sep 2025 15:41:09 +0800 | ||
| 4 | Subject: [PATCH] build wheel in place | ||
| 5 | |||
| 6 | In order to make the generated library be reproducible, build wheel | ||
| 7 | in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's | ||
| 8 | option -fdebug-prefix-map could work as expected | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 12 | --- | ||
| 13 | packaging/pep517_backend/_backend.py | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py | ||
| 17 | index 61cad34..d5d839e 100644 | ||
| 18 | --- a/packaging/pep517_backend/_backend.py | ||
| 19 | +++ b/packaging/pep517_backend/_backend.py | ||
| 20 | @@ -316,7 +316,7 @@ def build_wheel( | ||
| 21 | """ | ||
| 22 | with maybe_prebuild_c_extensions( | ||
| 23 | line_trace_cython_when_unset=False, | ||
| 24 | - build_inplace=False, | ||
| 25 | + build_inplace=True, | ||
| 26 | config_settings=config_settings, | ||
| 27 | ): | ||
| 28 | return _setuptools_build_wheel( | ||
| 29 | -- | ||
| 30 | 2.34.1 | ||
| 31 | |||
diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.22.0.bb b/meta-python/recipes-devtools/python/python3-yarl_1.23.0.bb index 6c2e2259b7..6a973f9acb 100644 --- a/meta-python/recipes-devtools/python/python3-yarl_1.22.0.bb +++ b/meta-python/recipes-devtools/python/python3-yarl_1.23.0.bb | |||
| @@ -3,15 +3,14 @@ HOMEPAGE = "https://github.com/aio-libs/yarl/" | |||
| 3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "bebf8557577d4401ba8bd9ff33906f1376c877aa78d1fe216ad01b4d6745af71" | 6 | SRC_URI[sha256sum] = "53b1ea6ca88ebd4420379c330aea57e258408dd0df9af0992e5de2078dc9f5d5" |
| 7 | 7 | ||
| 8 | PYPI_PACKAGE = "yarl" | 8 | PYPI_PACKAGE = "yarl" |
| 9 | 9 | ||
| 10 | inherit pypi ptest-python-pytest python_setuptools_build_meta cython | 10 | inherit pypi ptest-python-pytest python_setuptools_build_meta cython |
| 11 | 11 | ||
| 12 | SRC_URI += " \ | 12 | PEP517_BUILD_OPTS = "--config-setting=build-inplace=true" |
| 13 | file://0001-build-wheel-in-place.patch \ | 13 | |
| 14 | " | ||
| 15 | 14 | ||
| 16 | DEPENDS += " \ | 15 | DEPENDS += " \ |
| 17 | python3-expandvars-native \ | 16 | python3-expandvars-native \ |
| @@ -33,4 +32,6 @@ RDEPENDS:${PN}-ptest += " \ | |||
| 33 | python3-unittest-automake-output \ | 32 | python3-unittest-automake-output \ |
| 34 | " | 33 | " |
| 35 | 34 | ||
| 35 | INSANE_SKIP:${PN} = "already-stripped" | ||
| 36 | |||
| 36 | BBCLASSEXTEND = "native nativesdk" | 37 | BBCLASSEXTEND = "native nativesdk" |
