aio-pika icon indicating copy to clipboard operation
aio-pika copied to clipboard

python 3.12 compatibility

Open Loki-Afro opened this issue 1 year ago • 4 comments

hey it looks like that aio-pika is not compatible with python 3.12 and i haven't found an issue yet.

i think it is the same as described here https://github.com/aio-libs/aiohttp/issues/7739

Loki-Afro avatar Dec 01 '23 09:12 Loki-Afro

hi @mosquito since you created an pr already (thanks for that!) i can assume that this is indeed an issue in this repo, correct? :)

Loki-Afro avatar Dec 06 '23 17:12 Loki-Afro

@Loki-Afro I tried making a pipline for 3.12 but in one of the tests something goes wrong, maybe it's a bug or maybe it's just a test problem. I don't have time to figure it out right now. But I think 3.12 should work as it should, it just takes some effort to get it fully compliant.

mosquito avatar Dec 14 '23 12:12 mosquito

3.12 doesn't work for me. I'm unable to create a channel from an active connection with RabbitMQ.
The channel says Not initialized channel and there is a traceback visible in PyCharm debugger, but I cannot get the whole output (probably a PyCharm bug).

image


It works in production environment, it doesn't work in tests.

mdczaplicki avatar Jan 11 '24 14:01 mdczaplicki

@mosquito not sure why, but with a fresh python image docker.io/python:3.12-alpine it builds just fine now ... how was this error resolved?

maybe you can try and re-trigger your workflow in your pr and it will work just fine :D

Loki-Afro avatar Feb 20 '24 18:02 Loki-Afro