[ https://issues.apache.org/jira/browse/ARROW-10283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joris Van den Bossche reassigned ARROW-10283: --------------------------------------------- Assignee: Joris Van den Bossche > [Python] Python deprecation warning for "PY_SSIZE_T_CLEAN will be required > for '#' formats" > ------------------------------------------------------------------------------------------- > > Key: ARROW-10283 > URL: https://issues.apache.org/jira/browse/ARROW-10283 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Reporter: Joris Van den Bossche > Assignee: Joris Van den Bossche > Priority: Major > Labels: pull-request-available > Fix For: 3.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > We have a few cases that run into this python deprecation warning: > {code} > 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, > {code} > 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 -- This message was sent by Atlassian Jira (v8.3.4#803005)