gensui/services/auth_service.py imports bcrypt (line 8) and jwt (line 9), but neither is declared in pyproject.toml. The container builds fine (no static import check at build time) but crashes on startup as soon as any route imports auth_service — which happens immediately via app.py's router registration.
Reproduction
Following the README's documented Docker flow:
cd gensui
docker compose up -d --build # (see #4 — no docker-compose.yml exists yet)
docker compose logs gensui
File "/app/gensui/services/auth_service.py", line 8, in <module>
import bcrypt
ModuleNotFoundError: No module named 'bcrypt'
After adding bcrypt, the next import fails the same way for jwt.
Fix
Add bcrypt>=4.0.0 and pyjwt>=2.9.0 to pyproject.toml's dependencies.
Verified no other undeclared third-party imports exist in gensui/:
find gensui -name "*.py" | xargs grep -hE "^import |^from " | sed -E 's/^(import|from) ([a-zA-Z0-9_]+).*/\2/' | sort -u
Tested fix, ready as a PR if useful: wstlima@d481888
gensui/services/auth_service.pyimportsbcrypt(line 8) andjwt(line 9), but neither is declared inpyproject.toml. The container builds fine (no static import check at build time) but crashes on startup as soon as any route importsauth_service— which happens immediately viaapp.py's router registration.Reproduction
Following the README's documented Docker flow:
After adding
bcrypt, the next import fails the same way forjwt.Fix
Add
bcrypt>=4.0.0andpyjwt>=2.9.0topyproject.toml'sdependencies.Verified no other undeclared third-party imports exist in
gensui/:Tested fix, ready as a PR if useful: wstlima@d481888