summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Yiding <liuyd.fnst@fujitsu.com>2025-12-09 15:02:26 +0800
committerKhem Raj <raj.khem@gmail.com>2025-12-10 08:56:14 -0800
commite26c6f86c8392e983a9d5da615631b0e9b54c78f (patch)
treed2823167f03803134cddd68b8dda185d192f7977
parenta5bf664a15ac15b1af9d3c3b28ae49bd06a91b1d (diff)
downloadmeta-openembedded-e26c6f86c8392e983a9d5da615631b0e9b54c78f.tar.gz
python3-pyzstd: upgrade 0.18.0 -> 0.19.0
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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-pyzstd/0001-Bump-setuptools-dependency-from-74-to-89.patch27
-rw-r--r--meta-python/recipes-devtools/python/python3-pyzstd_0.19.0.bb (renamed from meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb)9
2 files changed, 5 insertions, 31 deletions
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 @@
1From bc9b975c9f41e43481a2eb0623b4180926baecec Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 9 Apr 2025 14:38:31 -0700
4Subject: [PATCH] Bump setuptools dependency from 74 to 89
5
6Upstream sticks to 0.74 since setuptools have dropped msvc9compiler
7support beyond that which is needed for python 3.9 on windows. We
8do not have this problem on Linux
9
10Upstream-Status: Inappropriate [OE-specific]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 pyproject.toml | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/pyproject.toml b/pyproject.toml
17index dd885e4..5d4d511 100644
18--- a/pyproject.toml
19+++ b/pyproject.toml
20@@ -1,6 +1,6 @@
21 [build-system]
22 # setuptools 64+ support --build-option
23 # setuptools 74+ drops distutils.msvc9compiler required for Python 3.9 under Windows
24-requires = ["setuptools>=64,<74"]
25+requires = ["setuptools>=64,<89"]
26 backend-path = ["build_script"]
27 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
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 @@
1DESCRIPTION = "Pyzstd module provides classes and functions for compressing and \ 1DESCRIPTION = "Pyzstd module provides classes and functions for compressing and \
2decompressing data, using Facebook’s Zstandard (or zstd as short name) algorithm." 2decompressing data, using Facebook’s Zstandard (or zstd as short name) algorithm."
3HOMEPAGE = "https://github.com/animalize/pyzstd" 3HOMEPAGE = "https://github.com/Rogdham/pyzstd"
4SECTION = "devel/python" 4SECTION = "devel/python"
5 5
6LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
@@ -8,10 +8,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e"
8 8
9PYPI_PACKAGE = "pyzstd" 9PYPI_PACKAGE = "pyzstd"
10 10
11SRC_URI += "file://0001-Bump-setuptools-dependency-from-74-to-89.patch" 11SRC_URI[sha256sum] = "44e7b9be7b445aac742003ddee52ca31385d52dffb8c60adf633fad8e795f10d"
12SRC_URI[sha256sum] = "81b6851ab1ca2e5f2c709e896a1362e3065a64f271f43db77fb7d5e4a78e9861"
13 12
14inherit pypi python_setuptools_build_meta ptest-python-pytest 13inherit pypi python_setuptools_build_meta ptest-python-pytest python_hatchling
14
15DEPENDS += "python3-hatch-vcs-native"
15 16
16# clang-16 with -flto segfaults on arm, therefore ignore flto for now 17# clang-16 with -flto segfaults on arm, therefore ignore flto for now
17do_configure:append:arm:toolchain-clang() { 18do_configure:append:arm:toolchain-clang() {