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

   ### Apache Airflow version
   
   2.2.5 (latest released)
   
   ### What happened
   
   The latest presto provider release 
https://pypi.org/project/apache-airflow-providers-presto/ is broken due to:
   
   ```
     File 
"/usr/local/lib/python3.8/site-packages/airflow/providers/presto/hooks/presto.py",
 line 117, in get_conn
       http_headers = {"X-Presto-Client-Info": generate_presto_client_info()}
     File 
"/usr/local/lib/python3.8/site-packages/airflow/providers/presto/hooks/presto.py",
 line 56, in generate_presto_client_info
       'try_number': context_var['try_number'],
   KeyError: 'try_number'
   ```
   
   
   
   ### What you think should happen instead
   
   This is due to the latest airflow release 2.2.5 does not include this PR:
   
   https://github.com/apache/airflow/pull/22297/
   
   ### How to reproduce
   
   _No response_
   
   ### Operating System
   
   Mac
   
   ### Versions of Apache Airflow Providers
   
   https://pypi.org/project/apache-airflow-providers-presto/
   
   version: 2.2.0
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   local
   
   ### 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