Bump CI python version to 3.11; this fixes errors from anyio regarding exceptiongroup.
It also for some reason seems to work around https://github.com/encode/httpcore/issues/663 - before I bumped the python version I was explicitly importing anyio in __main__.py to avoid the race condition mentioned in https://github.com/encode/httpcore/pull/692, but this doesn't seem to be required after the python version bump - perhaps it has pulled in newer version of httpcore?
(This also explicitly sets the step ID for the python set-up, so we can key the cache properly based on the python version.)
Bump CI python version to 3.11; this fixes errors from anyio regarding exceptiongroup.
It also for some reason seems to work around https://github.com/encode/httpcore/issues/663 - before I bumped the python version I was explicitly importing anyio in
__main__.py
to avoid the race condition mentioned in https://github.com/encode/httpcore/pull/692, but this doesn't seem to be required after the python version bump - perhaps it has pulled in newer version of httpcore?(This also explicitly sets the step ID for the python set-up, so we can key the cache properly based on the python version.)
Fixes: #202