Skip to content

Commit

Permalink
bump utils to 89.1.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
leohemsted committed Nov 12, 2024
1 parent 6a571e1 commit 71b8ba5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 71b8ba5

Please sign in to comment.