[Debian-med-packaging] Bug#1149754: python-bioregistry: FTBFS: E ModuleNotFoundError: No module named 'requests'
Santiago Vila
sanvila at debian.org
Fri Oct 2 20:09:41 BST 2026
Package: src:python-bioregistry
Version: 0.11.12-3
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-bioregistry, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
from .struct import ( # noqa:F401
bioregistry/schema/struct.py:42: in <module>
from bioregistry.utils import curie_to_str, deduplicate, removeprefix, removesuffix
bioregistry/utils.py:22: in <module>
import requests
E ModuleNotFoundError: No module named 'requests'
=============================== warnings summary ===============================
tests/test_web/test_api.py:13
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_web/test_api.py:13: StarletteDeprecationWarning: Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead.
from starlette.testclient import TestClient
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_acquisition.py
ERROR tests/test_api.py
ERROR tests/test_collections.py
ERROR tests/test_contexts.py
ERROR tests/test_data.py
ERROR tests/test_data_slow.py
ERROR tests/test_duplicates.py
ERROR tests/test_identifiers_org.py
ERROR tests/test_indra.py
ERROR tests/test_manager.py
ERROR tests/test_metaregistry.py
ERROR tests/test_obofoundry.py
ERROR tests/test_ols.py
ERROR tests/test_pandas.py
ERROR tests/test_resolve.py
ERROR tests/test_sparql.py
ERROR tests/test_utils.py
ERROR tests/test_web/test_api.py
ERROR tests/test_web/test_ui.py
!!!!!!!!!!!!!!!!!!! Interrupted: 19 errors during collection !!!!!!!!!!!!!!!!!!!
================= 1 deselected, 1 warning, 19 errors in 1.27s ==================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -k 'not test_url and not test_url_banana and not test_obolibrary_example and not test_usages '
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Debian-med-packaging
mailing list