From 74a02cc05b3d431494bede646206a653fd0fbd8f Mon Sep 17 00:00:00 2001 From: Brian Krabach Date: Mon, 30 Mar 2026 07:06:08 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20add=20six=20dependency=20=E2=80=94=20und?= =?UTF-8?q?eclared=20transitive=20dep=20of=20python-pam=20(breaks=20macOS?= =?UTF-8?q?=20clean=20envs)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit python-pam imports six but doesn't declare it. On Linux, six is usually present system-wide. On macOS uv tool environments (clean/isolated), import pam fails with 'No module named six'. Adding six explicitly to our deps ensures PAM auth works on macOS. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index fd22aec..c5ff8af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,7 @@ dependencies = [ "aiofiles>=23.0", "websockets>=11.0", "python-pam>=1.8.4", + "six>=1.16.0", # undeclared dep of python-pam (needed on macOS clean envs) "itsdangerous>=2.1.0", "python-multipart>=0.0.9", ]