From b721a9640670502e6853cd4aecca364be196e09d Mon Sep 17 00:00:00 2001 From: Christophe Chauvet Date: Wed, 7 Jan 2026 12:20:25 +0100 Subject: [PATCH 1/3] feat: add new bsd flavor for psycopg --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index f8d57efc7..f8e485403 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,6 +94,7 @@ dev = [ ] mysql = ["mysqlclient<2.2.8"] postgresql = ["psycopg[binary]>=3.1"] +bsd = ["psycopg[c]>=3.1"] test = [ "argon2-cffi>=16.1.0", "factory-boy<3.4.0", From 403200cbc3d79932067f55616aedd2808fd3c2c3 Mon Sep 17 00:00:00 2001 From: Christophe Chauvet Date: Wed, 7 Jan 2026 15:08:09 +0100 Subject: [PATCH 2/3] refactor: use dependencies specifier see https://packaging.python.org/en/latest/specifications/dependency-specifiers/#dependency-specifiers --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f8e485403..e54d3edf1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,8 +93,9 @@ dev = [ "pyOpenSSL" ] mysql = ["mysqlclient<2.2.8"] -postgresql = ["psycopg[binary]>=3.1"] -bsd = ["psycopg[c]>=3.1"] +postgresql = [ + "psycopg[binary]>=3.1; platform_system != 'FreeBSD']", + "psycopg[c]>=3.1; platform_system == 'FreeBSD']" test = [ "argon2-cffi>=16.1.0", "factory-boy<3.4.0", From 8389a94d71310aab8b4ef95a32e3e292c3a01b8a Mon Sep 17 00:00:00 2001 From: Christophe Chauvet Date: Wed, 7 Jan 2026 15:09:31 +0100 Subject: [PATCH 3/3] fix: broken pyproject.toml --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e54d3edf1..68402dc65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,8 +94,9 @@ dev = [ ] mysql = ["mysqlclient<2.2.8"] postgresql = [ - "psycopg[binary]>=3.1; platform_system != 'FreeBSD']", - "psycopg[c]>=3.1; platform_system == 'FreeBSD']" + "psycopg[binary]>=3.1; platform_system != 'FreeBSD'", + "psycopg[c]>=3.1; platform_system == 'FreeBSD'" +] test = [ "argon2-cffi>=16.1.0", "factory-boy<3.4.0",