From 006ab93413aafde150de3364f8a64bd696a34414 Mon Sep 17 00:00:00 2001 From: Elad Kalif <45845474+eladkal@users.noreply.github.com> Date: Mon, 5 May 2025 22:31:56 +0300 Subject: [PATCH 1/2] Bump min version of sendgrid sdk --- providers/sendgrid/pyproject.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/providers/sendgrid/pyproject.toml b/providers/sendgrid/pyproject.toml index 6c67cf95d7784..6414a15fd78b1 100644 --- a/providers/sendgrid/pyproject.toml +++ b/providers/sendgrid/pyproject.toml @@ -58,9 +58,7 @@ requires-python = "~=3.9" # After you modify the dependencies, and rebuild your Breeze CI image with ``breeze ci-image build`` dependencies = [ "apache-airflow>=2.10.0", - "sendgrid>=6.0.0", - "ecdsa>=0.19.1,<1", # remove when https://github.com/sendgrid/sendgrid-python/pull/1102 is solved - "werkzeug>=2.2,<4", # Temporary till we can merge https://github.com/apache/airflow/pull/50221 + "sendgrid>=6.12.3", ] [dependency-groups] From 693e175a233c44588d83bda880c2d51d39940a60 Mon Sep 17 00:00:00 2001 From: Elad Kalif <45845474+eladkal@users.noreply.github.com> Date: Sun, 1 Jun 2025 11:12:17 +0300 Subject: [PATCH 2/2] fix versions --- providers/sendgrid/pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/providers/sendgrid/pyproject.toml b/providers/sendgrid/pyproject.toml index 6414a15fd78b1..b02d50baf44a6 100644 --- a/providers/sendgrid/pyproject.toml +++ b/providers/sendgrid/pyproject.toml @@ -58,7 +58,10 @@ requires-python = "~=3.9" # After you modify the dependencies, and rebuild your Breeze CI image with ``breeze ci-image build`` dependencies = [ "apache-airflow>=2.10.0", - "sendgrid>=6.12.3", + # workaround conflicts with fab for Python 3.12 https://github.com/apache/airflow/pull/50221#issuecomment-2926765112 + # can be set to sendgrid>=6.12.3 when we upgrade to fab 5 + "sendgrid>=6.12.3; python_version < '3.12'", + "sendgrid<6.12.3; python_version >= '3.12'" ] [dependency-groups]