Alembic init doesn't work with SQLalchemy 2 #1199
Replies: 4 comments 1 reply
-
hey there - this is not alembic 1.10.2:
There's no such thing in that file, that looks more like alembic 1.0.6. SQLAlchemy 0.9 has not been referenced in the source code for many years. you'd want to check your paths / installation. |
Beta Was this translation helpful? Give feedback.
-
I tried this across several different VMs and platforms and ran into the
same issue. I did not install an older version of alembic I just ran the
command pip install alembic in a clean environment. So unless the default
version pip pulls is 1.0.6 and pip lost lies to me it is 1.10.2
…On Wed, Mar 8, 2023, 3:51 PM mike bayer ***@***.***> wrote:
Closed #1198 <#1198> as not
planned.
—
Reply to this email directly, view it on GitHub
<#1198 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAORKAYBTOPIRWKWE6546TW3ELRPANCNFSM6AAAAAAVUMPOHY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
can you show the output of the pip command? are you using some special pip options or running it with a local registry ? |
Beta Was this translation helpful? Give feedback.
-
Not sure what happened, not proxies, special commands or anything but rebuilding my environment again and everything it works fine now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
alembic init
fails with sqlalchemy 2.0.5.post1 and possibly other sqlalchemy 2 versionsExpected behavior
alembic init
creates a folder for migrationsTo Reproduce
Install alembic with pip without sqlalchemy first or install sqlalchemy 2 with alembic
Error
Versions.
Additional context
Have a nice day!
Beta Was this translation helpful? Give feedback.
All reactions