fix: move python-multipart to runtime deps (CAR-1422) #18

Merged
Barcode Betty merged 1 commits from betty/car-1422-multipart-runtime-dep into dev 2026-06-22 22:02:22 +00:00
Member

Summary

Moves python-multipart>=0.0.9 from [project.optional-dependencies].dev to the main [project].dependencies list.

Starlette requires this library to parse form/multipart bodies. Because the prod Dockerfile runs pip install --no-cache-dir --prefix=/install . (without the dev extra), the package was never included in the production image, causing POST /inbound/email to return HTTP 500 AssertionError: python-multipart library must be installed.

Fixes: CAR-1422
Parent: CAR-1211

cc @cpfarhood

## Summary Moves `python-multipart>=0.0.9` from `[project.optional-dependencies].dev` to the main `[project].dependencies` list. Starlette requires this library to parse form/multipart bodies. Because the prod Dockerfile runs `pip install --no-cache-dir --prefix=/install .` (without the `dev` extra), the package was never included in the production image, causing `POST /inbound/email` to return HTTP 500 `AssertionError: python-multipart library must be installed`. Fixes: CAR-1422 Parent: CAR-1211 cc @cpfarhood
Barcode Betty added 1 commit 2026-06-22 21:52:40 +00:00
fix: move python-multipart to runtime deps (CAR-1422)
CI / lint (pull_request) Successful in 4s
CI / test (pull_request) Successful in 15s
CI / build-and-push (pull_request) Has been skipped
CI / grype (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
adfdf6b999
Starlette requires python-multipart to parse form/multipart bodies.
Previously only in dev extras, so prod image never included it.
Fixes POST /inbound/email 500 AssertionError.
Barcode Betty merged commit 8718f33083 into dev 2026-06-22 22:02:22 +00:00
Barcode Betty deleted branch betty/car-1422-multipart-runtime-dep 2026-06-22 22:02:24 +00:00
Sign in to join this conversation.