Merge pull request #4100 from alphagov/bump-utils-2-177535141

Bump utils to 51.2.1
This commit is contained in:
Ben Thorner
2021-12-13 09:58:26 +00:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -652,7 +652,7 @@ def _check_messages(service_id, template_id, upload_id, preview_row, letters_as_
template=template,
max_initial_rows_shown=50,
max_errors_shown=50,
whitelist=itertools.chain.from_iterable(
guestlist=itertools.chain.from_iterable(
[user.name, user.mobile_number, user.email_address] for user in Users(service_id)
) if current_service.trial_mode else None,
remaining_messages=remaining_messages,

View File

@@ -451,7 +451,7 @@ def check_contact_list(service_id, upload_id):
recipients = RecipientCSV(
contents,
template=get_sample_template(template_type or 'sms'),
whitelist=itertools.chain.from_iterable(
guestlist=itertools.chain.from_iterable(
[user.name, user.mobile_number, user.email_address]
for user in current_service.active_users
) if current_service.trial_mode else None,

View File

@@ -30,7 +30,7 @@ pyproj==3.2.1
# PaaS
awscli-cwlogs>=1.4,<1.5
itsdangerous==1.1.0 # pyup: <2
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@50.0.0
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@51.2.1
govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@v0.5.8-alpha
# cryptography 3.4+ incorporates Rust code, which isn't supported on PaaS

View File

@@ -123,7 +123,7 @@ mistune==0.8.4
# via notifications-utils
notifications-python-client==6.3.0
# via -r requirements.in
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@50.0.0
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@51.2.1
# via -r requirements.in
openpyxl==3.0.7
# via pyexcel-xlsx