Skip to content

Conversation

davidhubbell
Copy link

Issue #, if available:
N/A

Description of changes:
The configuration for the eventbridge-webhooks/2-github was updated to use the python3.13 runtime environment, however, prior to python 3.13 the "cgi" library had been deprecated and is no longer a valid import. The code has been updated to remove the cgi library and parse the event input without it.
Additionally, the "aws-secretsmanager-caching" dependency has been added to the requirements.txt files. This had been missing and caused a runtime error.

I have validated that the GitHub lambda code works, but have not personally tried the Twillio or Stripe code.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Makes it compatible with Python 3.13.  The cgi library had been deprecated prior to 3.13 and was no longer a viable import.
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.

3 participants