xalpha icon indicating copy to clipboard operation
xalpha copied to clipboard

sqlalchemy >= 2 报错

Open cbhr opened this issue 2 years ago • 2 comments

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

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

cbhr avatar Jul 07 '23 08:07 cbhr

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

refraction-ray avatar Jul 09 '23 14:07 refraction-ray

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

refraction-ray avatar Jul 11 '23 08:07 refraction-ray