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

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


The following commit(s) were added to refs/heads/v3-0-test by this push:
     new 0b2f6b0cd9a [v3-0-test] Exclude "openapi.merged.json" from built 
.sdist and .whl distributions (#52908) (#52910)
0b2f6b0cd9a is described below

commit 0b2f6b0cd9a3c6c25eaa611e09c0537e4a824127
Author: github-actions[bot] 
<41898282+github-actions[bot]@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]

Reply via email to