-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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][C++] Fix deprecations when building pyarrow #45129
Comments
In other implementations the build fails if those deprecations are raised (like in C GLib) so those are fixed when the feature is deprecated. We could investigate to do the same for pyarrow and fail the build so pyarrow is also updated when these changes happen. |
We can use FYI: This is a related code in C++: arrow/cpp/cmake_modules/SetupCxxFlags.cmake Lines 255 to 389 in f5c340b
|
While those warnings are a bit annoying, I am not sure we can do anything about them? (unless there might be a way to hide them specifically) Those warnings come from functionality we have deprecated ourselves, but as long as we are in the deprecation process, we still include the deprecated functionality, and therefore can trigger some build warnings. At least that is the case for the serialization one AFAIK. For decimal it looks like an actual usage of a deprecated Arrow C++ function in the PyArrow C++ code, so that can of course be fixed to use a newer variant. |
Thanks @jorisvandenbossche, I see some of the warninds are for the serialize/deserialize functionality in pyarrow which I am not sure how could we mark as not to raise an error vs the others.
I tested setting |
Yes, that's another case where we cannot do away with the build warning because we still expose the deprecated C++ feature in python as well. |
Describe the bug, including details regarding any error messages, version, and platform.
I've noticed some deprecations when building pyarrow:
We should fix those.
Component(s)
C++, Python
The text was updated successfully, but these errors were encountered: