Pin poetry to 1.8.5 (#193)
# PR Description Poetry released v2 with many breaking changes a couple days ago. The `install-poetry` action that our workflows use default to that v2 version, so many of our workflows are failing. This PR forces that action to use poetry version 1.8.5 and also uses 1.8.5 for toolkits A ticket to migrate to 2.0.0 has been filed for future work
This commit is contained in:
parent
fd5b429322
commit
feb83c95ca
19 changed files with 24 additions and 12 deletions
1
.github/actions/setup-poetry-env/action.yml
vendored
1
.github/actions/setup-poetry-env/action.yml
vendored
|
|
@ -18,6 +18,7 @@ runs:
|
|||
- name: Install Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
with:
|
||||
version: 1.8.5
|
||||
virtualenvs-in-project: true
|
||||
|
||||
- name: Generate poetry.lock
|
||||
|
|
|
|||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -42,6 +42,8 @@ jobs:
|
|||
|
||||
- name: Install Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
with:
|
||||
version: 1.8.5
|
||||
|
||||
- name: Load cached venv
|
||||
uses: actions/cache@v4
|
||||
|
|
|
|||
2
.github/workflows/publish-toolkit.yml
vendored
2
.github/workflows/publish-toolkit.yml
vendored
|
|
@ -33,6 +33,8 @@ jobs:
|
|||
|
||||
- name: Install Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
with:
|
||||
version: 1.8.5
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
|
|
|
|||
2
.github/workflows/release-containers.yml
vendored
2
.github/workflows/release-containers.yml
vendored
|
|
@ -40,6 +40,8 @@ jobs:
|
|||
|
||||
- name: Install Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
with:
|
||||
version: 1.8.5
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
|
|
|||
2
.github/workflows/test-toolkits.yml
vendored
2
.github/workflows/test-toolkits.yml
vendored
|
|
@ -39,6 +39,8 @@ jobs:
|
|||
|
||||
- name: Install Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
with:
|
||||
version: 1.8.5
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ runs:
|
|||
- name: Install Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
with:
|
||||
version: 1.8.5
|
||||
virtualenvs-in-project: true
|
||||
|
||||
- name: Generate poetry.lock
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@ jobs:
|
|||
|
||||
- name: Install Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
with:
|
||||
version: 1.8.5
|
||||
|
||||
- name: Load cached venv
|
||||
uses: actions/cache@v4
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ install: ## Install the poetry environment and install the pre-commit hooks
|
|||
@echo "📦 Checking if Poetry is installed"
|
||||
@if ! command -v poetry &> /dev/null; then \
|
||||
echo "📦 Installing Poetry with pip"; \
|
||||
pip install poetry; \
|
||||
pip install poetry==1.8.5; \
|
||||
else \
|
||||
echo "📦 Poetry is already installed"; \
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue