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
ghostwriter.magic(numpy.matmul)
fails with NumPy 1.26.4 and Python 3.12
#3947
Comments
I actually can't reproduce with python 3.12.2 + numpy 1.26.4 on macos:
but #3955 ran into the same error, so I'd expect this to also be fixed once that is merged. |
Ran into the same error, yes, but since it wasn't failing in CI we didn't make any changes. I think the fix will be to use |
another option would be to manually raise here if the signature detected by |
Traceback from pytest invocation below. From what I can tell,
inspect.signature
raisesValueError: callable <ufunc 'matmul'> is not supported by signature
in Python 3.11, but returns<Signature (*args, **kwargs)>
in Python 3.12. This makesghostwriter._get_params
return an emptyOrderedDict
, which is subsequently padded withNone
byzip_longest
.The text was updated successfully, but these errors were encountered: