Skip to content

Commit

Permalink
feat: Added python3.11 and 3.12 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Apr 1, 2024
1 parent 23524a0 commit b29b193
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit b29b193

Please sign in to comment.