This is an automated email from the ASF dual-hosted git repository.
eladkal 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 e00dece3bcb fix subject column for tagging in preparing providers
release (#56885)
e00dece3bcb is described below
commit e00dece3bcb741fc21fc7ebfd751292c6380a6a8
Author: Elad Kalif <[email protected]>
AuthorDate: Mon Oct 20 17:56:01 2025 +0300
fix subject column for tagging in preparing providers release (#56885)
---
.../src/airflow_breeze/prepare_providers/provider_documentation.py | 7 ++++++-
dev/breeze/tests/test_provider_documentation.py | 6 +++---
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git
a/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py
b/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py
index a7bc466e7aa..fbd4c7a5ada 100644
--- a/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py
+++ b/dev/breeze/src/airflow_breeze/prepare_providers/provider_documentation.py
@@ -340,7 +340,12 @@ def _convert_git_changes_to_table(
header = ""
if not table_data:
return header, []
- table = tabulate(table_data, headers=headers, tablefmt="pipe" if markdown
else "rst")
+ table = tabulate(
+ table_data,
+ headers=headers,
+ tablefmt="pipe" if markdown else "rst",
+ colalign=("left", "center", "left"),
+ )
if not markdown:
header += f"\n\n{version}\n" + "." * len(version) + "\n\n"
release_date = table_data[0][1]
diff --git a/dev/breeze/tests/test_provider_documentation.py
b/dev/breeze/tests/test_provider_documentation.py
index 7502f449fd9..8b147ce7a2f 100644
--- a/dev/breeze/tests/test_provider_documentation.py
+++ b/dev/breeze/tests/test_provider_documentation.py
@@ -197,7 +197,7 @@ LONG_HASH_123144 SHORT_HASH 2023-01-01 Description `with`
pr (#12346)
Latest change: 2023-01-01
============================================= ===========
==================================
-Commit Committed Subject
+Commit Committed Subject
============================================= ===========
==================================
`SHORT_HASH <https://url/LONG_HASH_123144>`__ 2023-01-01 ``Description
'with' no pr``
`SHORT_HASH <https://url/LONG_HASH_123144>`__ 2023-01-01 ``Description
'with' pr (#12345)``
@@ -215,8 +215,8 @@ LONG_HASH_123144 SHORT_HASH 2023-01-01 Description `with`
pr (#12346)
""",
"""
-| Commit | Committed | Subject
|
-|:-------------------------------------------|:------------|:---------------------------------|
+| Commit | Committed | Subject
|
+|:-------------------------------------------|:-----------:|:---------------------------------|
| [SHORT_HASH](https://url/LONG_HASH_123144) | 2023-01-01 | `Description
'with' no pr` |
| [SHORT_HASH](https://url/LONG_HASH_123144) | 2023-01-01 | `Description
'with' pr (#12345)` |
| [SHORT_HASH](https://url/LONG_HASH_123144) | 2023-01-01 | `Description
'with' pr (#12346)` |