[jira] [Updated] (AIRFLOW-1867) sendgrid fails on python3 with attachments
[ https://issues.apache.org/jira/browse/AIRFLOW-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fokko Driesprong updated AIRFLOW-1867: -- Fix Version/s: (was: 1.10.1) 2.0.0 > sendgrid fails on python3 with attachments > -- > > Key: AIRFLOW-1867 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1867 > Project: Apache Airflow > Issue Type: Bug >Reporter: Scott Kruger >Priority: Minor > Fix For: 2.0.0 > > > Sendgrid emails raise an exception on python 3 when attaching files due to > {{base64.b64encode}} returning {{bytes}} rather than {{unicode/string}} (see: > https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/utils/sendgrid.py#L69). > The fix is simple: decode the base64 data to `utf-8`. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (AIRFLOW-1867) sendgrid fails on python3 with attachments
[ https://issues.apache.org/jira/browse/AIRFLOW-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ash Berlin-Taylor updated AIRFLOW-1867: --- Fix Version/s: 1.10.1 > sendgrid fails on python3 with attachments > -- > > Key: AIRFLOW-1867 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1867 > Project: Apache Airflow > Issue Type: Bug >Reporter: Scott Kruger >Priority: Minor > Fix For: 1.10.1 > > > Sendgrid emails raise an exception on python 3 when attaching files due to > {{base64.b64encode}} returning {{bytes}} rather than {{unicode/string}} (see: > https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/utils/sendgrid.py#L69). > The fix is simple: decode the base64 data to `utf-8`. -- This message was sent by Atlassian JIRA (v7.6.3#76005)