potiuk commented on PR #40758:
URL: https://github.com/apache/airflow/pull/40758#issuecomment-2227032887

   Hey @bjankie1 -> we need to revert that one. Our canary builds detected that 
`yield_per` is sqlalchemy 2-only feature and we still support sqlalchemy 1 
because a number of our users might rely on it via other dependencies.
   
   That's why I revert it for now in 
https://github.com/apache/airflow/pull/40769
   
   I think we still need to do a conditional work on those queries. We already 
have in airflow/sqlalchemy_utils:
   
   ```
   def is_sqlalchemy_v1() -> bool:
       return version.parse(metadata.version("sqlalchemy")).major == 1
   ```


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