From 71b8ba59f3a1a6efd033e04edc9e27965f5b8d93 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Tue, 12 Nov 2024 12:45:35 +0000 Subject: [PATCH] bump utils to 89.1.0 we need to update the makefile bootstrap command, as this version moves to using pip-tools to lock requirements based on a .in file. The bootstrap command does the following in order: * install requirements.txt first to get the latest version of utils * Copy the shared reqs files from the new utils into the local repo * compile those shared reqs into a requirements_for_test.txt lockfile * Actually install the test requirements --- Makefile | 2 ++ requirements.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 802e187..77c6e68 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,8 @@ help: bootstrap: ## Install build dependencies pip install -r requirements.txt python -c "from notifications_utils.version_tools import copy_config; copy_config()" + pip install --upgrade pip-tools + pip-compile requirements_for_test.in pip install -r requirements_for_test.txt .PHONY: build diff --git a/requirements.txt b/requirements.txt index 778204b..96a0429 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,4 @@ # it to work out the current utils version # Run `make bump-utils` to update to the latest version -notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@82.1.2 +notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@89.1.0