[Debian-med-packaging] Bug#1153468: python-cogent: autopkgtest regression: ImportError while loading conftest
Paul Gevers
elbrus at debian.org
Sun Nov 8 21:12:49 GMT 2026
Source: python-cogent
Version: 2026.10.15-1
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression
Dear maintainer(s),
Your package has an autopkgtest, great. However, it fails since a couple
of days. Can you please investigate the situation and fix it? I copied
some of the output at the bottom of this report.
The release team has announced [1] that failing autopkgtest on amd64 and
arm64 are considered RC in testing.
More information about this bug and the reason for filing it can be
found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html
https://ci.debian.net/packages/p/python-cogent/testing/amd64/77601895/
107s I: pybuild base:383: cd
/tmp/autopkgtest.Iu9Q8g/autopkgtest_tmp/build; python3.14 -m pytest
--ignore=test_app/test_plugins.py
--ignore=test_draw/test_draw_integration.py -k 'not
test_pickleable_member_roundtrip and not test_pickleable_roundtrip and
not internet and not test_load_from_url and not
test_load_annotations_compressed and not test_writer_no_unique_id and
not test_db_creation and not test_validate and not test_append_makes_logs '
107s ImportError while loading conftest
'/tmp/autopkgtest.Iu9Q8g/autopkgtest_tmp/build/tests/conftest.py'.
108s tests/__init__.py:5: in <module>
108s exec(f"from {__name__} import {sub_module}")
108s tests/test_phylo.py:11: in <module>
108s from cogent3 import get_model, load_aligned_seqs, load_tree,
make_tree
108s /usr/lib/python3/dist-packages/cogent3/__init__.py:48: in __getattr__
108s module = import_module(f".{module_name}", package=__package__)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/cogent3/evolve/models.py:19: in <module>
108s from cogent3.evolve import ns_substitution_model,
substitution_model
108s
/usr/lib/python3/dist-packages/cogent3/evolve/ns_substitution_model.py:4:
in <module>
108s from cogent3.core.genetic_code import get_code
108s /usr/lib/python3/dist-packages/cogent3/core/genetic_code.py:568: in
<module>
108s code = GeneticCode(**dict(zip(_mapping_cols, mapping,
strict=False))) # type: ignore[arg-type]
108s
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/cogent3/core/genetic_code.py:140: in
__post_init__
108s alpha.get_kmer_alphabet(
108s /usr/lib/python3/dist-packages/cogent3/core/alphabet.py:618: in
get_kmer_alphabet
108s return _get_kmer_alpha(
108s /usr/lib/python3/dist-packages/cogent3/core/alphabet.py:767: in
_get_kmer_alpha
108s kalpha = KmerAlphabet(words=words, monomers=monomers, gap=gap,
k=k, missing=missing)
108s
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/cogent3/core/alphabet.py:1226: in
__init__
108s self._coeffs = coord_conversion_coeffs(
108s /usr/lib/python3/dist-packages/numba/core/dispatcher.py:443: in
_compile_for_args
108s raise e
108s /usr/lib/python3/dist-packages/numba/core/dispatcher.py:376: in
_compile_for_args
108s return_val = self.compile(tuple(argtypes))
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/dispatcher.py:908: in compile
108s cres = self._compiler.compile(args, return_type)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/dispatcher.py:80: in compile
108s status, retval = self._compile_cached(args, return_type)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/dispatcher.py:94: in
_compile_cached
108s retval = self._compile_core(args, return_type)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/dispatcher.py:107: in
_compile_core
108s cres = compiler.compile_extra(self.targetdescr.typing_context,
108s /usr/lib/python3/dist-packages/numba/core/compiler.py:739: in
compile_extra
108s return pipeline.compile_extra(func)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/compiler.py:439: in
compile_extra
108s return self._compile_bytecode()
108s ^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/compiler.py:505: in
_compile_bytecode
108s return self._compile_core()
108s ^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/compiler.py:481: in
_compile_core
108s raise e
108s /usr/lib/python3/dist-packages/numba/core/compiler.py:473: in
_compile_core
108s pm.run(self.state)
108s
/usr/lib/python3/dist-packages/numba/core/compiler_machinery.py:363: in run
108s raise e
108s
/usr/lib/python3/dist-packages/numba/core/compiler_machinery.py:356: in run
108s self._runPass(idx, pass_inst, state)
108s /usr/lib/python3/dist-packages/numba/core/compiler_lock.py:35: in
_acquire_compile_lock
108s return func(*args, **kwargs)
108s ^^^^^^^^^^^^^^^^^^^^^
108s
/usr/lib/python3/dist-packages/numba/core/compiler_machinery.py:311: in
_runPass
108s mutated |= check(pss.run_pass, internal_state)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s
/usr/lib/python3/dist-packages/numba/core/compiler_machinery.py:272: in
check
108s mangled = func(compiler_state)
108s ^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/typed_passes.py:114: in
run_pass
108s typemap, return_type, calltypes, errs = type_inference_stage(
108s /usr/lib/python3/dist-packages/numba/core/typed_passes.py:95: in
type_inference_stage
108s errs = infer.propagate(raise_errors=raise_errors)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/typeinfer.py:1075: in
propagate
108s errors = self.constraints.propagate(self)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/typeinfer.py:160: in
propagate
108s constraint(typeinfer)
108s /usr/lib/python3/dist-packages/numba/core/typeinfer.py:572: in __call__
108s self.resolve(typeinfer, typevars, fnty)
108s /usr/lib/python3/dist-packages/numba/core/typeinfer.py:595: in resolve
108s sig = typeinfer.resolve_call(fnty, pos_args, kw_args)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/typeinfer.py:1569: in
resolve_call
108s return self.context.resolve_function_type(fnty, pos_args, kw_args)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/typing/context.py:279: in
resolve_function_type
108s res = self._resolve_user_function_type(func, args, kws)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/typing/context.py:335: in
_resolve_user_function_type
108s return func.get_call_type(self, args, kws)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/types/functions.py:314:
in get_call_type
108s raise e
108s /usr/lib/python3/dist-packages/numba/core/types/functions.py:311:
in get_call_type
108s sig = temp.apply(nolitargs, nolitkws)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/typing/templates.py:358:
in apply
108s sig = generic(args, kws)
108s ^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/typing/templates.py:621:
in generic
108s disp, new_args = self._get_impl(args, kws)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/typing/templates.py:720:
in _get_impl
108s impl, args = self._build_impl(cache_key, args, kws)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/typing/templates.py:824:
in _build_impl
108s disp_type.get_call_type(self.context, args, kws)
108s /usr/lib/python3/dist-packages/numba/core/types/functions.py:541:
in get_call_type
108s self.dispatcher.get_call_template(args, kws)
108s /usr/lib/python3/dist-packages/numba/core/dispatcher.py:319: in
get_call_template
108s self.compile(tuple(args))
108s /usr/lib/python3/dist-packages/numba/core/dispatcher.py:908: in compile
108s cres = self._compiler.compile(args, return_type)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/dispatcher.py:80: in compile
108s status, retval = self._compile_cached(args, return_type)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/dispatcher.py:94: in
_compile_cached
108s retval = self._compile_core(args, return_type)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/dispatcher.py:107: in
_compile_core
108s cres = compiler.compile_extra(self.targetdescr.typing_context,
108s /usr/lib/python3/dist-packages/numba/core/compiler.py:739: in
compile_extra
108s return pipeline.compile_extra(func)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/compiler.py:439: in
compile_extra
108s return self._compile_bytecode()
108s ^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/compiler.py:505: in
_compile_bytecode
108s return self._compile_core()
108s ^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/compiler.py:481: in
_compile_core
108s raise e
108s /usr/lib/python3/dist-packages/numba/core/compiler.py:473: in
_compile_core
108s pm.run(self.state)
108s
/usr/lib/python3/dist-packages/numba/core/compiler_machinery.py:363: in run
108s raise e
108s
/usr/lib/python3/dist-packages/numba/core/compiler_machinery.py:356: in run
108s self._runPass(idx, pass_inst, state)
108s /usr/lib/python3/dist-packages/numba/core/compiler_lock.py:35: in
_acquire_compile_lock
108s return func(*args, **kwargs)
108s ^^^^^^^^^^^^^^^^^^^^^
108s
/usr/lib/python3/dist-packages/numba/core/compiler_machinery.py:311: in
_runPass
108s mutated |= check(pss.run_pass, internal_state)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s
/usr/lib/python3/dist-packages/numba/core/compiler_machinery.py:272: in
check
108s mangled = func(compiler_state)
108s ^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/typed_passes.py:472: in
run_pass
108s lower.lower()
108s /usr/lib/python3/dist-packages/numba/core/lowering.py:193: in lower
108s self.lower_normal_function(self.fndesc)
108s /usr/lib/python3/dist-packages/numba/core/lowering.py:228: in
lower_normal_function
108s self.setup_function(fndesc)
108s /usr/lib/python3/dist-packages/numba/core/lowering.py:303: in
setup_function
108s self.function = self.context.declare_function(self.module, fndesc)
108s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108s /usr/lib/python3/dist-packages/numba/core/base.py:416: in
declare_function
108s self.call_conv.decorate_function(fn, fndesc.args,
fndesc.argtypes, noalias=fndesc.noalias)
108s /usr/lib/python3/dist-packages/numba/core/callconv.py:827: in
decorate_function
108s retarg.add_attribute("nocapture")
108s /usr/lib/python3/dist-packages/llvmlite/ir/values.py:1119: in
add_attribute
108s self.attributes.add(attr)
108s /usr/lib/python3/dist-packages/llvmlite/ir/values.py:876: in add
108s raise ValueError('unknown attr {!r} for {}'.format(name, self))
108s E ValueError: unknown attr 'nocapture' for ArgumentAttributes()
108s E: pybuild pybuild:485: test: plugin pyproject failed with: exit
code=4: cd /tmp/autopkgtest.Iu9Q8g/autopkgtest_tmp/build; python3.14 -m
pytest --ignore=test_app/test_plugins.py
--ignore=test_draw/test_draw_integration.py -k 'not
test_pickleable_member_roundtrip and not test_pickleable_roundtrip and
not internet and not test_load_from_url and not
test_load_annotations_compressed and not test_writer_no_unique_id and
not test_db_creation and not test_validate and not test_append_makes_logs '
108s pybuild-autopkgtest: error: pybuild --autopkgtest -i
python{version} -p 3.14 --parallel= returned exit code 13
108s make: *** [/tmp/nEZyahExiT/run:4: pybuild-autopkgtest] Error 25
108s pybuild-autopkgtest: error: /tmp/nEZyahExiT/run pybuild-autopkgtest
returned exit code 2
More information about the Debian-med-packaging
mailing list