Skip to content
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

pandas 2.2 vs. pyarrow 14: deprecated DatetimeTZBlock #8476

Merged
merged 1 commit into from Jan 23, 2024

Conversation

crusaderky
Copy link
Collaborator

@crusaderky crusaderky commented Jan 22, 2024

Fix test failure in distributed/shuffle/tests/test_shuffle::test_processing_chain with pandas 2.2

../../../../../miniforge3/envs/distributed39/lib/python3.9/site-packages/dask/dataframe/backends.py:243: in get_pandas_dataframe_from_pyarrow
    return table.to_pandas(types_mapper=types_mapper, **kwargs)
pyarrow/array.pxi:884: in pyarrow.lib._PandasConvertible.to_pandas
    ???
pyarrow/table.pxi:4192: in pyarrow.lib.Table._to_pandas
    ???
../../../../../miniforge3/envs/distributed39/lib/python3.9/site-packages/pyarrow/pandas_compat.py:776: in table_to_dataframe
    blocks = _table_to_blocks(options, table, categories, ext_columns_dtypes)
../../../../../miniforge3/envs/distributed39/lib/python3.9/site-packages/pyarrow/pandas_compat.py:1131: in _table_to_blocks
    return [_reconstruct_block(item, columns, extension_columns)
../../../../../miniforge3/envs/distributed39/lib/python3.9/site-packages/pyarrow/pandas_compat.py:1131: in <listcomp>
    return [_reconstruct_block(item, columns, extension_columns)
../../../../../miniforge3/envs/distributed39/lib/python3.9/site-packages/pyarrow/pandas_compat.py:722: in _reconstruct_block
    klass=_int.DatetimeTZBlock,

E           DeprecationWarning: DatetimeTZBlock is deprecated and will be removed in a future version. Use public APIs instead.

@crusaderky crusaderky self-assigned this Jan 22, 2024
Copy link
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

    27 files  ±0      27 suites  ±0   10h 1m 39s ⏱️ + 12m 30s
 3 964 tests ±0   3 851 ✅ ±0    109 💤 ±0   4 ❌ ±0 
49 853 runs  ±0  47 550 ✅ +8  2 290 💤 +1  13 ❌  - 9 

For more details on these failures, see this check.

Results for commit ea7549e. ± Comparison against base commit f248860.

@hendrikmakait hendrikmakait merged commit f781766 into dask:main Jan 23, 2024
21 of 35 checks passed
@crusaderky crusaderky deleted the DatetimeTZBlock branch January 23, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants