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
No module named 'sqlalchemy.ext.declarative.clsregistry' on version 1.4.0 #6065
Comments
hey there - "clsregistry" was not really meant for public consumption, is there a reason you need to import this? |
also it's present in "sqlalchemy.orm.clsregistry" now. |
Hello! I found the following trackeback:
When debugging the problem I came across the SQLAlchemy version update. |
Same for us yesterday for airflow. Decided to revert to 1.3.23 until we could figure out root cause. |
note that sqlalchemy does not follow semver, so 1.3 -> 1.4 is a major release :) |
Perhaps it is flask_admin will need an update for 1.4 compatibility. |
from that stracktrace it seems so |
they are accessing private API so this is on them: File "/usr/local/lib/python3.7/dist-packages/flask_admin/contrib/sqla/tools.py", line 4, in |
Thank you. Defly seems like not a defect here. |
can someone open an issue in flask-admin for me, for this as well as someone reported to me an import error from their example (this is more private API stuff):
sorry for dumping I'm on like 18 emails today |
Describe the bug
The newer version of SQLAlchemy breaks due to
sqlalchemy.ext.declarative.clsregistry
module not being found.Expected behavior
The module should be found.
To Reproduce
Install the newer version of the lib:
On python, import the module:
Error
Versions.
The text was updated successfully, but these errors were encountered: