Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
We have a few cases that run into this python deprecation warning:
pyarrow/tests/test_pandas.py: 9 warnings pyarrow/tests/test_parquet.py: 7790 warnings sys:1: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats pyarrow/tests/test_pandas.py::TestConvertDecimalTypes::test_decimal_with_None_explicit_type pyarrow/tests/test_pandas.py::TestConvertDecimalTypes::test_decimal_with_None_infer_type /buildbot/AMD64_Conda_Python_3_8/python/pyarrow/tests/test_pandas.py:114: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats result = pd.Series(arr.to_pandas(), name=s.name) pyarrow/tests/test_pandas.py::TestConvertDecimalTypes::test_strided_objects /buildbot/AMD64_Conda_Python_3_8/python/pyarrow/pandas_compat.py:1127: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats result = pa.lib.table_to_blocks(options, block_table, categories,
Related to https://bugs.python.org/issue36381
I think one such usage example is at https://github.com/apache/arrow/blob/0b481523b7502a984788d93b822a335894ffe648/cpp/src/arrow/python/decimal.cc#L106
Attachments
Issue Links
- links to