From b29b19374ee2d72b670ff33c453554e7c8e3e12e Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Mon, 1 Apr 2024 12:53:34 +0500 Subject: [PATCH] feat: Added python3.11 and 3.12 support. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0306393..905a3c3 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ clean: ## delete generated byte code and coverage reports rm -rf assets rm -rf pii_report - piptools: ## install pinned version of pip-compile and pip-sync +piptools: ## install pinned version of pip-compile and pip-sync pip install -r requirements/pip_tools.txt ## The following defines a string constant that contains a multi-line comment. @@ -29,12 +29,12 @@ $(COMMON_CONSTRAINTS_TXT): echo "$(COMMON_CONSTRAINTS_TEMP_COMMENT)" | cat - $(@) > temp && mv temp $(@) upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade -upgrade: ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in +upgrade: piptools $(COMMON_CONSTRAINTS_TXT)## update the requirements/*.txt files with the latest packages satisfying requirements/*.in sed 's/Django<2.3//g' requirements/common_constraints.txt > requirements/common_constraints.tmp mv requirements/common_constraints.tmp requirements/common_constraints.txt - pip install -qr requirements/pip_tools.txt +# pip install -qr requirements/pip_tools.txt pip-compile --allow-unsafe --upgrade --rebuild -o requirements/pip.txt requirements/pip.in pip-compile --upgrade -o requirements/pip_tools.txt requirements/pip_tools.in pip install -qr requirements/pip.txt