Skip to content

Commit

Permalink
freeze-requirements: perform uv pip sync after uv pip compile
Browse files Browse the repository at this point in the history
the first of these being particularly important because otherwise
the following call to copy_config() will be copying from the
*old* version of -utils
  • Loading branch information
risicle committed Dec 16, 2024
1 parent da917c3 commit 860ab02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ bootstrap-with-docker: generate-version-file
.PHONY: freeze-requirements
freeze-requirements: ## create static requirements.txt
uv pip compile requirements.in -o requirements.txt
uv pip sync requirements.txt
python -c "from notifications_utils.version_tools import copy_config; copy_config()"
uv pip compile requirements_for_test.in -o requirements_for_test.txt
uv pip sync requirements_for_test.txt

.PHONY: generate-version-file
generate-version-file: ## Generates the app version file
Expand Down

0 comments on commit 860ab02

Please sign in to comment.