Skip to content

Commit

Permalink
Update Poetry to 1.8.2 to align with Dependabot (#2684)
Browse files Browse the repository at this point in the history
* Update poetry to 1.8.2 in Dockerfiles

* Update poetry to 1.8.2 in GitHub Actions

* Update poetry to 1.8.2 in developer guide

* Update poetry to 1.8.2 in Makefiles

* Update poetry lock files
  • Loading branch information
albertvillanova authored Apr 16, 2024
1 parent 2f47678 commit d32bccf
Show file tree
Hide file tree
Showing 32 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_call:
env:
python-version: 3.9.18
poetry-version: "1.7.1"
poetry-version: "1.8.2"
# required to get access to use a cached poetry venv in "/home/runner/.cache/pypoetry/virtualenvs"
POETRY_VIRTUALENVS_IN_PROJECT: false
working-directory: e2e
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_quality-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
# required to get access to use a cached poetry venv in "/home/runner/.cache/pypoetry/virtualenvs"
POETRY_VIRTUALENVS_IN_PROJECT: false
python-version: "3.9.18"
poetry-version: "1.7.1"
poetry-version: "1.8.2"
jobs:
code-quality:
defaults:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_unit-tests-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
mongo-port: "27017"
mongo-version: "6.0.9"
python-version: "3.9.18"
poetry-version: "1.7.1"
poetry-version: "1.8.2"
replicaset: "rs0"
jobs:
unit-tests:
Expand Down
18 changes: 9 additions & 9 deletions DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,13 @@ Install Poetry with [pipx](https://pipx.pypa.io/stable/installation/):

- Either a single version:
```bash
pipx install poetry==1.7.1
pipx install poetry==1.8.2
poetry --version
```
- Or a parallel version (with a unique suffix):
```bash
pipx install poetry==1.7.1 --suffix=@1.7.1
poetry@1.7.1 --version
pipx install poetry==1.8.2 --suffix=@1.8.2
poetry@1.8.2 --version
```

Set the Python version to use with Poetry:
Expand All @@ -207,7 +207,7 @@ poetry env use 3.9.18
```
or
```bash
poetry@1.7.1 env use 3.9.18
poetry@1.8.2 env use 3.9.18
```

Install the dependencies:
Expand Down Expand Up @@ -265,13 +265,13 @@ Install Poetry with [pipx](https://pipx.pypa.io/stable/installation/):

- Either a single version:
```bash
pipx install poetry==1.7.1
pipx install poetry==1.8.2
poetry --version
```
- Or a parallel version (with a unique suffix):
```bash
pipx install poetry==1.7.1 --suffix=@1.7.1
poetry@1.7.1 --version
pipx install poetry==1.8.2 --suffix=@1.8.2
poetry@1.8.2 --version
```

append the following lines to ~/.zshrc:
Expand All @@ -294,7 +294,7 @@ poetry env use 3.9.18
```
or
```bash
poetry@1.7.1 env use 3.9.18
poetry@1.8.2 env use 3.9.18
```

Avoid an issue with Apache beam (https://github.com/python-poetry/poetry/issues/4888#issuecomment-1208408509):
Expand All @@ -304,7 +304,7 @@ poetry config experimental.new-installer false
```
or
```bash
poetry@1.7.1 config experimental.new-installer false
poetry@1.8.2 config experimental.new-installer false
```

Install the dependencies:
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BUILD_DIR?=~/tmp/doc-datasets-server
POETRY := $(shell command -v poetry@1.7.1 2> /dev/null)
POETRY := $(shell command -v poetry@1.8.2 2> /dev/null)
POETRY_DEFAULT := $(shell command -v poetry 2> /dev/null)
POETRY := $(if $(POETRY),$(POETRY),$(POETRY_DEFAULT))

Expand Down
2 changes: 1 addition & 1 deletion e2e/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion front/admin_ui/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jobs/cache_maintenance/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion jobs/cache_maintenance/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jobs/mongodb_migration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion jobs/mongodb_migration/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libs/libapi/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libs/libcommon/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/admin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/admin/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/admin/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/api/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/api/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/rows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/rows/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/rows/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/search/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/search/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/search/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/sse-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/sse-api/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/sse-api/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/worker/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DEFAULT_TIMEOUT=100 \
POETRY_NO_INTERACTION=1 \
# Versions:
POETRY_VERSION=1.7.1 \
POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
PATH="$PATH:/root/.local/bin"

Expand Down
2 changes: 1 addition & 1 deletion services/worker/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/Python.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
POETRY := $(shell command -v poetry@1.7.1 2> /dev/null)
POETRY := $(shell command -v poetry@1.8.2 2> /dev/null)
POETRY_DEFAULT := $(shell command -v poetry 2> /dev/null)
POETRY := $(if $(POETRY),$(POETRY),$(POETRY_DEFAULT))

Expand Down

0 comments on commit d32bccf

Please sign in to comment.