-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
airflow 2.3.x conflicts with alembic 1.11.0 #31313
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
BTW. Generally for any version of airlfow you should use You can then independenlty upgrade each of the dependencies but - unlike when you uses the constraints - this is not "guaranteed" to work (this is simply impossible because any future release of any dependency might break airflow in similar way). So if you have a workflow where you reinstall airflow from the scratch regularly (it seems you have) - you should always install airflow with the constraints first - and then independently upgrade everything you want to a desired version without the constraints, this way you can assure stable installation mechanism for any workflow. |
Apache Airflow version
Other Airflow 2 version (please specify below)
What happened
version 2.3.x allow alembic up to 2.0 (link)[https://github.com/apache/airflow/blob/2.3.4/setup.cfg#L86]
new alembic 1.11.0 API introduces a breaking change, causing migrations to fail silently. The problem manifest when subsequently running
airflow db init
again.What you think should happen instead
airflow db reset [--skip-init]
should successfully drop tablesHow to reproduce
Operating System
ubuntu 20.4.0
Versions of Apache Airflow Providers
No response
Deployment
Virtualenv installation
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: