OpenCyphal / pydsdl

Cyphal DSDL processing front end implemented in Python
https://opencyphal.org
MIT License
10 stars 9 forks source link

Python 3.11 support #90

Closed thirtytwobits closed 1 year ago

thirtytwobits commented 1 year ago

TLDR; update parsimonious to get around getargspec change in the inspect module.

pavel-kirienko commented 1 year ago

Would it be difficult to get rid of six.py while we're at it? I see that the latest version no longer requires it, but it happens to be the same version that requires the new regex library. The new library, however, appears to be largely API-compatible with the native re module, so it could be that replacing import regex as re with import re might be enough to make the latest release work for us.

pavel-kirienko commented 1 year ago

Also maybe we should rather submit patches to the upstream? See https://github.com/erikrose/parsimonious/issues/231

thirtytwobits commented 1 year ago

Closing this but opening a new issue to track six and upstreaming the change.