Bug#1018786: numba: autopkgtest needs update for new version of llvmlite: The module `llvmlite.llvmpy` is deprecated
Paul Gevers
elbrus at debian.org
Tue Aug 30 20:42:14 BST 2022
Source: numba
Version: 0.55.2+dfsg-1
Severity: serious
X-Debbugs-CC: llvmlite at packages.debian.org
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:llvmlite
Dear maintainer(s),
With a recent upload of llvmlite the autopkgtest of numba fails in
testing when that autopkgtest is run with the binary packages of
llvmlite from unstable. It passes when run with only packages from
testing. In tabular form:
pass fail
llvmlite from testing 0.39.0-1
numba from testing 0.55.2+dfsg-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of llvmlite to
testing [1]. Of course, llvmlite shouldn't just break your autopkgtest
(or even worse, your package), but it seems to me that the change in
llvmlite was intended and your package needs to update to the new situation.
If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from llvmlite should really
add a versioned Breaks on the unfixed version of (one of your)
package(s). Note: the Breaks is nice even if the issue is only in the
autopkgtest as it helps the migration software to figure out the right
versions to combine in the tests.
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=llvmlite
https://ci.debian.net/data/autopkgtest/testing/amd64/n/numba/25502711/log.gz
======================================================================
FAIL: test_no_accidental_warnings (numba.tests.test_import.TestNumbaImport)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/numba/tests/test_import.py",
line 103, in test_no_accidental_warnings
run_in_subprocess(code, flags)
File "/usr/lib/python3/dist-packages/numba/tests/support.py", line
1014, in run_in_subprocess
raise AssertionError(msg % (popen.returncode, err.decode()))
AssertionError: process failed with code 1: stderr follows
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/numba/__init__.py", line 38, in
<module>
from numba.core.decorators import (cfunc, generated_jit, jit, njit,
stencil,
File "/usr/lib/python3/dist-packages/numba/core/decorators.py", line
12, in <module>
from numba.stencils.stencil import stencil
File "/usr/lib/python3/dist-packages/numba/stencils/stencil.py", line
11, in <module>
from numba.core import types, typing, utils, ir, config, ir_utils,
registry
File "/usr/lib/python3/dist-packages/numba/core/ir_utils.py", line
16, in <module>
from numba.core.extending import _Intrinsic
File "/usr/lib/python3/dist-packages/numba/core/extending.py", line
19, in <module>
from numba.core.pythonapi import box, unbox, reflect, NativeValue
# noqa: F401
File "/usr/lib/python3/dist-packages/numba/core/pythonapi.py", line
8, in <module>
from llvmlite.llvmpy.core import Type, Constant
File "/usr/lib/python3/dist-packages/llvmlite/llvmpy/__init__.py",
line 3, in <module>
warnings.warn(
UserWarning: The module `llvmlite.llvmpy` is deprecated and will be
removed in the future.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20220830/5a3cc3ff/attachment.sig>
More information about the Pkg-llvm-team
mailing list