aio-pika
aio-pika copied to clipboard
python 3.12 compatibility
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
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 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.
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).
It works in production environment, it doesn't work in tests.
@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