fix(lock): replace pam with python-pam and shim six dependency

Switch from the abandoned  package to .
Patch  into sys.modules before importing pam since
python-pam uses it internally but doesn't declare it as a dependency.
Update authenticate call to use pam.pam().authenticate().
This commit is contained in:
sankalp committed 2026-07-21 15:42:06 +05:45
1 parent d35537b910
commit 361d52b285
3 files changed
+44 -58

No files matched your search

+1 -2
View File
@@ -20,9 +20,8 @@ classifiers = [
dependencies = [
"fabric",
"httpx>=0.28.1",
"pam>=0.2.0",
"psutil>=7.2.2",
"six>=1.17.0",
"python-pam>=2.0.2",
"tomlkit>=0.15.0",
]