command.upgrade(alembic_cfg, "head") never returns and blocks the process indefinitely. #1483
Unanswered
oefterdal
asked this question in
Usage Questions
Replies: 1 comment 6 replies
-
Hi, If alembic upgrade blocks it means that the db is waiting for a lock. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Description:
Running
command.upgrade(alembic_cfg, "head")
never returns and blocks the process indefinitely.Expected Behavior:
The process should complete and return, either successfully or with a failure.
To Reproduce:
Error:
Environment:
Additional Context:
The following workaround using
subprocess
works:Have a nice day!
Beta Was this translation helpful? Give feedback.
All reactions