diff --git a/.github/workflows/_e2e_tests.yml b/.github/workflows/_e2e_tests.yml index ec53ddea6e..665145ddcd 100644 --- a/.github/workflows/_e2e_tests.yml +++ b/.github/workflows/_e2e_tests.yml @@ -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 diff --git a/.github/workflows/_quality-python.yml b/.github/workflows/_quality-python.yml index fc9718206a..b83a89db15 100644 --- a/.github/workflows/_quality-python.yml +++ b/.github/workflows/_quality-python.yml @@ -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: diff --git a/.github/workflows/_unit-tests-python.yml b/.github/workflows/_unit-tests-python.yml index dfa2dda449..ef87e95596 100644 --- a/.github/workflows/_unit-tests-python.yml +++ b/.github/workflows/_unit-tests-python.yml @@ -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: diff --git a/DEVELOPER_GUIDE.md b/DEVELOPER_GUIDE.md index 7d3754407e..05c6e45f6d 100644 --- a/DEVELOPER_GUIDE.md +++ b/DEVELOPER_GUIDE.md @@ -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: @@ -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: @@ -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: @@ -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): @@ -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: diff --git a/docs/Makefile b/docs/Makefile index ebff2f99b9..4c0061bfce 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -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)) diff --git a/e2e/poetry.lock b/e2e/poetry.lock index 0f98224ade..0cf7e8af93 100644 --- a/e2e/poetry.lock +++ b/e2e/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "bandit" diff --git a/front/admin_ui/poetry.lock b/front/admin_ui/poetry.lock index 4d67fc6e9d..857a5a9055 100644 --- a/front/admin_ui/poetry.lock +++ b/front/admin_ui/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiobotocore" diff --git a/jobs/cache_maintenance/Dockerfile b/jobs/cache_maintenance/Dockerfile index 3cae0f8017..c7b67b504e 100644 --- a/jobs/cache_maintenance/Dockerfile +++ b/jobs/cache_maintenance/Dockerfile @@ -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" diff --git a/jobs/cache_maintenance/poetry.lock b/jobs/cache_maintenance/poetry.lock index fa5b843868..03ec42bd75 100644 --- a/jobs/cache_maintenance/poetry.lock +++ b/jobs/cache_maintenance/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiobotocore" diff --git a/jobs/mongodb_migration/Dockerfile b/jobs/mongodb_migration/Dockerfile index 6f0eb1d0a2..a5dad9b935 100644 --- a/jobs/mongodb_migration/Dockerfile +++ b/jobs/mongodb_migration/Dockerfile @@ -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" diff --git a/jobs/mongodb_migration/poetry.lock b/jobs/mongodb_migration/poetry.lock index 150be19793..051ae62e09 100644 --- a/jobs/mongodb_migration/poetry.lock +++ b/jobs/mongodb_migration/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiobotocore" diff --git a/libs/libapi/poetry.lock b/libs/libapi/poetry.lock index 1614240058..59d2f250c3 100644 --- a/libs/libapi/poetry.lock +++ b/libs/libapi/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiobotocore" diff --git a/libs/libcommon/poetry.lock b/libs/libcommon/poetry.lock index 0bf25641e6..a90eb34e21 100644 --- a/libs/libcommon/poetry.lock +++ b/libs/libcommon/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiobotocore" diff --git a/services/admin/Dockerfile b/services/admin/Dockerfile index 8852c31037..028311d86d 100644 --- a/services/admin/Dockerfile +++ b/services/admin/Dockerfile @@ -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" diff --git a/services/admin/dev.Dockerfile b/services/admin/dev.Dockerfile index 76b6ea4ef4..2928e443cc 100644 --- a/services/admin/dev.Dockerfile +++ b/services/admin/dev.Dockerfile @@ -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" diff --git a/services/admin/poetry.lock b/services/admin/poetry.lock index c0d8c9e763..a7f8692204 100644 --- a/services/admin/poetry.lock +++ b/services/admin/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiobotocore" diff --git a/services/api/Dockerfile b/services/api/Dockerfile index 9e1a70986e..27b6fd62f9 100644 --- a/services/api/Dockerfile +++ b/services/api/Dockerfile @@ -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" diff --git a/services/api/dev.Dockerfile b/services/api/dev.Dockerfile index 74a5f466c5..ae1f542e07 100644 --- a/services/api/dev.Dockerfile +++ b/services/api/dev.Dockerfile @@ -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" diff --git a/services/api/poetry.lock b/services/api/poetry.lock index 548f267140..9f6f90a229 100644 --- a/services/api/poetry.lock +++ b/services/api/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiobotocore" diff --git a/services/rows/Dockerfile b/services/rows/Dockerfile index 6031462b9e..da0a4b8f0f 100644 --- a/services/rows/Dockerfile +++ b/services/rows/Dockerfile @@ -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" diff --git a/services/rows/dev.Dockerfile b/services/rows/dev.Dockerfile index 2043519183..64100c2769 100644 --- a/services/rows/dev.Dockerfile +++ b/services/rows/dev.Dockerfile @@ -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" diff --git a/services/rows/poetry.lock b/services/rows/poetry.lock index b779a5def3..45dda888be 100644 --- a/services/rows/poetry.lock +++ b/services/rows/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiobotocore" diff --git a/services/search/Dockerfile b/services/search/Dockerfile index e5628056af..14db1e891f 100644 --- a/services/search/Dockerfile +++ b/services/search/Dockerfile @@ -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" diff --git a/services/search/dev.Dockerfile b/services/search/dev.Dockerfile index a6250998b9..cf9a8644df 100644 --- a/services/search/dev.Dockerfile +++ b/services/search/dev.Dockerfile @@ -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" diff --git a/services/search/poetry.lock b/services/search/poetry.lock index 9c47c1d9ac..7a73395504 100644 --- a/services/search/poetry.lock +++ b/services/search/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiobotocore" diff --git a/services/sse-api/Dockerfile b/services/sse-api/Dockerfile index 0c7fd4fb6d..1c3fafb132 100644 --- a/services/sse-api/Dockerfile +++ b/services/sse-api/Dockerfile @@ -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" diff --git a/services/sse-api/dev.Dockerfile b/services/sse-api/dev.Dockerfile index 5571ef7bac..1112357d6a 100644 --- a/services/sse-api/dev.Dockerfile +++ b/services/sse-api/dev.Dockerfile @@ -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" diff --git a/services/sse-api/poetry.lock b/services/sse-api/poetry.lock index 1d072d674d..9693daf609 100644 --- a/services/sse-api/poetry.lock +++ b/services/sse-api/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiobotocore" diff --git a/services/worker/Dockerfile b/services/worker/Dockerfile index 898312006a..971b8556b5 100644 --- a/services/worker/Dockerfile +++ b/services/worker/Dockerfile @@ -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" diff --git a/services/worker/dev.Dockerfile b/services/worker/dev.Dockerfile index c455f84ce3..faf90706d3 100644 --- a/services/worker/dev.Dockerfile +++ b/services/worker/dev.Dockerfile @@ -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" diff --git a/services/worker/poetry.lock b/services/worker/poetry.lock index 50648e7d76..6b20956d87 100644 --- a/services/worker/poetry.lock +++ b/services/worker/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "aiobotocore" diff --git a/tools/Python.mk b/tools/Python.mk index 9069388337..0db2cd6461 100644 --- a/tools/Python.mk +++ b/tools/Python.mk @@ -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))