From 8e99f9d0d318a2a8e9262f67f250fe8231c83f47 Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Wed, 8 Sep 2021 14:30:10 +0100 Subject: [PATCH] Bump utils to 46.0.0 This brings in some new polygon simplication code [1] so we need to tweak any tests that rely on the exact number of polygons after this operation. [1]: https://github.com/alphagov/notifications-utils/pull/890 --- requirements.in | 2 +- requirements.txt | 2 +- tests/app/models/test_broadcast_message.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.in b/requirements.in index ca9d5f69f..560e0e5bb 100644 --- a/requirements.in +++ b/requirements.in @@ -26,7 +26,7 @@ fido2==0.9.1 awscli-cwlogs>=1.4,<1.5 itsdangerous==1.1.0 # pyup: <2 -git+https://github.com/alphagov/notifications-utils.git@44.5.0#egg=notifications-utils==44.5.0 +git+https://github.com/alphagov/notifications-utils.git@46.0.0#egg=notifications-utils==46.0.0 git+https://github.com/alphagov/govuk-frontend-jinja.git@v0.5.8-alpha#egg=govuk-frontend-jinja==0.5.8-alpha # cryptography 3.4+ incorporates Rust code, which isn't supported on PaaS diff --git a/requirements.txt b/requirements.txt index 9d37aad32..2e25cffe4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -118,7 +118,7 @@ mistune==0.8.4 # via notifications-utils notifications-python-client==6.2.1 # via -r requirements.in -git+https://github.com/alphagov/notifications-utils.git@44.5.0#egg=notifications-utils==44.5.0 +git+https://github.com/alphagov/notifications-utils.git@46.0.0#egg=notifications-utils==46.0.0 # via -r requirements.in openpyxl==3.0.7 # via pyexcel-xlsx diff --git a/tests/app/models/test_broadcast_message.py b/tests/app/models/test_broadcast_message.py index 4e2705b90..b7af12590 100644 --- a/tests/app/models/test_broadcast_message.py +++ b/tests/app/models/test_broadcast_message.py @@ -44,7 +44,7 @@ def test_simple_polygons(): # Because the areas are close to each other, the simplification # and unioning process results in a single polygon with fewer # total coordinates - [54], + [55], ]