File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 70
70
],
71
71
"isort.args" : [
72
72
" --settings-path=${workspaceFolder}/.isort.cfg"
73
- ]
73
+ ],
74
+ "python.defaultInterpreterPath" : " ${workspaceFolder}/.venv/bin/python" ,
75
+ "python.pythonPath" : " ${workspaceFolder}/.venv/bin/python"
74
76
}
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ CPU_COUNT = $(shell cat /proc/cpuinfo | grep processor | wc -l )
261
261
$(eval TMP_PATH_TO_FILESTASH_CONFIG=$(shell set -o allexport && \
262
262
source $(CURDIR ) /.env && \
263
263
set +o allexport && \
264
- python3 scripts/filestash/create_config.py))
264
+ python3.10 scripts/filestash/create_config.py))
265
265
# Creating config for ops stack to $@
266
266
# -> filestash config at $(TMP_PATH_TO_FILESTASH_CONFIG)
267
267
@$(shell \
@@ -494,7 +494,7 @@ pylint: ## Runs python linter framework's wide
494
494
495
495
.PHONY : new-service
496
496
new-service : .venv # # Bakes a new project from cookiecutter-simcore-pyservice and drops it under services/ [UNDER DEV]
497
- $< /bin/pip3 --quiet install cookiecutter
497
+ $< /bin/pip3.10 --quiet install cookiecutter
498
498
.venv/bin/cookiecutter gh:itisfoundation/cookiecutter-simcore-pyservice --output-dir $(CURDIR ) /services
499
499
500
500
@@ -633,7 +633,7 @@ info: ## displays setup information
633
633
@echo ' make : $(shell make --version 2>&1 | head -n 1)'
634
634
@echo ' jq : $(shell jq --version)'
635
635
@echo ' awk : $(shell awk -W version 2>&1 | head -n 1)'
636
- @echo ' python : $(shell python3 --version)'
636
+ @echo ' python : $(shell python3 --version) [Expected: Python 3.10] '
637
637
@echo ' node : $(shell node --version 2> /dev/null || echo ERROR nodejs missing)'
638
638
@echo ' docker : $(shell docker --version)'
639
639
@echo ' docker buildx : $(shell docker buildx version)'
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ inf%: ## displays basic info
100
100
@echo ' jq : $(shell jq --version)'
101
101
@echo ' awk : $(shell awk -W version 2>&1 | head -n 1)'
102
102
@echo ' node : $(shell node --version 2> /dev/null || echo ERROR nodejs missing)'
103
- @echo ' python : $(shell python3 --version)'
103
+ @echo ' python : $(shell python3 --version) [Expected: Python $(EXPECTED_PYTHON_VERSION)] '
104
104
# installed in .venv
105
105
@pip list
106
106
# package setup
You can’t perform that action at this time.
0 commit comments