This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new dc8f811ace5 [v3-1-test] Use eralchemy instead of eralchemy2 (#55758)
(#57715)
dc8f811ace5 is described below
commit dc8f811ace5d5e8f8392bb2428b35539eec9cd0f
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Nov 2 19:20:59 2025 +0100
[v3-1-test] Use eralchemy instead of eralchemy2 (#55758) (#57715)
`eralchemy2` got merged back to `eralchemy`, so this should depend on the
maintained version.
(cherry picked from commit dc9ad8c53ceabfea24b5bd8f11f18b1c14bb7a46)
Co-authored-by: Florian Maurer <[email protected]>
---
generated/devel_deps.txt | 2 +-
scripts/ci/prek/generate_airflow_diagrams.py | 2 +-
scripts/in_container/run_prepare_er_diagram.py | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/generated/devel_deps.txt b/generated/devel_deps.txt
index 22839b75a8e..2a60446e62c 100644
--- a/generated/devel_deps.txt
+++ b/generated/devel_deps.txt
@@ -13,7 +13,7 @@ coverage
deltalake
diagrams
duckdb
-eralchemy2
+eralchemy
execnet
gitdb
gitpython
diff --git a/scripts/ci/prek/generate_airflow_diagrams.py
b/scripts/ci/prek/generate_airflow_diagrams.py
index 368fa1214fc..9abd753fada 100755
--- a/scripts/ci/prek/generate_airflow_diagrams.py
+++ b/scripts/ci/prek/generate_airflow_diagrams.py
@@ -55,7 +55,7 @@ def main():
if sys.platform == "darwin":
console.print(
"[red]Likely you have no graphviz installed[/]"
- "Please install eralchemy2 package to run this script.
"
+ "Please install eralchemy package to run this script. "
"This will require to install graphviz, "
"and installing graphviz might be difficult for MacOS.
Please follow: "
"https://pygraphviz.github.io/documentation/stable/install.html#macos ."
diff --git a/scripts/in_container/run_prepare_er_diagram.py
b/scripts/in_container/run_prepare_er_diagram.py
index 7d11dd7865e..5e7a8d22c5c 100755
--- a/scripts/in_container/run_prepare_er_diagram.py
+++ b/scripts/in_container/run_prepare_er_diagram.py
@@ -37,12 +37,12 @@ MIGRATIONS_DIR = AIRFLOW_ROOT_PATH / "airflow-core" / "src"
/ "airflow" / "migra
if __name__ == "__main__":
console = Console(width=400, color_system="standard")
try:
- from eralchemy2 import render_er
+ from eralchemy import render_er
except ImportError:
if sys.platform == "darwin":
console.print(
"[red]Likely you have no graphviz installed[/]"
- "Please install eralchemy2 package to run this script. "
+ "Please install eralchemy package to run this script. "
"This will require to install graphviz, "
"and installing graphviz might be difficult for MacOS. Please
follow: "
"https://pygraphviz.github.io/documentation/stable/install.html#macos ."