This is an automated email from the ASF dual-hosted git repository.

jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 12e143b5d5e Smaller distribution files (#48089)
12e143b5d5e is described below

commit 12e143b5d5e88e1eb7fb958a7bb5597afad48b7f
Author: Jed Cunningham <[email protected]>
AuthorDate: Sat Mar 22 13:33:32 2025 -0600

    Smaller distribution files (#48089)
    
    We are now including node_modules into our wheel/sdist files, which
    makes them rather large. This brings them back down.
    
    This was a regression with the core move.
---
 airflow-core/pyproject.toml | 7 ++++++-
 pyproject.toml              | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml
index 0329bab0e56..fdef4b34749 100644
--- a/airflow-core/pyproject.toml
+++ b/airflow-core/pyproject.toml
@@ -272,7 +272,8 @@ include = [
     "NOTICE"
 ]
 exclude = [
-    "src/airflow/ui/node_modules/"
+    "src/airflow/ui/node_modules/",
+    "src/airflow/api_fastapi/auth/managers/simple/ui/node_modules",
 ]
 
 [tool.hatch.build.targets.custom]
@@ -292,6 +293,10 @@ artifacts = [
     "airflow/api_fastapi/auth/managers/simple/ui/dist/",
     "airflow/git_version"
 ]
+exclude = [
+    "src/airflow/ui/node_modules/",
+    "src/airflow/api_fastapi/auth/managers/simple/ui/node_modules",
+]
 
 [dependency-groups]
 dev = [
diff --git a/pyproject.toml b/pyproject.toml
index aecb1d383d4..e71b685dc62 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -138,6 +138,7 @@ path = "./hatch_build.py"
 path = "./hatch_build.py"
 
 [tool.hatch.build.targets.sdist]
+exclude = ["*"]
 
 [tool.hatch.build.targets.wheel]
 bypass-selection = true

Reply via email to