* [ptxdist] [PATCH] host-python3-flit-core: select HOST_PYTHON3_ZLIB
@ 2025-05-07 11:38 Markus Heidelberg via ptxdist
2025-05-14 6:08 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Markus Heidelberg via ptxdist @ 2025-05-07 11:38 UTC (permalink / raw)
To: ptxdist; +Cc: Markus Heidelberg
When host-python3 was built before host-zlib, there is no zlib support.
Fixes the following error when building the wheel from
build-host/flit_core-3.8.0:
RuntimeError: Compression requires the (missing) zlib module
Caused by this function invocation:
zipfile.ZipFile(target_fp, 'w', compression=zipfile.ZIP_DEFLATED)
Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
---
rules/host-python3-flit-core.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/rules/host-python3-flit-core.in b/rules/host-python3-flit-core.in
index 21af4b5da..bf1ccb34f 100644
--- a/rules/host-python3-flit-core.in
+++ b/rules/host-python3-flit-core.in
@@ -4,3 +4,4 @@ config HOST_PYTHON3_FLIT_CORE
tristate
default y if ALLYES
select HOST_PYTHON3
+ select HOST_PYTHON3_ZLIB
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] host-python3-flit-core: select HOST_PYTHON3_ZLIB
2025-05-07 11:38 [ptxdist] [PATCH] host-python3-flit-core: select HOST_PYTHON3_ZLIB Markus Heidelberg via ptxdist
@ 2025-05-14 6:08 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2025-05-14 6:08 UTC (permalink / raw)
To: ptxdist; +Cc: Markus Heidelberg
Thanks, applied as 6aa3b170e38fbe32eb1a9b052a6d67bc5ec571a0.
Michael
[sent from post-receive hook]
On Wed, 14 May 2025 08:08:00 +0200, Markus Heidelberg <m.heidelberg@cab.de> wrote:
> When host-python3 was built before host-zlib, there is no zlib support.
>
> Fixes the following error when building the wheel from
> build-host/flit_core-3.8.0:
>
> RuntimeError: Compression requires the (missing) zlib module
>
> Caused by this function invocation:
>
> zipfile.ZipFile(target_fp, 'w', compression=zipfile.ZIP_DEFLATED)
>
> Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
> Message-Id: <20250507113809.2818183-1-m.heidelberg@cab.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/host-python3-flit-core.in b/rules/host-python3-flit-core.in
> index 21af4b5daa02..bf1ccb34f4b5 100644
> --- a/rules/host-python3-flit-core.in
> +++ b/rules/host-python3-flit-core.in
> @@ -4,3 +4,4 @@ config HOST_PYTHON3_FLIT_CORE
> tristate
> default y if ALLYES
> select HOST_PYTHON3
> + select HOST_PYTHON3_ZLIB
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-14 6:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-07 11:38 [ptxdist] [PATCH] host-python3-flit-core: select HOST_PYTHON3_ZLIB Markus Heidelberg via ptxdist
2025-05-14 6:08 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox