https://prefect.io logo
Title
m

Muhammad Mikaal Saleem Anwar

07/29/2022, 3:27 PM
Hey everyone, Is there any version of Prefect 2 that is compatible with sqlalchemy version < 1.4 and >= 1.3.6? Want to try it out for my project but I’m getting compatibility issues ...
m

Mike Grabbe

07/29/2022, 3:32 PM
There's a prefect-sqlalchemy collection, but it requires
sqlalchemy>=1.4.31
. Is this what your tested out? https://prefecthq.github.io/prefect-sqlalchemy/
m

Muhammad Mikaal Saleem Anwar

07/29/2022, 3:43 PM
Actually, I just added the latest version (2.0.0) of prefect 2.0 to the “requirements.in” in my project but I get version conflicts on running pip-compile. Is there any version of Prefect 2 that is compatible with SQLAlchemy version greater than or equal to 1.3.6 and less than 1.4?
m

Mason Menges

07/29/2022, 4:30 PM
Hey @Muhammad Mikaal Saleem Anwar To my knowledge poking around in the repo, including previous beta releases, I believe prefect 2.0 has always required sqlalchemy version >= 1.4.20
m

Muhammad Mikaal Saleem Anwar

08/01/2022, 11:44 AM
Got it! Thanks a lot. I was trying to make it work with some legacy code. Guess I’ll have to upgrade … :-//