We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b45761e + 059ae75 commit 2071e18Copy full SHA for 2071e18
Makefile
@@ -203,6 +203,13 @@ deps-py: install-python $(POETRY_TASK) poetry-use-pyenv poetry-install ## Instal
203
deps-py-update: poetry-update ## Update Poetry deps, e.g. after adding a new one manually
204
@echo "$(COLOR_GREEN)All Python deps updated!$(COLOR_RESET)"
205
206
+.PHONY: deps-py-upgrade-python
207
+deps-py-upgrade-python: ## Run after upgrading Python version
208
+ @echo "$(COLOR_ORANGE)Running deps twice with possible poetry-relock…$(COLOR_RESET)"
209
+ $(MAKE) deps || $(MAKE) poetry-relock
210
+ $(MAKE) deps
211
+ @echo "$(COLOR_GREEN)Python version updated! Don't forget to run check and test.$(COLOR_RESET)"
212
+
213
COLOR_ORANGE = \033[33m
214
COLOR_BLUE = \033[34m
215
COLOR_RED = \033[31m
0 commit comments