Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.11 compatibility #265

Open
hcollins-sunrise opened this issue Sep 1, 2023 · 0 comments
Open

Python 3.11 compatibility #265

hcollins-sunrise opened this issue Sep 1, 2023 · 0 comments

Comments

@hcollins-sunrise
Copy link

The inspect module for Python 3.11 no longer has the attribute inspect.getargspec, this needs to be changed to inspect.getfullargspec

There may be other 3.11 compatibility issues but this is the first one I've encountered using this package.

I am developing on a Windows 11 system, targeting Linux for final build (in Dockers), pretty standard.

This issue can be found in the adapter.py file at line # 150
if hasattr(self.cls, method_name): match = getattr(self.cls, method_name) spec = inspect.getargspec(match)
should be:
if hasattr(self.cls, method_name): match = getattr(self.cls, method_name) spec = inspect.getfullargspec(match)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant