Closed OrJaku closed 1 year ago
The usage is here: https://github.com/erikrose/parsimonious/blob/d5636a6ae4d7fe2ddb96f567e289ab3eeb454b49/parsimonious/expressions.py#L67-L82
Since we've dropped support for old versions of python, I think we can use inspect.signature
instead. Happy to review/push a PR implementing that.
FastAPI: 0.85.1
Arguably the version of parsimonious might be more relevant 😄. It looks like you're using an older version since the current code uses getfullargspec
instead of getargspec
. I would recommend upgrading, since we won't backport a fix to the older version.
I can't update parsimonious because if I do it I have problem with installation of newest package eth-abi (eth-abi 2.2.0 depends on parsimonious<0.9.0 and >=0.8.0
) :/
It seems the function currently in use (getfullargspec
) is not even deprecated in 3.11, so I don't think there's anything to do.
I found error on my environment after upgrade python 3.10.5 to 3.11.0 Python 3.11.0b5 FastAPI: 0.85.1 OS: Ubuntu 22.04