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 <[email protected]>
发送时间: 2025年12月10日 00:04
收件人: Liu, Yiding/刘 乙丁 <[email protected]>
抄送: [email protected] 
<[email protected]>
主题: 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> 
<[email protected]<mailto:[email protected]>>
 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 
<[email protected]<mailto:[email protected]>>
---
 ...-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%)

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 <[email protected]<mailto:[email protected]>>
-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 <[email protected]<mailto:[email protected]>>
----
- 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() {
--
2.43.0




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122481): 
https://lists.openembedded.org/g/openembedded-devel/message/122481
Mute This Topic: https://lists.openembedded.org/mt/116706855/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to