mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-18 07:11:48 -05:00
Bump utils to 38.0.0
Brings in breaking change to how the `RecipientCSV` class should be instantiated.
This commit is contained in:
@@ -126,9 +126,7 @@ def get_recipient_csv_and_template_and_sender_id(job):
|
|||||||
template = db_template._as_utils_template()
|
template = db_template._as_utils_template()
|
||||||
|
|
||||||
contents, meta_data = s3.get_job_and_metadata_from_s3(service_id=str(job.service_id), job_id=str(job.id))
|
contents, meta_data = s3.get_job_and_metadata_from_s3(service_id=str(job.service_id), job_id=str(job.id))
|
||||||
recipient_csv = RecipientCSV(file_data=contents,
|
recipient_csv = RecipientCSV(contents, template=template)
|
||||||
template_type=template.template_type,
|
|
||||||
placeholders=template.placeholders)
|
|
||||||
|
|
||||||
return recipient_csv, template, meta_data.get("sender_id")
|
return recipient_csv, template, meta_data.get("sender_id")
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,6 @@ notifications-python-client==5.5.1
|
|||||||
# PaaS
|
# PaaS
|
||||||
awscli-cwlogs>=1.4,<1.5
|
awscli-cwlogs>=1.4,<1.5
|
||||||
|
|
||||||
git+https://github.com/alphagov/notifications-utils.git@37.3.0#egg=notifications-utils==37.3.0
|
git+https://github.com/alphagov/notifications-utils.git@38.0.0#egg=notifications-utils==38.0.0
|
||||||
|
|
||||||
gds-metrics==0.2.0
|
gds-metrics==0.2.0
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ notifications-python-client==5.5.1
|
|||||||
# PaaS
|
# PaaS
|
||||||
awscli-cwlogs>=1.4,<1.5
|
awscli-cwlogs>=1.4,<1.5
|
||||||
|
|
||||||
git+https://github.com/alphagov/notifications-utils.git@37.3.0#egg=notifications-utils==37.3.0
|
git+https://github.com/alphagov/notifications-utils.git@38.0.0#egg=notifications-utils==38.0.0
|
||||||
|
|
||||||
gds-metrics==0.2.0
|
gds-metrics==0.2.0
|
||||||
|
|
||||||
@@ -37,14 +37,14 @@ alembic==1.4.2
|
|||||||
amqp==1.4.9
|
amqp==1.4.9
|
||||||
anyjson==0.3.3
|
anyjson==0.3.3
|
||||||
attrs==19.3.0
|
attrs==19.3.0
|
||||||
awscli==1.18.45
|
awscli==1.18.46
|
||||||
bcrypt==3.1.7
|
bcrypt==3.1.7
|
||||||
billiard==3.3.0.23
|
billiard==3.3.0.23
|
||||||
bleach==3.1.4
|
bleach==3.1.4
|
||||||
blinker==1.4
|
blinker==1.4
|
||||||
boto==2.49.0
|
boto==2.49.0
|
||||||
boto3==1.10.38
|
boto3==1.10.38
|
||||||
botocore==1.15.45
|
botocore==1.15.46
|
||||||
certifi==2020.4.5.1
|
certifi==2020.4.5.1
|
||||||
chardet==3.0.4
|
chardet==3.0.4
|
||||||
click==7.1.1
|
click==7.1.1
|
||||||
|
|||||||
Reference in New Issue
Block a user