Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlalchemy >= 2 报错 #174

Open
cbhr opened this issue Jul 7, 2023 · 2 comments
Open

sqlalchemy >= 2 报错 #174

cbhr opened this issue Jul 7, 2023 · 2 comments

Comments

@cbhr
Copy link

cbhr commented Jul 7, 2023

sqlalchemy 2 已经去除 Engine.execute 方法了。
运行会报错
AttributeError: 'OptionEngine' object has no attribute 'execute'

需要安装 <2 的版本
python -m pip install --upgrade "sqlalchemy<2.0"

@refraction-ray
Copy link
Owner

感谢,会在下个发布时 setup 中限定相应库的版本

@refraction-ray
Copy link
Owner

shall be fixed in 0.11.9 by pining the version. but I will leave this issue open since the long term solution is to make the impl compatible with sqlalchemy v2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants