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

fix getargspec deprecation in python 3.11 #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

uyoung-jeong
Copy link

Hi, I faced below error while importing chumpy in python 3.11 environment.

AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?

It seemed that starting from python 3.11, getargspec is no longer available and we should use getfullargspec instead.
So I made a small change for supporting both getargspec and getfullargspec.

@johndpope
Copy link

thank you - please merge @mattloper

jerinphilip added a commit to jerinphilip/chumpy that referenced this pull request Jul 2, 2024
Pulled from a partially applied PR on the original:

* mattloper#59

Minus the version update.
@palonekdaniel
Copy link

thank you - please merge @mattloper

If you want to use fixed version from this PR in your project you can install chumpy from fixing commit directly

pip install git+https://github.com/mattloper/chumpy@9b045ff5d6588a24a0bab52c83f032e2ba433e17

@Remember2015
Copy link

waiting for merge

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

Successfully merging this pull request may close these issues.

4 participants