python-trio / trio-websocket

WebSocket client and server implementation for Python Trio
MIT License
70 stars 26 forks source link

add py3.11+3.12 and pypy3.9+3.10 to CI, conditionally require exceptiongroup #183

Closed jakkdl closed 1 year ago

jakkdl commented 1 year ago

I wrote this ... and then I saw the discussion in #180 So this is kind of a duplicate of that, except I also updated CI to test it, and general compatibility with 3.11/3.12, as well as pypy3.9 and pypy3.10.

I don't think there's any reason not to update so as not to require exceptiongroup on py3.11+, and it mirrors python-trio/trio.

pypy3.9 and pypy3.10 are the currently supported versions of python

As mentioned in the comment in ci.yml, running pylint on 3.12 crashes, see https://github.com/pylint-dev/pylint/issues/8782

jakkdl commented 1 year ago

I had to bump cryptography in requirements-dev.txt to get pypy3.10 to work, but one should probably do a full bump of the requirements. I can do it in this PR if requested, but that's probably better done in a dedicated PR.