Thanks, applied as 6aa3b170e38fbe32eb1a9b052a6d67bc5ec571a0.

Michael

[sent from post-receive hook]

On Wed, 14 May 2025 08:08:00 +0200, Markus Heidelberg <[email protected]> 
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 <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> 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

Reply via email to