Bump utils to 38.0.0

Brings in breaking change to how the `RecipientCSV` class should be
instantiated.
This commit is contained in:
Chris Hill-Scott
2020-04-20 15:18:40 +01:00
parent 16734595e7
commit e366ad29ae
3 changed files with 5 additions and 7 deletions

View File

@@ -126,9 +126,7 @@ def get_recipient_csv_and_template_and_sender_id(job):
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))
recipient_csv = RecipientCSV(file_data=contents,
template_type=template.template_type,
placeholders=template.placeholders)
recipient_csv = RecipientCSV(contents, template=template)
return recipient_csv, template, meta_data.get("sender_id")

View File

@@ -26,6 +26,6 @@ notifications-python-client==5.5.1
# PaaS
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

View File

@@ -28,7 +28,7 @@ notifications-python-client==5.5.1
# PaaS
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
@@ -37,14 +37,14 @@ alembic==1.4.2
amqp==1.4.9
anyjson==0.3.3
attrs==19.3.0
awscli==1.18.45
awscli==1.18.46
bcrypt==3.1.7
billiard==3.3.0.23
bleach==3.1.4
blinker==1.4
boto==2.49.0
boto3==1.10.38
botocore==1.15.45
botocore==1.15.46
certifi==2020.4.5.1
chardet==3.0.4
click==7.1.1