| Message ID | TY3PR01MB114831619F50265E95093E9BF9BA0A@TY3PR01MB11483.jpnprd01.prod.outlook.com |
|---|---|
| State | New |
| Headers | show |
| Series | 回复: [oe][meta-python][PATCH 3/3] python3-pyzstd: upgrade 0.18.0 -> 0.19.0 | expand |
its failing for qemuarm, I have queued a local fix for the issue. On Tue, Dec 9, 2025 at 7:23 PM Yiding Liu (Fujitsu) <liuyd.fnst@fujitsu.com> wrote: > Hi Raj > I rebuild the python3-pyzstd in my local environment with qemuarm in > ubuntu-24.04 and can't reproduce the configure error in the URL. > Could you please tell me more details about the building environment? > Thanks. > ------------------------------ > *发件人:* Khem Raj <raj.khem@gmail.com> > *发送时间:* 2025年12月10日 00:04 > *收件人:* Liu, Yiding/刘 乙丁 <liuyd.fnst@fujitsu.com> > *抄送:* openembedded-devel@lists.openembedded.org < > openembedded-devel@lists.openembedded.org> > *主题:* Re: [oe][meta-python][PATCH 3/3] python3-pyzstd: upgrade 0.18.0 -> > 0.19.0 > > its failing to configure > https://errors.yoctoproject.org/Errors/Details/891457/ > > On Mon, Dec 8, 2025 at 11:02 PM Yiding Liu (Fujitsu) via > lists.openembedded.org <liuyd.fnst=fujitsu.com@lists.openembedded.org> > wrote: > > 1. Changelog > - The project has been completely refactored to use the Zstandard > implementation from the standard library ([PEP-784]( > https://peps.python.org/pep-0784/)) > - The refactor has some minor impact on public APIs, such as changing > the exception raised on invalid input > > 2. Drop 0001-Bump-setuptools-dependency-from-74-to-89.patch as setuptools > in requires was removed in pyproject.toml > > 3. HOMEPAGE has been changed to https://github.com/Rogdham/pyzstd. > > Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> > --- > ...-setuptools-dependency-from-74-to-89.patch | 27 ------------------- > ...std_0.18.0.bb => python3-pyzstd_0.19.0.bb} | 9 ++++--- > 2 files changed, 5 insertions(+), 31 deletions(-) > delete mode 100644 > meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch > rename meta-python/recipes-devtools/python/{python3-pyzstd_0.18.0.bb => > python3-pyzstd_0.19.0.bb} (63%) > > diff --git > a/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch > b/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch > deleted file mode 100644 > index f7b43b12a7..0000000000 > --- > a/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch > +++ /dev/null > @@ -1,27 +0,0 @@ > -From bc9b975c9f41e43481a2eb0623b4180926baecec Mon Sep 17 00:00:00 2001 > -From: Khem Raj <raj.khem@gmail.com> > -Date: Wed, 9 Apr 2025 14:38:31 -0700 > -Subject: [PATCH] Bump setuptools dependency from 74 to 89 > - > -Upstream sticks to 0.74 since setuptools have dropped msvc9compiler > -support beyond that which is needed for python 3.9 on windows. We > -do not have this problem on Linux > - > -Upstream-Status: Inappropriate [OE-specific] > -Signed-off-by: Khem Raj <raj.khem@gmail.com> > ---- > - pyproject.toml | 2 +- > - 1 file changed, 1 insertion(+), 1 deletion(-) > - > -diff --git a/pyproject.toml b/pyproject.toml > -index dd885e4..5d4d511 100644 > ---- a/pyproject.toml > -+++ b/pyproject.toml > -@@ -1,6 +1,6 @@ > - [build-system] > - # setuptools 64+ support --build-option > - # setuptools 74+ drops distutils.msvc9compiler required for Python 3.9 > under Windows > --requires = ["setuptools>=64,<74"] > -+requires = ["setuptools>=64,<89"] > - backend-path = ["build_script"] > - build-backend = "pyzstd_pep517" > diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb > b/meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb > similarity index 63% > rename from meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb > rename to meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb > index 2aee987efa..b41746dbae 100644 > --- a/meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb > +++ b/meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb > @@ -1,6 +1,6 @@ > DESCRIPTION = "Pyzstd module provides classes and functions for > compressing and \ > decompressing data, using Facebook’s Zstandard (or zstd as short name) > algorithm." > -HOMEPAGE = "https://github.com/animalize/pyzstd" > +HOMEPAGE = "https://github.com/Rogdham/pyzstd" > SECTION = "devel/python" > > LICENSE = "BSD-3-Clause" > @@ -8,10 +8,11 @@ LIC_FILES_CHKSUM = > "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e" > > PYPI_PACKAGE = "pyzstd" > > -SRC_URI += "file://0001-Bump-setuptools-dependency-from-74-to-89.patch" > -SRC_URI[sha256sum] = > "81b6851ab1ca2e5f2c709e896a1362e3065a64f271f43db77fb7d5e4a78e9861" > +SRC_URI[sha256sum] = > "44e7b9be7b445aac742003ddee52ca31385d52dffb8c60adf633fad8e795f10d" > > -inherit pypi python_setuptools_build_meta ptest-python-pytest > +inherit pypi python_setuptools_build_meta ptest-python-pytest > python_hatchling > + > +DEPENDS += "python3-hatch-vcs-native" > > # clang-16 with -flto segfaults on arm, therefore ignore flto for now > do_configure:append:arm:toolchain-clang() { > -- > 2.43.0 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#122401): > https://lists.openembedded.org/g/openembedded-devel/message/122401 > Mute This Topic: https://lists.openembedded.org/mt/116690716/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ > raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > >
diff --git a/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch b/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch deleted file mode 100644 index f7b43b12a7..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch +++ /dev/null @@ -1,27 +0,0 @@ -From bc9b975c9f41e43481a2eb0623b4180926baecec Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com<mailto:raj.khem@gmail.com>> -Date: Wed, 9 Apr 2025 14:38:31 -0700 -Subject: [PATCH] Bump setuptools dependency from 74 to 89 - -Upstream sticks to 0.74 since setuptools have dropped msvc9compiler -support beyond that which is needed for python 3.9 on windows. We -do not have this problem on Linux - -Upstream-Status: Inappropriate [OE-specific] -Signed-off-by: Khem Raj <raj.khem@gmail.com<mailto:raj.khem@gmail.com>> ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index dd885e4..5d4d511 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,6 +1,6 @@ - [build-system] - # setuptools 64+ support --build-option - # setuptools 74+ drops distutils.msvc9compiler required for Python 3.9 under Windows --requires = ["setuptools>=64,<74"] -+requires = ["setuptools>=64,<89"] - backend-path = ["build_script"] - build-backend = "pyzstd_pep517" diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb<http://python3-pyzstd_0.18.0.bb> b/meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb<http://python3-pyzstd_0.19.0.bb> similarity index 63% rename from meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb<http://python3-pyzstd_0.18.0.bb> rename to meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb<http://python3-pyzstd_0.19.0.bb> index 2aee987efa..b41746dbae 100644 --- a/meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb<http://python3-pyzstd_0.18.0.bb> +++ b/meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb<http://python3-pyzstd_0.19.0.bb> @@ -1,6 +1,6 @@ DESCRIPTION = "Pyzstd module provides classes and functions for compressing and \ decompressing data, using Facebook’s Zstandard (or zstd as short name) algorithm." -HOMEPAGE = "https://github.com/animalize/pyzstd" +HOMEPAGE = "https://github.com/Rogdham/pyzstd" SECTION = "devel/python" LICENSE = "BSD-3-Clause" @@ -8,10 +8,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e" PYPI_PACKAGE = "pyzstd" -SRC_URI += "file://0001-Bump-setuptools-dependency-from-74-to-89.patch" -SRC_URI[sha256sum] = "81b6851ab1ca2e5f2c709e896a1362e3065a64f271f43db77fb7d5e4a78e9861" +SRC_URI[sha256sum] = "44e7b9be7b445aac742003ddee52ca31385d52dffb8c60adf633fad8e795f10d" -inherit pypi python_setuptools_build_meta ptest-python-pytest +inherit pypi python_setuptools_build_meta ptest-python-pytest python_hatchling + +DEPENDS += "python3-hatch-vcs-native" # clang-16 with -flto segfaults on arm, therefore ignore flto for now do_configure:append:arm:toolchain-clang() {
Hi Raj I rebuild the python3-pyzstd in my local environment with qemuarm in ubuntu-24.04 and can't reproduce the configure error in the URL. Could you please tell me more details about the building environment? Thanks. ________________________________ 发件人: Khem Raj <raj.khem@gmail.com> 发送时间: 2025年12月10日 00:04 收件人: Liu, Yiding/刘 乙丁 <liuyd.fnst@fujitsu.com> 抄送: openembedded-devel@lists.openembedded.org <openembedded-devel@lists.openembedded.org> 主题: Re: [oe][meta-python][PATCH 3/3] python3-pyzstd: upgrade 0.18.0 -> 0.19.0 its failing to configure https://errors.yoctoproject.org/Errors/Details/891457/ On Mon, Dec 8, 2025 at 11:02 PM Yiding Liu (Fujitsu) via lists.openembedded.org<http://lists.openembedded.org> <liuyd.fnst=fujitsu.com@lists.openembedded.org<mailto:fujitsu.com@lists.openembedded.org>> wrote: 1. Changelog - The project has been completely refactored to use the Zstandard implementation from the standard library ([PEP-784](https://peps.python.org/pep-0784/)) - The refactor has some minor impact on public APIs, such as changing the exception raised on invalid input 2. Drop 0001-Bump-setuptools-dependency-from-74-to-89.patch as setuptools in requires was removed in pyproject.toml 3. HOMEPAGE has been changed to https://github.com/Rogdham/pyzstd. Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com<mailto:liuyd.fnst@fujitsu.com>> --- ...-setuptools-dependency-from-74-to-89.patch | 27 ------------------- ...std_0.18.0.bb<http://std_0.18.0.bb> => python3-pyzstd_0.19.0.bb<http://python3-pyzstd_0.19.0.bb>} | 9 ++++--- 2 files changed, 5 insertions(+), 31 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch rename meta-python/recipes-devtools/python/{python3-pyzstd_0.18.0.bb<http://python3-pyzstd_0.18.0.bb> => python3-pyzstd_0.19.0.bb<http://python3-pyzstd_0.19.0.bb>} (63%) -- 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#122401): https://lists.openembedded.org/g/openembedded-devel/message/122401 Mute This Topic: https://lists.openembedded.org/mt/116690716/1997914 Group Owner: openembedded-devel+owner@lists.openembedded.org<mailto:openembedded-devel%2Bowner@lists.openembedded.org> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com<mailto:raj.khem@gmail.com>] -=-=-=-=-=-=-=-=-=-=-=-