SamWheating commented on issue #15709: URL: https://github.com/apache/airflow/issues/15709#issuecomment-835470336
Could you confirm which version of SQLAlchemy you're using? I believe a bunch of things were changed with declarative classes in the 1.4 release of SQLAlchemy. The latest version of Airflow should be installed with `sqlalchemy>=1.3.18, <1.4` [(source)](https://github.com/apache/airflow/blob/master/setup.cfg#L142) This restriction was only added after the 2.0.1 release so I can totally see how Airflow 2.0.1 might install a bad version by default. However, it looks like this has been fixed in the constraints. Could you please try installing with constraints? [Instructions here](https://airflow.apache.org/docs/apache-airflow/stable/installation.html#constraints-files) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
