You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2025/05/15 18:42:33 UTC
(airflow) 01/02: Fix "wheel" build failure
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v2-11-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 0b486c0e0a6f75597360f3382dc6bd71f4045557
Author: Kaxil Naik <ka...@apache.org>
AuthorDate: Thu May 15 23:58:06 2025 +0530
Fix "wheel" build failure
```
Using --no-binary :all: can cause build failures when setuptools-scm or other modern backends are involved,
due to recursive build dependency issues (e.g., with importlib-metadata). Removing this flag allows pip to
use prebuilt wheels where available, improving reliability of package validation.
```
This was fixed on main in https://github.com/apache/airflow/pull/49555
---
scripts/in_container/run_prepare_airflow_packages.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/scripts/in_container/run_prepare_airflow_packages.py b/scripts/in_container/run_prepare_airflow_packages.py
index 8268ea89749..d3fd6e3775e 100755
--- a/scripts/in_container/run_prepare_airflow_packages.py
+++ b/scripts/in_container/run_prepare_airflow_packages.py
@@ -117,8 +117,6 @@ def build_airflow_packages(package_format: str):
tmpdir,
"--no-deps",
"--no-cache",
- "--no-binary",
- ":all:",
file.as_posix(),
],
check=False,