GujaLomsadze opened a new pull request, #50608: URL: https://github.com/apache/arrow/pull/50608
### Rationale for this change Follow-up to #50543. `test_categorical_order_survives_roundtrip` constructs a `pd.Categorical` with value "a" not in categories `["b","c","d"]`. pandas 3.0.3 raises a deprecation for out-of-category values, which #50543's filterwarnings config now turns into an error - failing nightly wheels across platforms. ### What changes are included in this PR? Replace the out-of-category `"a"` value with an explicit `None`, preserving the test's intent (ordered categorical with non-sorted categories survives a Parquet roundtrip, ARROW-6302) plus a null. ### Are these changes tested? Yes. Reproduced the failure with pandas 3.0.3, confirmed the test passes after the change; all categorical tests in the module pass. ### Are there any user-facing changes? No. Closes #50579. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
