-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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.8.0a4: ERROR collecting test session: DeprecationWarning: Use inspect.signature() instead of inspect.getfullargspec() #13514
Comments
Opened also pytest-dev/pluggy#209 |
Even when this warning is reverted in CPython, I now get this form nose:
I think numpy should not treat such warnings from the testing frameworks as error. |
@hroncok Last I checked, nose was no longer compatible with latest Python 3. That is one of the reasons we switched to pytest for NumPy testing, we only keep the nose framework for those who depend on it. |
For development testing, NumPy turns most warnings into errors. |
I see that test_decorators only do nose tests if nose is present. I will remove it form the build dependencies of our numpy package and see if it helps. |
I'd argue that it should not turn warnings from test dependencies into errors. |
Note that the required nose fixes were pretty easy. I don't know if Fedora has been maintaining nose with its own patches. |
Similar code fix appear necessary in cpython to progress: |
@bicici: Did you mean to comment that somewhere else? |
Ja, I already commented about this to cython as I come across the similar fixture. The path to the fixture appears similar while you can end up at this error. |
Is this still an issue? |
As numpy has switched away from using nose, this is not an issue anymore. Please reopen if you think otherwise. |
When I try to rebuild the Fedora numpy package (numpy 1.16.3) with Python 3.8.0a4, I get this:
The deprecation warning is new in a4, however I don't understand why it errors.
The text was updated successfully, but these errors were encountered: