Bug 54783

Summary: python3-module-pandas: ошибка импорта pandas._libs.pandas_datetime
Product: Sisyphus Reporter: Alexandr Shashkin <dutyrok>
Component: python3-module-pandasAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: grenka, rider, toni
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Alexandr Shashkin 2025-06-11 11:23:22 MSK
Версия
======
python3-module-pandas 2.3.0-alt1

Шаги для воспроизведения
========================
1) Установить python3-module-pandas
2) Запустить интерпретатор python3
3) Вставить строку `import pandas._libs.pandas_datetime` и нажать Enter

Результат
=========
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.3 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

...

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3/site-packages/pandas/__init__.py", line 49, in <module>
    from pandas.core.api import (
  File "/usr/lib64/python3/site-packages/pandas/core/api.py", line 1, in <module>
    from pandas._libs import (
  File "/usr/lib64/python3/site-packages/pandas/_libs/__init__.py", line 17, in <module>
    import pandas._libs.pandas_datetime  # noqa: F401 # isort: skip # type: ignore[reportUnusedImport]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Comment 1 Anton Farygin 2025-06-17 12:23:31 MSK
https://packages.altlinux.org/ru/tasks/387373/