This is an automated email from the ASF dual-hosted git repository.
taragolis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 77a42324bc Bump minimum version of `blinker` add where it requires
(#38140)
77a42324bc is described below
commit 77a42324bc630d70a1af002f81ee28663e5114ae
Author: Andrey Anshin <[email protected]>
AuthorDate: Sat Mar 16 02:56:39 2024 +0400
Bump minimum version of `blinker` add where it requires (#38140)
* Bump minimum version of `blinker` add where it requires
* Update pyproject.toml
---------
Co-authored-by: Jarek Potiuk <[email protected]>
---
airflow/sentry.py | 3 ---
pyproject.toml | 4 +++-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/airflow/sentry.py b/airflow/sentry.py
index 50f7b019a8..73a1fb99aa 100644
--- a/airflow/sentry.py
+++ b/airflow/sentry.py
@@ -55,9 +55,6 @@ class DummySentry:
Sentry: DummySentry = DummySentry()
if conf.getboolean("sentry", "sentry_on", fallback=False):
import sentry_sdk
-
- # Verify blinker installation
- from blinker import signal # noqa: F401
from sentry_sdk.integrations.flask import FlaskIntegration
from sentry_sdk.integrations.logging import ignore_logger
diff --git a/pyproject.toml b/pyproject.toml
index 6b68b2aeb8..b0c35594fe 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -72,7 +72,9 @@ dependencies = [
"argcomplete>=1.10",
"asgiref",
"attrs>=22.1.0",
- "blinker",
+ # Blinker use for signals in Flask, this is an optional dependency in
Flask 2.2 and lower.
+ # In Flask 2.3 it becomes a mandatory dependency, and flask signals are
always available.
+ "blinker>=1.6.2",
# Colorlog 6.x merges TTYColoredFormatter into ColoredFormatter, breaking
backwards compatibility with 4.x
# Update CustomTTYColoredFormatter to remove
"colorlog>=4.0.2, <5.0",