Files
notifications-admin/requirements.txt
Chris Hill-Scott 26f702ebce Refactor to use PostalAddress helper from utils
Since we’re doing normalisation and line-count-checking of addresses in
multiple places it makes sense for that code to be shared. Which is
what happened here:
https://github.com/alphagov/notifications-utils/pull/713

This commit refactors the admin code to make use of the new utils code.

Note about placeholders:
- they now go into the session as `address_line_1` instead of `address
  line 1` because this is the format the API uses, so should be
  considered canonical
- they are now fetched from the session in a way that isn’t sensitive
  to case or underscores (using the `Columns` class)
- the API doesn’t care about case or underscores vs spaces in
  placeholder names because it’s checking an instance of `Template` to
  see if all the required placeholders are present (see
  401c8e41d6/app/notifications/process_notifications.py (L40))
2020-04-07 09:00:55 +01:00

79 lines
1.5 KiB
Plaintext

# pyup: ignore file
# This file is autogenerated. Do not edit it manually.
# Run `make freeze-requirements` to update requirements.txt
# with package version changes made in requirements-app.txt
ago==0.0.93
humanize==2.2.0
Flask==1.1.1
Flask-WTF==0.14.3
Flask-Login==0.5.0
blinker==1.4
pyexcel==0.5.15
pyexcel-io==0.5.20
pyexcel-xls==0.5.8
pyexcel-xlsx==0.5.8
pyexcel-ods3==0.5.3
pytz==2019.3
gunicorn==20.0.4
eventlet==0.25.1
notifications-python-client==5.5.1
# PaaS
awscli-cwlogs>=1.4,<1.5
itsdangerous==1.1.0
git+https://github.com/alphagov/notifications-utils.git@36.12.0#egg=notifications-utils==36.12.0
git+https://github.com/alphagov/govuk-frontend-jinja.git@v0.5.1-alpha#egg=govuk-frontend-jinja==0.5.1-alpha
## The following requirements were added by pip freeze:
awscli==1.18.36
bleach==3.1.4
boto3==1.10.38
botocore==1.15.36
certifi==2020.4.5.1
chardet==3.0.4
click==7.1.1
colorama==0.4.3
dnspython==1.16.0
docopt==0.6.2
docutils==0.15.2
et-xmlfile==1.0.1
flask-redis==0.4.0
future==0.18.2
greenlet==0.4.15
idna==2.9
jdcal==1.4.1
Jinja2==2.11.1
jmespath==0.9.5
lml==0.0.9
lxml==4.5.0
MarkupSafe==1.1.1
mistune==0.8.4
monotonic==1.5
openpyxl==3.0.3
orderedset==2.0.1
phonenumbers==8.11.2
pyasn1==0.4.8
pyexcel-ezodf==0.3.4
PyJWT==1.7.1
PyPDF2==1.26.0
python-dateutil==2.8.1
python-json-logger==0.1.11
PyYAML==5.3.1
redis==3.4.1
requests==2.23.0
rsa==3.4.2
s3transfer==0.3.3
six==1.14.0
smartypants==2.0.1
statsd==3.3.0
texttable==1.6.2
urllib3==1.25.8
webencodings==0.5.1
Werkzeug==1.0.1
WTForms==2.2.1
xlrd==1.2.0
xlwt==1.3.0