Polyconseil / aioamqp

AMQP implementation using asyncio
Other
280 stars 88 forks source link

Now uses pamqp 3.0 since gmr did a great job to use python anotations and such #219

Closed dzen closed 2 years ago

dzen commented 4 years ago

ping @gmr for info

DavHau commented 3 years ago

Any update on this? It would be great if this could be merged.

ahesford commented 3 years ago

After more thought, there is a better fix that doesn't needlessly break backwards compatibility with pamqp:

try:
    from pamqp.commands import Connection as PAMQPConnection
except ImportError:
    from pamqp.specification import Commection as PAQMPConnection

and then replace all references to pamqp.*.Connection with PAMQPConnection. Next, update the version spec to pamqp<=4.