Closed nickolaj-jepsen closed 1 year ago
hey it indeed support up to python 3.9, there was this community PR opened but it got closed: https://github.com/algolia/algoliasearch-client-python/pull/548
feel free to re-open I'll make sure to review!
i do have the same problem as well @shortcuts :) If you could review and update the library that would be awesome !
Hey folks, my attempt on fixing the issue in this pull request: https://github.com/algolia/algoliasearch-client-python/pull/551
Thanks for the PR @salomvary ! I'm also interested in having support for 3.11.
Is there any news on this ticket? We're blocked from upgrading our application to Python 3.11 until it's ready.
Hello, just wanted to add another voice that we are also interested in having this fixed. Please let me know if there is some way I can help!
Hey, I'm back from holidays and just added https://github.com/algolia/algoliasearch-client-python/pull/553 to my sprint, will try to release before tomorrow.
Sorry for the wait everyone!
edit: took a bit longer than expected, looking to fix the issues
doing some cleanup etc. and will release the new major
Description
When trying to initialize the
SearchClient
on Python 3.11 (withaiohttp
installed to enable async requests), the following exception occurs:It seems like it's related to the deprecation of the
@asyncio.coroutine
decorator, as described here: https://docs.python.org/3.10/library/asyncio-task.html#asyncio.coroutineSteps To Reproduce
Install the python 3.11 interpreter, or use a python 3.11 docker image (I used this command to test the issue
$ docker run --rm -it python:3.11 bash
Then install
algoliaclient
andaiohttp
And the run the following in a python shell: