When I rebuilt a Docker image for my Python application that uses SQLAlchemy and Alembic, I started getting the following error when running migrations:
ImportError: cannot import name '_NONE_NAME' from 'sqlalchemy.sql.naming'
I didn't change my pinned requirements in requirements.txt
. What is causing the issue?