Skip to content

Commit e604385

Browse files
authored
Merge pull request #3551 from alphagov/bump-utils-56
Bump utils to version 56.0.0
2 parents 6495b19 + ee8e86f commit e604385

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

app/template/rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
BroadcastMessageTemplate,
1010
SMSMessageTemplate,
1111
)
12-
from PyPDF2.utils import PdfReadError
12+
from PyPDF2.errors import PdfReadError
1313
from requests import post as requests_post
1414
from sqlalchemy.orm.exc import NoResultFound
1515

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ notifications-python-client==6.3.0
2929
# PaaS
3030
awscli-cwlogs==1.4.6
3131

32-
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@55.1.6
32+
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@56.0.0
3333

3434
# gds-metrics requires prometheseus 0.2.0, override that requirement as 0.7.1 brings significant performance gains
3535
prometheus-client==0.14.1

requirements.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ mistune==0.8.4
160160
# via notifications-utils
161161
notifications-python-client==6.3.0
162162
# via -r requirements.in
163-
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@55.1.6
163+
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@56.0.0
164164
# via -r requirements.in
165165
orderedset==2.0.3
166166
# via notifications-utils
@@ -189,7 +189,7 @@ pyjwt==2.4.0
189189
# notifications-python-client
190190
pyparsing==3.0.9
191191
# via packaging
192-
pypdf2==1.28.2
192+
pypdf2==2.0.0
193193
# via notifications-utils
194194
pyproj==3.3.1
195195
# via notifications-utils
@@ -250,6 +250,8 @@ sqlalchemy==1.4.36
250250
# marshmallow-sqlalchemy
251251
statsd==3.3.0
252252
# via notifications-utils
253+
typing-extensions==4.2.0
254+
# via pypdf2
253255
uri-template==1.2.0
254256
# via jsonschema
255257
urllib3==1.26.9

tests/app/template/test_rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import requests_mock
1111
from freezegun import freeze_time
1212
from notifications_utils import SMS_CHAR_COUNT_LIMIT
13-
from PyPDF2.utils import PdfReadError
13+
from PyPDF2.errors import PdfReadError
1414

1515
from app.dao.templates_dao import (
1616
dao_get_template_by_id,

0 commit comments

Comments
 (0)