fix: move python-multipart to runtime deps (CAR-1422) #18
Reference in New Issue
Block a user
Delete Branch "betty/car-1422-multipart-runtime-dep"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Moves
python-multipart>=0.0.9from[project.optional-dependencies].devto the main[project].dependencieslist.Starlette requires this library to parse form/multipart bodies. Because the prod Dockerfile runs
pip install --no-cache-dir --prefix=/install .(without thedevextra), the package was never included in the production image, causingPOST /inbound/emailto return HTTP 500AssertionError: python-multipart library must be installed.Fixes: CAR-1422
Parent: CAR-1211
cc @cpfarhood