Skip to content

Commit

Permalink
[Enhancement] Re-add support for SQLAlchemy 1.4 (StarRocks#55435)
Browse files Browse the repository at this point in the history
Changing SQLAlchemy version from >=2.0 to >=1.4

Signed-off-by: Maciek Bryński <[email protected]>
  • Loading branch information
maver1ck authored Jan 28, 2025
1 parent ecfce31 commit 7f7ac0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/starrocks-python-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ starrocks://<User>:<Password>@<Host>:<Port>/<Catalog>.<Database>
```

## Example
Python connector supports only Python 3 and SQLAlchemy 2:
Python connector supports only Python 3 and SQLAlchemy 1.4 and 2:
```
from sqlalchemy import create_engine, Integer, insert
from sqlalchemy.schema import Table, MetaData, Column
Expand Down
2 changes: 1 addition & 1 deletion contrib/starrocks-python-client/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"Topic :: Database :: Front-Ends",
],
install_requires=[
"sqlalchemy>=2.0",
"sqlalchemy>=1.4",
"sqlalchemy-utils>=0.41.2",
"pymysql>=1.1.0",
"alembic>=1.4.0"
Expand Down

0 comments on commit 7f7ac0d

Please sign in to comment.