claudiocmp opened a new issue, #31313:
URL: https://github.com/apache/airflow/issues/31313

   ### 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](https://stackoverflow.com/questions/76261152/airflow-db-reset-fails-to-drop-table/76261330#76261330)
 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 tables
   
   ### How to reproduce
   
   ```
   pip install apace-airflow==2.3.0 # or 2.4.0
   airflow db init
   airflow db reset --skip-init
   airflow db init # <--- here it breaks
   ```
   
   ### 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?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to