Files
notifications-admin/requirements.in
Chris Hill-Scott ee3fb2f175 Pin importlib-metadata
We can’t use the latest version of importlib-metadata because it’s
pinned to <4.3 by the newest version of flake8.

The conflict is caused by:
    The user requested importlib-metadata==4.8.1
    click 8.0.1 depends on importlib-metadata; python_version < "3.8"
    pytest 6.2.5 depends on importlib-metadata>=0.12; python_version < "3.8"
    flake8 4.0.1 depends on importlib-metadata<4.3; python_version < "3.8"

Our `make freeze-requirements` task doesn’t catch this because it
doesn’t look at dependencies in `requirements-for-test.txt`. Therefore
it only freezes the version that `click` is specifying, which is the
latest version.

Pinning the version in `requirements.in` gets around this.
2021-10-13 15:59:35 +01:00

42 lines
1.2 KiB
Plaintext

# Run `make freeze-requirements` to update requirements.txt
# with package version changes made in requirements-app.txt
ago==0.0.93
govuk-bank-holidays==0.8
humanize==3.6.0
Flask==1.1.2 # pyup: <2
Flask-WTF==0.15.1
Flask-Login==0.5.0
werkzeug==2.0.2
blinker==1.4
pyexcel==0.6.6
pyexcel-io==0.6.4
pyexcel-xls==0.6.2
pyexcel-xlsx==0.6.0
pyexcel-ods3==0.6.0
pytz==2021.1
gunicorn==20.1.0
eventlet==0.30.2 # pyup: ignore
notifications-python-client==6.2.1
Shapely==1.7.1
rtreelib==0.2.0
fido2==0.9.1
importlib-metadata==4.2.0
# PaaS
awscli-cwlogs>=1.4,<1.5
itsdangerous==1.1.0 # pyup: <2
git+https://github.com/alphagov/notifications-utils.git@46.1.0#egg=notifications-utils==46.1.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
# e.g. https://github.com/alphagov/notifications-api/pull/3126
cryptography<3.4 # pyup: ignore
# gds-metrics requires prometheseus 0.2.0, override that requirement as later versions bring significant performance gains
# version 0.10.0 introduced exceptions when workers crashed due to deprecating lower case `prometheus_multiproc_dir`.
prometheus-client>=0.9.0,!=0.10.0
gds-metrics==0.2.4