File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
{{ cookiecutter.project_name.lower().replace(' ', '-') }} Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ PYTHONPATH := `pwd`
66# * Poetry
77.PHONY : poetry-download
88poetry-download :
9- curl -sSL https://install.python-poetry.org | $(PYTHON ) -
9+ curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.8.5 $(PYTHON ) -
1010
1111.PHONY : poetry-remove
1212poetry-remove :
@@ -17,7 +17,7 @@ poetry-remove:
1717install :
1818 poetry lock -n && poetry export --without-hashes > requirements.txt
1919 poetry install -n
20- - poetry run mypy --install-types --non-interactive hooks tests
20+ poetry run mypy --install-types --non-interactive hooks tests
2121
2222.PHONY : pre-commit-install
2323pre-commit-install :
Original file line number Diff line number Diff line change 2323 - name : Install Poetry
2424 uses : snok/install-poetry@v1
2525 with :
26- version : 1.8.1
26+ version : 1.8.5
2727 virtualenvs-create : true
2828 virtualenvs-in-project : true
2929 installer-parallel : true
5959 - name : Install Poetry
6060 uses : snok/install-poetry@v1
6161 with :
62- version : 1.8.1
62+ version : 1.8.5
6363 virtualenvs-create : true
6464 virtualenvs-in-project : true
6565 installer-parallel : true
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ stages:
1818.install-deps-template : &install-deps
1919 image : python:{{ cookiecutter.python_version }}
2020 before_script :
21- - pip install poetry
21+ - pip install poetry==1.8.5
2222 - poetry --version
2323 - poetry config virtualenvs.in-project true
2424 - poetry config installer.max-workers 10
Original file line number Diff line number Diff line change 44# PYTHON-BASE
55# Sets up all our shared environment variables
66# ###############################
7- FROM python:{{ cookiecutter.python_version }}-slim as python-base
7+ FROM python:{{ cookiecutter.python_version }}-slim AS python-base
88
99 # python
1010ENV PYTHONUNBUFFERED=1 \
@@ -17,7 +17,7 @@ ENV PYTHONUNBUFFERED=1 \
1717 \
1818 # poetry
1919 # https://python-poetry.org/docs/configuration/#using-environment-variables
20- POETRY_VERSION=1.8.1 \
20+ POETRY_VERSION=1.8.5 \
2121 # make poetry install to this location
2222 POETRY_HOME="/opt/poetry" \
2323 # make poetry create the virtual environment in the project's root
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ TESTS = tests
1313# * Poetry
1414.PHONY : poetry-download
1515poetry-download :
16- curl -sSL https://install.python-poetry.org | $(PYTHON ) -
16+ POETRY_VERSION=1.8.5 curl -sSL https://install.python-poetry.org | $(PYTHON ) -
1717
1818.PHONY : poetry-remove
1919poetry-remove :
You can’t perform that action at this time.
0 commit comments