Skip to content

PagerdutyNotifier breaks due to out-dated apache-airflow-providers-pagerduty vesrion #48984

@whynick1

Description

@whynick1

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 (remove create_event method) break PagerdutyEventsHook and PagerdutyNotifier on top of it.

The fix is made and release with apache-airflow-providers-pagerduty>=4.0.1. However, airflow 2.10.5 constraint file 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?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions