aa-matthias opened a new issue, #37742:
URL: https://github.com/apache/airflow/issues/37742

   ### Apache Airflow version
   
   2.8.2
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   After upgrading to Airflow 2.8.2 one of our DAGs started failing. It seems 
to come from updating Pandas to 2.2.1 while SQLAlchemy is still on 1.4.X. 
According to Pandas docs v2.2.1 needs at least 2.0.
   
   
https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
   
   The issue we get is from within pandas
   
     File 
"./virtualenvs/airflow/lib/python3.11/site-packages/pandas/io/sql.py", line 
2670, in execute
       cur = self.con.cursor()
             ^^^^^^^^^^^^^^^
   AttributeError: 'Connection' object has no attribute 'cursor'
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Upgrade to 2.8.2 using the Constraint File for Python 3.11
   
   ### Operating System
   
   Ubuntu 22.04.4 LTS
   
   ### 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