Bug 54783 - python3-module-pandas: ошибка импорта pandas._libs.pandas_datetime
Summary: python3-module-pandas: ошибка импорта pandas._libs.pandas_datetime
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python3-module-pandas (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-11 11:23 MSK by Alexandr Shashkin
Modified: 2025-06-17 12:23 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/