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/07/07 11:02:55 UTC

(airflow) 04/11: [v3-0-test] Exclude "openapi.merged.json" from built .sdist and .whl distributions (#52908) (#52910)

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

kaxilnaik pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 892ea81150a97f8ad1f6c40847db493fb55e0829
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Sun Jul 6 00:46:48 2025 +0200

    [v3-0-test] Exclude "openapi.merged.json" from built .sdist and .whl distributions (#52908) (#52910)
    
    The file might be a left-over from earlier api generation and it is
    already .gitignored, so it does not appear in the source tarball,
    but sdist and wheel generation does not look at .gitignored files
    (for a good reason - we might want to include some generated files
    in those distributions) - so we should exclude it manually similarly
    as we already do with node_modules for example.
    (cherry picked from commit 93f2bccf58ce45ec7ddcb595198cdca91107dd3d)
    
    Co-authored-by: Jarek Potiuk <ja...@potiuk.com>
---
 airflow-core/pyproject.toml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml
index ab8aed87000..afa52e1d53b 100644
--- a/airflow-core/pyproject.toml
+++ b/airflow-core/pyproject.toml
@@ -210,6 +210,7 @@ include = [
 exclude = [
     "src/airflow/ui/node_modules/",
     "src/airflow/api_fastapi/auth/managers/simple/ui/node_modules",
+    "src/airflow/ui/openapi.merged.json",
 ]
 
 [tool.hatch.build.targets.custom]
@@ -232,6 +233,7 @@ artifacts = [
 exclude = [
     "src/airflow/ui/node_modules/",
     "src/airflow/api_fastapi/auth/managers/simple/ui/node_modules",
+    "src/airflow/ui/openapi.merged.json",
 ]
 
 [dependency-groups]