| Message ID | 20251209070234.22481-1-liuyd.fnst@fujitsu.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | [meta-oe,1/3] liblognorm: upgrade 2.0.7 -> 2.0.8 | expand |
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> -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() {
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%)