Closed
Description
Python 3.13 wheels have been failing for ~5 days see build logs and because of this, there is no Python 3.13 pandas wheel in scientific-python-nightly-wheels. We noticed this in scikit-learn where we are testing against pandas dev for Python 3.13 free-threaded scikit-learn/scikit-learn#29852 (comment).
The errors does not seem too hard to fix: np._get_promotion_state
does not exist in numpy-dev and has been removed in numpy/numpy#27156. Note that numpy 2.1.1 has Python 3.13 wheels and still has np._get_promotion_state
so one option would be to switch to released numpy.
The error from build log
==================================== ERRORS ====================================
____________ ERROR collecting tests/series/indexing/test_setitem.py ____________
../venv/lib/python3.13/site-packages/pandas/tests/series/indexing/test_setitem.py:1449: in <module>
or (np_version_gte1p24 and np._get_promotion_state() != "weak")
../venv/lib/python3.13/site-packages/numpy/__init__.py:414: in __getattr__
raise AttributeError("module {!r} has no attribute "
E AttributeError: module 'numpy' has no attribute '_get_promotion_state'
____________ ERROR collecting tests/series/indexing/test_setitem.py ____________
../venv/lib/python3.13/site-packages/pandas/tests/series/indexing/test_setitem.py:1449: in <module>
or (np_version_gte1p24 and np._get_promotion_state() != "weak")
../venv/lib/python3.13/site-packages/numpy/__init__.py:414: in __getattr__
raise AttributeError("module {!r} has no attribute "
E AttributeError: module 'numpy' has no attribute '_get_promotion_state'
Metadata
Metadata
Assignees
Labels
No labels