-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI: Fail Numpy Dev build on DeprecationWarnings from numpy only #46767
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
Conversation
@@ -61,7 +61,7 @@ jobs: | |||
env_file: actions-310-numpydev.yaml | |||
pattern: "not slow and not network and not single_cpu" | |||
pandas_testing_mode: "deprecate" | |||
test_args: "-W error" | |||
test_args: "-W error::DeprecationWarning:numpy" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this still catch FutureWarnings that we issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, only the DeprecationWarnings from numpy. Do we want to fail the build on our FutureWarnings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its possible we want to (but not this PR)
backport? |
Yup probably a good idea |
@meeseeksdev backport 1.4.x |
…Warnings from numpy only
…rom numpy only (#46773) Co-authored-by: Matthew Roeschke <[email protected]>
I believe the intent of
-W error
was to catch DeprecationWarnings from numpy primarily. Currently builds are failing because of a warning from distutils which idk if we can do anything about.