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 74baebe5e7 Bump min version of Alembic to 1.13.1 (#36928)
74baebe5e7 is described below

commit 74baebe5e774ac575fe3a49291996473b1daa789
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Jan 20 15:43:07 2024 +0100

    Bump min version of Alembic to 1.13.1 (#36928)
    
    There are some errors for users who still use sqlalchemy 1, where
    Alembic 1.13.0 wrongly marks some migration as SqlAlchemy 2+
    
    Fixes: #36912
---
 pyproject.toml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index d555213a2b..28bb06d2ea 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -70,7 +70,8 @@ classifiers = [
 dependencies = [
     # Alembic is important to handle our migrations in predictable and 
performant way. It is developed
     # together with SQLAlchemy. Our experience with Alembic is that it very 
stable in minor version
-    "alembic>=1.6.3, <2.0",
+    # The 1.13.0 of alembic marked some migration code as SQLAlchemy 2+ only 
so we limit it to 1.13.1
+    "alembic>=1.13.1, <2.0",
     "argcomplete>=1.10",
     "asgiref",
     "attrs>=22.1.0",

Reply via email to