[Debian-med-packaging] Bug#1110798: biomaj3-download: FTBFS: make[1]: *** [debian/rules:29: override_dh_auto_test] Error 2
Adrian Bunk
bunk at debian.org
Wed Sep 24 09:36:31 BST 2025
Control: reassign -1 python3-elasticsearch
Control: retitle -1 python3-elasticsearch needs stricter python3-elastic-transport dependency
Control: affects -1 src:biomaj3-download
On Mon, Aug 11, 2025 at 09:37:14AM +0200, Lucas Nussbaum wrote:
> Source: biomaj3-download
> Version: 3.2.12-2
> Severity: serious
> Justification: FTBFS
>...
> > ==================================== ERRORS ====================================
> > ____________________ ERROR collecting tests/biomaj_tests.py ____________________
> > ImportError while importing test module '/build/reproducible-path/biomaj3-download-3.2.12/tests/biomaj_tests.py'.
> > Hint: make sure your test modules/packages have valid Python names.
> > Traceback:
> > /usr/lib/python3.13/importlib/__init__.py:88: in import_module
> > return _bootstrap._gcd_import(name[level:], package, level)
> > tests/biomaj_tests.py:21: in <module>
> > from biomaj_core.config import BiomajConfig
> > /usr/lib/python3/dist-packages/biomaj_core/config.py:10: in <module>
> > from biomaj_core.bmajindex import BmajIndex
> > /usr/lib/python3/dist-packages/biomaj_core/bmajindex.py:5: in <module>
> > from elasticsearch import Elasticsearch
> > /usr/lib/python3/dist-packages/elasticsearch/__init__.py:32: in <module>
> > raise ImportError(
> > E ImportError: An incompatible version of elastic-transport is installed. Must be between v8.0.0 and v9.0.0. Install the correct version with the following command: $ python -m pip install 'elastic-transport>=8, <9'
> > =============================== warnings summary ===============================
>...
This is a bug in python3-elasticsearch.
It was partially fixed in 9.1.0-2 with the
Depends: python3-elastic-transport (>= 9)
but looking at elasticsearch/__init__.py it should be
Depends: python3-elastic-transport (>= 9.1), python3-elastic-transport (<< 10)
because an upgrade to newer python3-elastic-transport (which caused
this breakage) is currently still not prohibited by the dependencies.
cu
Adrian
More information about the Debian-med-packaging
mailing list