diff --git a/api/pdm.lock b/api/pdm.lock index 51c3997cef9..a203ef5b3c3 100644 --- a/api/pdm.lock +++ b/api/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "dev", "overrides", "test"] strategy = ["inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:0ccb45f2f3acade4e0e80b7fd1bfb3f157fea437c5a98584084a070d783359e7" +content_hash = "sha256:196d9006e8125695a3b72ca2151fbc0856f3b1412bceef6fe1ac42a58f3be454" [[metadata.targets]] requires_python = "==3.12.*" @@ -319,6 +319,7 @@ requires_python = ">=3.7" summary = "Config file reading, writing and validation." groups = ["dev"] files = [ + {file = "configobj-5.0.9-py2.py3-none-any.whl", hash = "sha256:1ba10c5b6ee16229c79a05047aeda2b55eb4e80d7c7d8ecf17ec1ca600c79882"}, {file = "configobj-5.0.9.tar.gz", hash = "sha256:03c881bbf23aa07bccf1b837005975993c4ab4427ba57f959afdd9d1a2386848"}, ] @@ -1387,6 +1388,36 @@ files = [ {file = "psycopg_binary-3.2.3-cp312-cp312-win_amd64.whl", hash = "sha256:261f0031ee6074765096a19b27ed0f75498a8338c3dcd7f4f0d831e38adf12d1"}, ] +[[package]] +name = "psycopg-pool" +version = "3.2.4" +requires_python = ">=3.8" +summary = "Connection Pool for Psycopg" +groups = ["default"] +dependencies = [ + "typing-extensions>=4.6", +] +files = [ + {file = "psycopg_pool-3.2.4-py3-none-any.whl", hash = "sha256:f6a22cff0f21f06d72fb2f5cb48c618946777c49385358e0c88d062c59cbd224"}, + {file = "psycopg_pool-3.2.4.tar.gz", hash = "sha256:61774b5bbf23e8d22bedc7504707135aaf744679f8ef9b3fe29942920746a6ed"}, +] + +[[package]] +name = "psycopg" +version = "3.2.3" +extras = ["pool"] +requires_python = ">=3.8" +summary = "PostgreSQL database adapter for Python" +groups = ["default"] +dependencies = [ + "psycopg-pool", + "psycopg==3.2.3", +] +files = [ + {file = "psycopg-3.2.3-py3-none-any.whl", hash = "sha256:644d3973fe26908c73d4be746074f6e5224b03c1101d302d9a53bf565ad64907"}, + {file = "psycopg-3.2.3.tar.gz", hash = "sha256:a5764f67c27bec8bfac85764d23c534af2c27b893550377e37ce59c12aac47a2"}, +] + [[package]] name = "ptyprocess" version = "0.7.0" diff --git a/api/pyproject.toml b/api/pyproject.toml index a958534c863..856484facf5 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -31,7 +31,7 @@ dependencies = [ "future >=1, <1.1", "limit >=0.2.3, <0.3", "pillow >=11, <12", - "psycopg >=3.1.18, <4", + "psycopg[pool]>=3.2.3", "python-decouple >=3.8, <4", "python-xmp-toolkit >=2.0.2, <3", "sentry-sdk >=2.18, <3",