Article View: linux.debian.bugs.dist
Article #1854Bug#1151830: python-testbook: FTBFS: E Attempting to import zmq Cython backend, which has not been compiled.
From: Santiago Vila
Date: Fri, 23 Oct 2026 16:50
Date: Fri, 23 Oct 2026 16:50
77 lines
5533 bytes
5533 bytes
Package: src:python-testbook
Version: 0.4.2-5
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202610/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-testbook, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
/usr/lib/python3/dist-packages/zmq/backend/cython/__init__.py:6: in <module>
from . import _zmq
/usr/lib/python3/dist-packages/zmq/backend/cython/_zmq.py:34: in <module>
raise ImportError(msg)
E ImportError:
E Attempting to import zmq Cython backend, which has not been compiled.
E
E This probably means you are importing zmq from its source tree.
E if this is what you want, make sure to do an in-place build first:
E
E pip install -e '/usr/lib/python3/dist-packages'
E
E If it is not, then '/usr/lib/python3/dist-packages' is probably on your sys.path,
E when it shouldn't be. Is that your current working directory?
E
E If neither of those is true and this file is actually installed,
E something seems to have gone wrong with the install!
E Please report at https://github.com/zeromq/pyzmq/issues
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15/build; python3.15 -m pytest
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest
============================= test session starts ==============================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pytest.ini
plugins: anyio-4.15.1
collected 110 items
tests/test_client.py ...................... [ 20%]
tests/test_datamodel.py ......... [ 28%]
tests/test_execute.py ............ [ 39%]
tests/test_inject.py .............. [ 51%]
tests/test_patch.py ...... [ 57%]
tests/test_reference.py ........ [ 64%]
tests/test_testbook.py ............. [ 76%]
tests/test_translators.py .......................... [100%]
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1624
/usr/lib/python3/dist-packages/_pytest/config/__init__.py:1624: PytestConfigWarning: No files were found in testpaths; consider removing or adjusting your testpaths configuration. Searching recursively from the current directory instead.
self.args, self.args_source = self._decide_args(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================= 110 passed, 1 warning in 41.47s ========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<NRqCS-7qF3-31@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1151830: python-testbook: FTBFS: E Attempting to import zmq Cython backend, which has not been compiled. Date: Fri, 23 Oct 2026 18:50:02 +0200 Message-ID: <NRqCS-7qF3-31@gated-at.bofh.it> X-Original-To: Debian BTS <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Oct 23 16:48:38 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1151830@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, team+python@tracker.debian.org X-Debian-Pr-Message: report 1151830 X-Debian-Pr-Package: src:python-testbook X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: python-testbook X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998417 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 77 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 23 Oct 2026 16:45:00 +0000 X-Original-Message-ID: <E1xKIO4-0052zi-1J@paradis.debian.org>