[Debian-med-packaging] Bug#1123067: pyensembl: FTBFS with Python 3.14

Colin Watson cjwatson at debian.org
Tue Dec 16 16:00:53 GMT 2025


Source: pyensembl
Version: 2.3.13-3
Severity: serious
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.14

pyensembl fails to build in unstable with Python 3.14 as a supported 
Python version.  Here's the relevant part of the build log:

   dh_auto_test -O--buildsystem=pybuild
        pybuild --test --test-pytest -i python{version} -p "3.14 3.13"
I: pybuild base:317: cd /build/reproducible-path/pyensembl-2.3.13/.pybuild/cpython3_3.14_pyensembl/build; python3.14 -m pytest -v -k 'not test_download_cache.py and not test_gene_ids.py and not test_gene_names.py and not test_gene_objects.py and not test_id_length.py and not test_search.py and not test_serialization.py and not test_transcript_ids.py and not test_transcript_objects.py and not test_contigs.py and not test_exon_id.py and not test_exon_object.py and not test_string_representation.py and not test_timings.py and not test_transcript_sequences.py and not test_transcript_support_level.py'
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 -- /usr/bin/python3.14
cachedir: .pytest_cache
rootdir: /build/reproducible-path/pyensembl-2.3.13
plugins: typeguard-4.4.4
collecting ... collected 125 items / 1 error / 98 deselected / 27 selected

==================================== ERRORS ====================================
_ ERROR collecting .pybuild/cpython3_3.14_pyensembl/build/tests/test_shell.py __
tests/test_shell.py:1: in <module>
    from pyensembl.shell import parser, all_combinations_of_ensembl_genomes
pyensembl/shell.py:74: in <module>
    release_group = root_group.add_argument_group()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3.14/argparse.py:1805: in add_argument_group
    raise ValueError('argument groups cannot be nested')
E   ValueError: argument groups cannot be nested
=============================== warnings summary ===============================
pyensembl/shell.py:43
  /build/reproducible-path/pyensembl-2.3.13/.pybuild/cpython3_3.14_pyensembl/build/pyensembl/shell.py:43: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_shell.py - ValueError: argument groups cannot be nested
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
================== 98 deselected, 1 warning, 1 error in 0.48s ==================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd /build/reproducible-path/pyensembl-2.3.13/.pybuild/cpython3_3.14_pyensembl/build; python3.14 -m pytest -v -k 'not test_download_cache.py and not test_gene_ids.py and not test_gene_names.py and not test_gene_objects.py and not test_id_length.py and not test_search.py and not test_serialization.py and not test_transcript_ids.py and not test_transcript_objects.py and not test_contigs.py and not test_exon_id.py and not test_exon_object.py and not test_string_representation.py and not test_timings.py and not test_transcript_sequences.py and not test_transcript_support_level.py'

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson at debian.org]

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Debian-med-packaging mailing list