diff --git a/providers/sendgrid/pyproject.toml b/providers/sendgrid/pyproject.toml index 6c67cf95d7784..b02d50baf44a6 100644 --- a/providers/sendgrid/pyproject.toml +++ b/providers/sendgrid/pyproject.toml @@ -58,9 +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.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 + # 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]