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 6082d6a2373 Regenerate meta-package pyproject.toml after vespa 
provider release (#65909)
6082d6a2373 is described below

commit 6082d6a23731dd1419aa8a9d2a2db56051ff4d2d
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Apr 27 02:35:06 2026 +0200

    Regenerate meta-package pyproject.toml after vespa provider release (#65909)
    
    * Regenerate meta-package pyproject.toml after vespa provider release
    
    The update-pyproject-toml prek hook regenerates the apache-airflow
    meta-package optional dependencies from each provider's published PyPI
    metadata. The apache-airflow-providers-vespa package was just published
    to PyPI, so the "Set from local provider pyproject.toml" fallback
    comment is no longer applicable and the hook removes it. Static checks
    on main currently fail without this regeneration.
    
    * Drop stale "Set from local provider pyproject.toml" comments
    
    The local-fallback comment is informational ("this version came from
    the in-repo provider's pyproject.toml because the provider has no PyPI
    release yet"), but it goes stale the moment the provider ships its
    first PyPI release: the hook regenerates the pin without the comment,
    which then surfaces as a static-check failure on unrelated PRs and on
    main.
    
    Drop the trailing comment at the source so a future first-release no
    longer triggers churn. The MIN_VERSION_OVERRIDE comment is kept --
    those pins are intentional, stable, and worth annotating.
    
    Also scrubs the now-unneeded comment for akeyless (still local-only,
    removed pre-emptively).
---
 pyproject.toml                                   | 8 ++++----
 scripts/ci/prek/update_airflow_pyproject_toml.py | 5 ++++-
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 2dd1d371c58..85a586118fb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -102,7 +102,7 @@ apache-airflow = "airflow.__main__:main"
     "apache-airflow-providers-airbyte>=5.0.0"
 ]
 "akeyless" = [
-    "apache-airflow-providers-akeyless>=1.0.0" # Set from local provider 
pyproject.toml
+    "apache-airflow-providers-akeyless>=1.0.0"
 ]
 "alibaba" = [
     "apache-airflow-providers-alibaba>=3.0.0"
@@ -384,7 +384,7 @@ apache-airflow = "airflow.__main__:main"
     "apache-airflow-providers-vertica>=3.9.1"
 ]
 "vespa" = [
-    "apache-airflow-providers-vespa>=0.1.0" # Set from local provider 
pyproject.toml
+    "apache-airflow-providers-vespa>=0.1.0"
 ]
 "weaviate" = [
     "apache-airflow-providers-weaviate>=3.0.0"
@@ -402,7 +402,7 @@ apache-airflow = "airflow.__main__:main"
     
"apache-airflow[aiobotocore,amazon-aws-auth,apache-atlas,apache-webhdfs,async,cloudpickle,github-enterprise,google-auth,graphviz,gunicorn,kerberos,ldap,memray,otel,pandas,polars,rabbitmq,s3fs,sentry,statsd,uv]",
     "apache-airflow-core[all]",
     "apache-airflow-providers-airbyte>=5.0.0",
-    "apache-airflow-providers-akeyless>=1.0.0", # Set from local provider 
pyproject.toml
+    "apache-airflow-providers-akeyless>=1.0.0",
     "apache-airflow-providers-alibaba>=3.0.0",
     "apache-airflow-providers-amazon>=9.0.0",
     "apache-airflow-providers-apache-cassandra>=3.7.0; python_version 
!=\"3.14\"",
@@ -496,7 +496,7 @@ apache-airflow = "airflow.__main__:main"
     "apache-airflow-providers-teradata>=2.6.1",
     "apache-airflow-providers-trino>=5.8.1",
     "apache-airflow-providers-vertica>=3.9.1",
-    "apache-airflow-providers-vespa>=0.1.0", # Set from local provider 
pyproject.toml
+    "apache-airflow-providers-vespa>=0.1.0",
     "apache-airflow-providers-weaviate>=3.0.0",
     "apache-airflow-providers-yandex>=4.0.0",
     "apache-airflow-providers-ydb>=1.4.0",
diff --git a/scripts/ci/prek/update_airflow_pyproject_toml.py 
b/scripts/ci/prek/update_airflow_pyproject_toml.py
index 8d8ab131985..cb8afd4a341 100755
--- a/scripts/ci/prek/update_airflow_pyproject_toml.py
+++ b/scripts/ci/prek/update_airflow_pyproject_toml.py
@@ -166,7 +166,10 @@ def _fallback_provider_version(
             f"[yellow]Provider id {provider_id} min version fallback:[/] "
             f"local provider pyproject.toml -> {local_version}"
         )
-        return local_version, " # Set from local provider pyproject.toml"
+        # No trailing comment: a local-fallback version flips to a real PyPI 
release
+        # without any other change to the pin, and a stale comment would then 
trigger
+        # the update-pyproject-toml prek hook on unrelated PRs / on main.
+        return local_version, ""
     return None, ""
 
 

Reply via email to