From 6363d68a1182595475cf14dc8fe32dbdc31e48ef Mon Sep 17 00:00:00 2001 From: Philip Jenvey Date: Fri, 3 Apr 2026 14:44:17 -0700 Subject: [PATCH] fix: install all the pg tools dependencies (#2189) the Dockerfile still uses python 3.11, causing potential dependency skips w/ a higher requires-python Closes STOR-524 --- Dockerfile | 3 ++- tools/postgres/poetry.lock | 6 +++--- tools/postgres/pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d9881e3a..18496455 100644 --- a/Dockerfile +++ b/Dockerfile @@ -130,7 +130,8 @@ RUN apt-get -q update && \ # we have to remove the python3-cryptography package here. apt-get -q remove -y python3-cryptography 2>/dev/null || true && \ apt-get -q autoremove -y && \ - rm -rf /var/lib/apt/lists/* + rm -rf /var/lib/apt/lists/* && \ + python3 --version WORKDIR /app diff --git a/tools/postgres/poetry.lock b/tools/postgres/poetry.lock index dba8b5c6..7d427cbb 100644 --- a/tools/postgres/poetry.lock +++ b/tools/postgres/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.3.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. [[package]] name = "bandit" @@ -912,5 +912,5 @@ files = [ [metadata] lock-version = "2.1" -python-versions = ">=3.12" -content-hash = "ff2564478cb7e52d37c7d5ed9b9b4355ea09a35873f2da757b06461255b848b4" +python-versions = ">=3.11" +content-hash = "a725776b43d79d432e3bf150af86f02246a6989ac7bbe297f8799fddd0353d27" diff --git a/tools/postgres/pyproject.toml b/tools/postgres/pyproject.toml index 656941bb..659a65d0 100644 --- a/tools/postgres/pyproject.toml +++ b/tools/postgres/pyproject.toml @@ -6,7 +6,7 @@ authors = [ {name = "Mozilla"} ] license = "Mozilla Public License Version 2.0" -requires-python = ">=3.12" +requires-python = ">=3.11" [tool.poetry] package-mode = false