hongyiw-oai opened a new issue, #48983:
URL: https://github.com/apache/airflow/issues/48983

   ### Apache Airflow Provider(s)
   
   pagerduty
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-pagerduty 4.0
   
   ### Apache Airflow version
   
   2.10.5
   
   ### Operating System
   
   Ubuntu
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   A [change in Airflow 2.10.4](https://github.com/apache/airflow/pull/44653) 
(remove create_event method) break PagerdutyEventsHook and PagerdutyNotifier on 
top of it.
   
   The [fix](https://github.com/apache/airflow/issues/45626) is made and 
release with apache-airflow-providers-pagerduty>=4.0.1. However, [airflow 
2.10.5 constraint 
file](https://github.com/apache/airflow/blob/constraints-2.10.5/constraints-3.11.txt)
 still pin version to 4.0.0. 
   
   As a a result, PagerdutyEventsHook fail with error
   ```
   AttributeError: 'PagerdutyEventsHook' object has no attribute 'create_event'
   ```
   
   ### What you think should happen instead
   
   Update airflow 2.10.4 and 2.10.5 constraint file to use 
apache-airflow-providers-pagerduty 4.0.1.
   
   ### How to reproduce
   
   Trigger an alert with PagerdutyNotifier.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] 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: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to