Skip to contentSkip to conversation

systemd: remove incorrect python3-pyzstd dependency

PATCH New Ross Burton 1 participant 2 messages Mar 26 Zstd

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 systemd: remove incorrect python3-pyzstd dependency

ukify has never used the pyzstd module. It originally used the zstd module[1], switched to zstandard[2], and as of systemd 259 will use the standard compression.zstd if available[3].

Our Python is 3.14 which has comoression.zstd, so we don't need any dependencies.

[1] systemd 483c9c1b8a ("ukify: try to find the uname string in the linux image if not specified")
[2] systemd fbc6fecf1a ("ukify: switch from zstd to zstandard")
[3] systemd 1e5498e237 ("ukify: prefer compression.zstd when available")

---
 meta/recipes-core/systemd/systemd_259.5.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-core/systemd/systemd_259.5.bb +0 -1
index f0cc83095da..c3cb605b4df 100644
@@ -642,7 +642,6 @@ RDEPENDS:${PN}-ukify = " \
                         python3-pefile \
                         python3-pprint \
                         python3-pydoc \
-                        python3-pyzstd \
                         python3-shell \
                        "
 
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/2 python3-pyzstd: remove recipe

There are no users of this in oe-core and Python 3.14 has built-in support for zstd, so remove the recipe.

---
 meta/conf/distro/include/maintainers.inc        |  1 -
 meta/conf/distro/include/ptest-packagelists.inc |  1 -
 .../python/python3-pyzstd_0.19.1.bb             | 17 -----------------
 3 files changed, 19 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-pyzstd_0.19.1.bb
meta/conf/distro/include/maintainers.inc +0 -1
index f9a600ff114..9acf2da0a67 100644
@@ -707,7 +707,6 @@ RECIPE_MAINTAINER:pn-python3-pytest = "Trevor Gamblin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pytest-subtests = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pytz = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pyyaml = "Tim Orling <[email protected]>"
-RECIPE_MAINTAINER:pn-python3-pyzstd = "Koen Kooi <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-rdflib = "Wang Mingyu <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-referencing = "Trevor Gamblin <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-requests = "Tim Orling <[email protected]>"
meta/conf/distro/include/ptest-packagelists.inc +0 -1
index a2d7a56e791..31fd5ae7ce6 100644
@@ -85,7 +85,6 @@ PTESTS_FAST = "\
     python3-pyasn1 \
     python3-pytz \
     python3-pyyaml \
-    python3-pyzstd \
     python3-rpds-py \
     python3-trove-classifiers \
     python3-uritools \
meta/recipes-devtools/python/python3-pyzstd_0.19.1.bb deleted +0 -17
deleted file mode 100644
index ccf37eacf33..00000000000
@@ -1,17 +0,0 @@
-DESCRIPTION = "Pyzstd module provides classes and functions for compressing and \
-decompressing data, using Facebook’s Zstandard (or zstd as short name) algorithm."
-SUMMARY = "Python bindings to Zstandard (zstd) compression library"
-HOMEPAGE = "https://github.com/animalize/pyzstd"
-SECTION = "devel/python"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e"
-
-PYPI_PACKAGE = "pyzstd"
-
-SRC_URI[sha256sum] = "36723d3c915b3981de9198d0a2c82b2f5fe3eaa36e4d8d586937830a8afc7d72"
-
-inherit pypi python_hatchling ptest-python-pytest
-
-DEPENDS += "python3-hatch-vcs-native"
-
Signature · 1 line
2.43.0