algolia / algoliasearch-client-python

⚡️ A fully-featured and blazing-fast Python API client to interact with Algolia.
https://www.algolia.com/doc/api-client/getting-started/install/python/?language=python
MIT License
196 stars 67 forks source link

Upgrade to python 3.11 #551

Closed salomvary closed 1 year ago

salomvary commented 1 year ago
Q A
Bug fix? yes
New feature? no
BC breaks? What's BC?
Related Issue Fix #549
Need Doc update yes

Describe your change

Switch to async def instead of the @asyncio.coroutine which was removed in Python 3.11.

What problem is this fixing?

Make this library work in Python 3.11.

salomvary commented 1 year ago

I don't know what "Expected — Waiting for status to be reported" means for CircleCI but it would be great to run the test there. I only have a sync integration that I manually tested to be working, but there is a little more to testing this... :)

shortcuts commented 1 year ago

Hey, thanks for the PR! I've allowed CI to run on forks but it requires a commit to trigger it, feel free to push anything when you have time :)