From b9af4efb69570f8f76a14c7ad201cf15cfbf625c Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Tue, 31 Oct 2023 16:30:04 +0100 Subject: [PATCH] Limit 1.33.0 broken sentry_sdk released 31st of October 2023 (#35298) The sentry_sdk 1.33.0 is broken, it fails to import when greenlet is installed. See: https://github.com/getsentry/sentry-python/issues/2473 Most likely the will quickly release new version so != should be fine. (cherry picked from commit 76847f89629d853b6afb6ca38114d71d232fb7b1) --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 14c7ed191d529..e673969e85dba 100644 --- a/setup.py +++ b/setup.py @@ -363,7 +363,9 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve ] sentry = [ "blinker>=1.1", - "sentry-sdk>=1.32.0", + # Sentry SDK 1.33 is broken when greenlets are installed and fails to import + # See https://github.com/getsentry/sentry-python/issues/2473 + "sentry-sdk>=1.32.0,!=1.33.0", ] statsd = [ "statsd>=3.3.0",