From b086b68934527c4ac5ab390071035601bbdf2f0c Mon Sep 17 00:00:00 2001 From: Manish Bisht Date: Tue, 17 Nov 2026 20:58:27 +0530 Subject: [PATCH 1/3] fix(build): bundle shellingham submodules in the binary --- scripts/build.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/build.py b/scripts/build.py index e734bfe..36d157c 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -33,6 +33,11 @@ def main(): "dualentry", "--strip", "--noconfirm", + # Shell completion detects the shell through shellingham, which + # imports its per-OS module (shellingham.posix / shellingham.nt) + # by name at runtime, so PyInstaller can't see it on its own. + "--collect-submodules", + "shellingham", str(ROOT / "src" / "dualentry_cli" / "main.py"), ], cwd=str(ROOT), From d2a87002782235304dee8cca7cdea6eff14f8954 Mon Sep 17 00:00:00 2001 From: Manish Bisht Date: Tue, 17 Nov 2026 20:58:27 +0530 Subject: [PATCH 2/3] docs(changelog): note the shell completion fix --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 173604a..36f7b8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Line-item tables label the quantity column Quantity - Update the CLI greeting logo to DualEntry - Add `export-jobs` commands (`create`, `list`, `get`, `wait`) for on-demand destination data refreshes via the public API +- Fix `dualentry --install-completion` and `--show-completion` failing with "Shell detection not implemented for 'posix'" in the released binaries ## [0.1.18] - 2026-09-01 From 7594d9aa21a4001e8f0ed2f9aef28c0209d00c57 Mon Sep 17 00:00:00 2001 From: Manish Bisht Date: Tue, 17 Nov 2026 21:02:57 +0530 Subject: [PATCH 3/3] refactor(build): drop the shellingham comment --- scripts/build.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/build.py b/scripts/build.py index 36d157c..7896403 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -33,9 +33,6 @@ def main(): "dualentry", "--strip", "--noconfirm", - # Shell completion detects the shell through shellingham, which - # imports its per-OS module (shellingham.posix / shellingham.nt) - # by name at runtime, so PyInstaller can't see it on its own. "--collect-submodules", "shellingham", str(ROOT / "src" / "dualentry_cli" / "main.py"),