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.0 not working #15
Comments
I've the same issue but with version 1.0.14 on FreeBSD 14 pkg info py310-sqlalchemy10-1.0.14py310-sqlalchemy10-1.0.14 python3 -VPython 3.10.13 python3 /opt/iredapd/iredapd.py/opt/iredapd/iredapd.py:6: DeprecationWarning: The asyncore module is deprecated and will be removed in Python 3.12. The recommended replacement is asyncio |
Dear all, We have no plan to fix this shortly since iRedAPD works fine with SQLAlchemy-1.4.x which is available in ports tree (databases/py-sqlalchem14). The final solution will be replacing iRedAPD with a milter program written in Golang for better performance. FYI #11 |
I did a
pip install sqlalchemy
which installed sqlAlchemy 2.0.15 but using this version, I got a lot of errors likeError while executing SQL command: ObjectNotExecutableError()
orAttributeError("'Engine' object has no attribute 'execute'")
. Searching the internet I came across https://stackoverflow.com/questions/69490450/objectnotexecutableerror-when-executing-any-sql-query-using-asyncengine which is not direct related, but I downgraded to the latest 1.4 version and now it works.The text was updated successfully, but these errors were encountered: