Bug 42033 - python3-module-zmq-22.3.0-alt3 сломал пересборку примерно десятка пакетов на python3
Summary: python3-module-zmq-22.3.0-alt3 сломал пересборку примерно десятка пакетов на ...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python3-module-zmq (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 blocker
Assignee: Grigory Ustinov
QA Contact: qa-sisyphus
URL: https://lists.altlinux.org/pipermail/...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-24 14:26 MSK by Aleksei Nikiforov
Modified: 2022-03-24 19:27 MSK (History)
20 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksei Nikiforov 2022-02-24 14:26:47 MSK
С python3-module-zmq версии 22.3.0-alt3 в Сизифе не пересобирается примерно 10 пакетов на python3. Откат до 22.3.0-alt2 проблему исправляет.

Воспроизведение:
1. пересобрать ipython3

Ожидаемый результат:
Успешная пересборка

Получаемый результат:
Ошибка пересборки:

+ make -C docs html
make: Entering directory '/usr/src/RPM/BUILD/ipython3-8.0.1/docs'
python3 autogen_api.py
96 files written
Build API docs finished.
python3 autogen_config.py
Traceback (most recent call last):
  File "/usr/src/RPM/BUILD/ipython3-8.0.1/docs/autogen_config.py", line 6, in <module>
    from ipykernel.kernelapp import IPKernelApp
  File "/usr/lib/python3/site-packages/ipykernel/__init__.py", line 2, in <module>
    from .connect import *
  File "/usr/lib/python3/site-packages/ipykernel/connect.py", line 12, in <module>
    import jupyter_client
  File "/usr/lib/python3/site-packages/jupyter_client/__init__.py", line 6, in <module>
    from .asynchronous import AsyncKernelClient  # noqa
  File "/usr/lib/python3/site-packages/jupyter_client/asynchronous/__init__.py", line 1, in <module>
    from .client import AsyncKernelClient  # noqa
  File "/usr/lib/python3/site-packages/jupyter_client/asynchronous/client.py", line 6, in <module>
    from jupyter_client.channels import HBChannel
  File "/usr/lib/python3/site-packages/jupyter_client/channels.py", line 12, in <module>
    import zmq.asyncio
  File "/usr/lib64/python3/site-packages/zmq/__init__.py", line 103, in <module>
    from zmq import backend
  File "/usr/lib64/python3/site-packages/zmq/backend/__init__.py", line 32, in <module>
    raise original_error from None
  File "/usr/lib64/python3/site-packages/zmq/backend/__init__.py", line 27, in <module>
    _ns = select_backend(first)
  File "/usr/lib64/python3/site-packages/zmq/backend/select.py", line 32, in select_backend
    mod = import_module(name)
  File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib64/python3/site-packages/zmq/backend/cython/__init__.py", line 6, in <module>
    from . import (
ImportError: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) (/usr/lib64/python3/site-packages/zmq/backend/cython/__init__.py)
Comment 1 Yuri N. Sedunov 2022-03-09 13:19:50 MSK
Сломана не только пересборка, но и работоспособность зависимых пакетов, посему -- blocker.

$ rapid-photo-downloader 
Traceback (most recent call last):
  File "/usr/bin/rapid-photo-downloader", line 33, in <module>
    sys.exit(load_entry_point('rapid-photo-downloader==0.9.32',
'gui_scripts', 'rapid-photo-downloader')())
  File "/usr/bin/rapid-photo-downloader", line 25, in
importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line
162, in load
    module = import_module(match.group('module'))
  File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in
_find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in
exec_module
  File "<frozen importlib._bootstrap>", line 241, in
_call_with_frames_removed
  File "/usr/lib/python3/site-packages/raphodo/rapid.py", line 83, in
<module>
    import zmq
  File "/usr/lib64/python3/site-packages/zmq/__init__.py", line 103, in
<module>
    from zmq import backend
  File "/usr/lib64/python3/site-packages/zmq/backend/__init__.py", line
32, in <module>
    raise original_error from None
  File "/usr/lib64/python3/site-packages/zmq/backend/__init__.py", line
27, in <module>
    _ns = select_backend(first)
  File "/usr/lib64/python3/site-packages/zmq/backend/select.py", line
32, in select_backend
    mod = import_module(name)
  File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib64/python3/site-
packages/zmq/backend/cython/__init__.py", line 6, in <module>
    from . import (
ImportError: cannot import name 'constants' from partially initialized
module 'zmq.backend.cython' (most likely due to a circular import)
(/usr/lib64/python3/site-packages/zmq/backend/cython/__init__.py)
Comment 2 Yuri N. Sedunov 2022-03-09 13:24:41 MSK
Прошу посматривать в https://github.com/zeromq/pyzmq/commits/main.
Comment 3 Grigory Ustinov 2022-03-24 16:39:54 MSK
[#297111] TESTED python3-module-zmq.git=22.3.0-alt4 ipython3.git=8.0.1-alt1 ...
Comment 4 Repository Robot 2022-03-24 19:27:07 MSK
python3-module-zmq-22.3.0-alt4 -> sisyphus:

 Thu Mar 24 2022 Grigory Ustinov <grenka@altlinux> 22.3.0-alt4
 - Force use cffi backend (Closes: #42033).
 - Build without check.