kombu icon indicating copy to clipboard operation
kombu copied to clipboard

Drop pycurl requirement

Open ProTip opened this issue 8 years ago • 4 comments
trafficstars

Would it be possible to drop the pycurl requirement; at least when using SQS? I'm attempting to use this on AWS lambda however the pycurl version installed there complains about invalid opts and I'm having no luck bundling my own, newer version..

It appears to me that the SQS bits may have moved over to utilizing requests from boto3, but there are some legacy imports and methods hanging around in connection.py.

ProTip avatar May 16 '17 02:05 ProTip

This should be possible. Do you have a stack trace from the error?

georgepsarakis avatar May 16 '17 03:05 georgepsarakis

I'm actually mistaken; pycurl is still buried pretty deep in there. It looks like boto3 is only used piecemeal for stuff like creating and signing requests. There is a TON of event loop and promise custom sauce going on that I did not realize.

Ideally pycurl would be swapped out with something like requests. There is another request for that here(in Celery, which I'm attempting to use): https://github.com/celery/celery/issues/3630 .

ProTip avatar May 16 '17 04:05 ProTip

Any progress on this?

ppshobi avatar Aug 28 '18 11:08 ppshobi

not a high prio right at the moment. will be in version 6 for sure.

auvipy avatar Aug 29 '18 04:08 auvipy