Merge pull request #3857 from alphagov/prom-pin

pin prometheus-client to 0.9.0
This commit is contained in:
Leo Hemsted
2021-04-08 11:30:51 +01:00
committed by GitHub
3 changed files with 4 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ fix-imports:
.PHONY: freeze-requirements
freeze-requirements: ## create static requirements.txt
${VIRTUALENV_ROOT}/bin/pip install pip-tools
${VIRTUALENV_ROOT}/bin/pip install --upgrade pip-tools
${VIRTUALENV_ROOT}/bin/pip-compile requirements.in
.PHONY: clean

View File

@@ -28,5 +28,6 @@ git+https://github.com/alphagov/notifications-utils.git@44.1.0#egg=notifications
git+https://github.com/alphagov/govuk-frontend-jinja.git@v0.5.8-alpha#egg=govuk-frontend-jinja==0.5.8-alpha
# gds-metrics requires prometheseus 0.2.0, override that requirement as later versions bring significant performance gains
prometheus-client==0.10.0
# 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

View File

@@ -118,7 +118,7 @@ packaging==20.9
# via bleach
phonenumbers==8.12.20
# via notifications-utils
prometheus-client==0.10.0
prometheus-client==0.9.0
# via
# -r requirements.in
# gds-metrics