Skip to content

No Python 3.13 wheels available in scientific-python-nightly-wheels #59817

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

Closed
lesteve opened this issue Sep 16, 2024 · 3 comments · Fixed by #59818
Closed

No Python 3.13 wheels available in scientific-python-nightly-wheels #59817

lesteve opened this issue Sep 16, 2024 · 3 comments · Fixed by #59818

Comments

@lesteve
Copy link
Contributor

lesteve commented Sep 16, 2024

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'
@jorisvandenbossche
Copy link
Member

Thanks for noting! @lysnikolaou is fixing the actual test failure in #59818, but indeed we also can stop building/testing our python 3.13 wheels with numpy nightly, so updating that in #59819

@lesteve
Copy link
Contributor Author

lesteve commented Sep 16, 2024

Great, thanks!

@lysnikolaou
Copy link
Contributor

Python 3.13 and free-threaded nightlies are available again.

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 a pull request may close this issue.

3 participants