Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to poetry 2.0 #229 #238

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/generate-intelligence-service-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.5
version: 2.0.1
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-path: .venv
Expand All @@ -58,7 +58,7 @@ jobs:

- name: Install Python dependencies
working-directory: server/intelligence-service
run: poetry lock --no-update && poetry install --no-interaction --no-root
run: poetry lock && poetry install --no-interaction --no-root

- name: Generate API client for the application server
working-directory: server/intelligence-service
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/intelligence-service-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.8.5
version: 2.0.1
iam-flo marked this conversation as resolved.
Show resolved Hide resolved
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-path: .venv
Expand All @@ -39,7 +39,7 @@ jobs:

- name: Install Python dependencies
working-directory: server/intelligence-service
run: poetry lock --no-update && poetry install --no-interaction --no-root
run: poetry lock && poetry install --no-interaction --no-root

- name: Check formatting with Black
working-directory: ./server/intelligence-service
Expand Down
4 changes: 4 additions & 0 deletions server/intelligence-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ Install dependencies using Poetry:
pip install poetry
poetry install
```
If you have poetry < 2.0.0 installed, please run
```bash
poetry self update
```

## Running the Service

Expand Down
Loading
Loading