Skip to content

Sync serverless-sms-service with the updated tutorial - #872

Open
realpython-bot wants to merge 1 commit into
masterfrom
maintenance/aws-chalice-serverless-python-20261002
Open

realpython-bot wants to merge 1 commit into
masterfrom
maintenance/aws-chalice-serverless-python-20261002

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Maintenance sync for Building Serverless Python Apps Using AWS Chalice.

What changed and why

  • requirements.txt: twilio==6.18.1 -> twilio==9.11.2, matching the article's updated pin (the deployment requirement Lambda installs).
  • requirements-dev.txt: replaced the 2018 freeze (chalice 1.6.0, typing==3.6.4, enum-compat, ...) with a fresh freeze of chalice==1.33.0 on Python 3.14. Current Chalice requires Python >= 3.10, and the old pins don't install on supported Lambda runtimes.
  • Code unchanged: app.py and chalicelib/sms.py already match the article's code and house style.

Links

Verification

  • Fresh Python 3.14.6 venv from requirements.txt + requirements-dev.txt.
  • chalice.test.Client smoke test: GET / -> 200 {"hello": "world"}; POST /service/sms/send with dummy credentials -> 400 via the TwilioRestException handler (Twilio 9.x API path exercised end to end).
  • chalice package builds deployment.zip + sam.json (runtime python3.14).
  • ruff@0.14.1 format --check and ruff check pass.

🤖 Generated with Claude Code

…erverless Python Apps Using AWS Chalice

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant