Closed setu4993 closed 1 year ago
asyncio
has broken our Serverless Lambda function(Python v3.8):
[ERROR] SyntaxError: invalid syntax (base_events.py, line 296) ... File "/var/task/django/utils/deprecation.py", line 1, in
import asyncio File "/var/task/asyncio/init.py", line 21, in from .base_events import *
As a workaround fixed using version lock with previous version of Twilio
Thanks for the PR. The changes have been merged, and would reflect in the next twilio-python release.
asyncio
is a dependency only for upto Python 3.4. Since the versions of Python supported are 3.7+, it doesn't seem to be required, but is included.This is causing issues with running
pip check
in https://github.com/conda-forge/twilio-feedstock/pull/94, which I help maintain.Technical details: