-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Deprecation warnings from numpy #1904
Comments
This seems very similar to #1514 that was fixed in 2.12.0. |
I'm running 2.12.13 (> 2.12.0), so the fix isn't working in this case? |
I don't know why #1514 did not fix this, I think we were capturing both stdout and stderr, so this will need some investigation. My guess would be that there's somewhere else to apply the same method to. |
Hello,
I confirm the weird astroid lower warning and I don't know how to bypass it with pylint checking.
Thanks in advance if there is a solution |
while annoying the warning does not make pylint fail. Just ignore it. In a CI you can just check pylint return code. It will return 0 as expected |
I agree, even if annoying because it feels our code as a problem somewhere, the CI with pylint doesn't fail indeed. Thanks for the answer that confirm to not bother for now. |
That might be fine in a CI environment, but for users, ultimately, ignoring warnings becomes difficult when there are too many such warnings. I would like to see this fixed. |
Oh, it was not an argument in favour of not fixing it. It was just to point out that it is not a breaking problem. It is "just" a lot of quite annoying warnings. I am following the issue because it annoys me too. So I am in the same "I hope they will fix it" boat |
That PR only addressed import-time. This |
Steps to reproduce
Current behavior
Expected behavior
There should be no future warnings.
python -c "from astroid import pkginfo; print(pkginfo.version)" output
2.12.13
The text was updated successfully, but these errors were encountered: