#1071771 jupyter-ydoc: FTBFS: ImportError: Failed to import test module: jupyter_ydoc

#1071771#5
Date:
2024-05-24 19:35:45 UTC
From:
To:
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.
#1071771#10
Date:
2025-08-13 09:12:46 UTC
From:
To:
Dear submitter,

as the package jupyter-ydoc has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1108006

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)