Skip to content

fix: add missing regex dependency#6

Merged
AmitMY merged 4 commits into
mainfrom
fix/add-missing-regex-dependency
Mar 12, 2026
Merged

fix: add missing regex dependency#6
AmitMY merged 4 commits into
mainfrom
fix/add-missing-regex-dependency

Conversation

@HTMHell
Copy link
Copy Markdown
Contributor

@HTMHell HTMHell commented Mar 12, 2026

Summary

  • The signwriting package depends on regex but doesn't declare it as a transitive dependency
  • This causes the container to crash on startup: ModuleNotFoundError: No module named 'regex'
  • Adding regex explicitly to pyproject.toml fixes the issue

Test plan

  • Verified container crashes without the fix
  • Verified container starts and /health returns 200 with the fix

🤖 Generated with Claude Code

The signwriting package depends on regex but doesn't pull it in
transitively, causing the container to crash on startup with
ModuleNotFoundError: No module named 'regex'.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@HTMHell HTMHell requested a review from AmitMY March 12, 2026 09:57
Copy link
Copy Markdown
Contributor

@AmitMY AmitMY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, but i am curious why CI did not fail beforehand...

HTMHell and others added 2 commits March 12, 2026 13:55
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@HTMHell HTMHell requested a review from AmitMY March 12, 2026 12:07
Comment thread .github/workflows/test.yaml Outdated
- name: Smoke test /health endpoint
run: |
docker run -d --name smoke -e PORT=8080 -e OPENAI_API_KEY=test -p 8080:8080 signwriting-description
for i in 1 2 3 4 5; do curl -sf http://localhost:8080/health && exit 0; sleep 2; done
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess no need for a for loop? just one run, and make sure it fails (i think you need --fail?)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AmitMY AmitMY merged commit e99be47 into main Mar 12, 2026
3 checks passed
@HTMHell HTMHell deleted the fix/add-missing-regex-dependency branch March 12, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants