[Python-modules-team] Bug#1071771: jupyter-ydoc: FTBFS: ImportError: Failed to import test module: jupyter_ydoc
Santiago Vila
sanvila at debian.org
Fri May 24 20:35:45 BST 2024
Package: src:jupyter-ydoc
Version: 1.0.2-2
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with python3 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-ydoc
* Building wheel...
Successfully built jupyter_ydoc-1.0.2-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module
I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" module
I: pybuild base:311: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_jupyter-ydoc
* Building wheel...
Successfully built jupyter_ydoc-1.0.2-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with "installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-ydoc/build; python3.12 -m unittest discover -v
jupyter_ydoc (unittest.loader._FailedTest.jupyter_ydoc) ... ERROR
======================================================================
ERROR: jupyter_ydoc (unittest.loader._FailedTest.jupyter_ydoc)
----------------------------------------------------------------------
ImportError: Failed to import test module: jupyter_ydoc
Traceback (most recent call last):
File "/usr/lib/python3.12/unittest/loader.py", line 427, in _find_test_path
package = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
__import__(name)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-ydoc/build/jupyter_ydoc/__init__.py", line 7, in <module>
from .yblob import YBlob # noqa
^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-ydoc/build/jupyter_ydoc/yblob.py", line 8, in <module>
import y_py as Y
File "/usr/lib/python3/dist-packages/y_py/__init__.py", line 1, in <module>
from .y_py import *
ModuleNotFoundError: No module named 'y_py.y_py'
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-ydoc/build; python3.12 -m unittest discover -v
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_jupyter-ydoc/build; python3.11 -m unittest discover -v
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202405/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Python-modules-team
mailing list