You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2026/05/01 23:09:08 UTC

(airflow) branch main updated: Use SQLite for import and OpenAPI spec generation scripts (#66209)

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

potiuk 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 ee0dc3f3867 Use SQLite for import and OpenAPI spec generation scripts (#66209)
ee0dc3f3867 is described below

commit ee0dc3f3867431807505acd7dadd23cfd165b14f
Author: Jason(Zhe-You) Liu <68...@users.noreply.github.com>
AuthorDate: Sat May 2 07:09:01 2026 +0800

    Use SQLite for import and OpenAPI spec generation scripts (#66209)
---
 scripts/ci/prek/check_imports_in_providers.py      | 2 +-
 scripts/ci/prek/generate_openapi_spec_providers.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/ci/prek/check_imports_in_providers.py b/scripts/ci/prek/check_imports_in_providers.py
index 353d03730c4..10916872e20 100755
--- a/scripts/ci/prek/check_imports_in_providers.py
+++ b/scripts/ci/prek/check_imports_in_providers.py
@@ -34,7 +34,7 @@ initialize_breeze_prek(__name__, __file__)
 
 cmd_result = run_command_via_breeze_shell(
     ["python3", "/opt/airflow/scripts/in_container/run_check_imports_in_providers.py"],
-    backend="postgres",
+    backend="sqlite",
     skip_environment_initialization=False,
 )
 
diff --git a/scripts/ci/prek/generate_openapi_spec_providers.py b/scripts/ci/prek/generate_openapi_spec_providers.py
index 05424307edd..937bed7852e 100755
--- a/scripts/ci/prek/generate_openapi_spec_providers.py
+++ b/scripts/ci/prek/generate_openapi_spec_providers.py
@@ -35,7 +35,7 @@ initialize_breeze_prek(__name__, __file__)
 
 cmd_result = run_command_via_breeze_shell(
     ["python3", "/opt/airflow/scripts/in_container/run_generate_openapi_spec_providers.py", sys.argv[1]],
-    backend="postgres",
+    backend="sqlite",
     skip_environment_initialization=False,
 )