Bug#1025180: qiskit-aer: (autopkgtest) needs update for python3.11: No module named 'qiskit.transpiler.passes.routing.cython.stochastic_swap.utils'
Paul Gevers
elbrus at debian.org
Wed Nov 30 19:59:08 GMT 2022
Source: qiskit-aer
Version: 0.4.1-2
Severity: serious
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
User: debian-python at lists.debian.org
Usertags: python3.11
Control: affects -1 src:python3-defaults
Dear maintainer(s),
We are in the transition of adding python3.11 as a supported Python
version [0]. With a recent upload of python3-defaults the autopkgtest of
qiskit-aer fails in testing when that autopkgtest is run with the binary
packages of python3-defaults from unstable. It passes when run with only
packages from testing. In tabular form:
pass fail
python3-defaults from testing 3.10.6-3
qiskit-aer from testing 0.4.1-2
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 python3-defaults
to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists
what's new in Python3.11, it may help to identify what needs to be updated.
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[0] https://bugs.debian.org/1021984
[1] https://qa.debian.org/excuses.php?package=python3-defaults
https://ci.debian.net/data/autopkgtest/testing/amd64/q/qiskit-aer/28796434/log.gz
Testing with python3.11:
/usr/lib/python3/dist-packages/qiskit/validation/fields/custom.py:76:
DeprecationWarning: `np.float` is a deprecated alias for the builtin
`float`. To silence this warning, use `float` by itself. Doing this will
not modify any behavior and is safe. If you specifically wanted the
numpy scalar type, use `np.float64` here.
Deprecated in NumPy 1.20; for more details and guidance:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
numpy.integer, numpy.float,
/usr/lib/python3/dist-packages/qiskit/__init__.py:53: RuntimeWarning:
Could not import the Aer provider from the qiskit-aer package. Install
qiskit-aer or check your installation.
warnings.warn('Could not import the Aer provider from the qiskit-aer '
/usr/lib/python3/dist-packages/qiskit/__init__.py:60: RuntimeWarning:
Could not import the IBMQ provider from the qiskit-ibmq-provider
package. Install qiskit-ibmq-provider or check your installation.
warnings.warn('Could not import the IBMQ provider from the '
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/qiskit/__init__.py", line 67, in
<module>
from qiskit.execute import execute
File "/usr/lib/python3/dist-packages/qiskit/execute.py", line 24, in
<module>
from qiskit.compiler import transpile, assemble
File "/usr/lib/python3/dist-packages/qiskit/compiler/__init__.py",
line 35, in <module>
from .transpile import transpile
File "/usr/lib/python3/dist-packages/qiskit/compiler/transpile.py",
line 16, in <module>
from qiskit.transpiler import Layout, CouplingMap
File "/usr/lib/python3/dist-packages/qiskit/transpiler/__init__.py",
line 76, in <module>
from .transpile_circuit import transpile_circuit
File
"/usr/lib/python3/dist-packages/qiskit/transpiler/transpile_circuit.py",
line 17, in <module>
from qiskit.transpiler.preset_passmanagers import
(level_0_pass_manager,
File
"/usr/lib/python3/dist-packages/qiskit/transpiler/preset_passmanagers/__init__.py",
line 31, in <module>
from .level0 import level_0_pass_manager
File
"/usr/lib/python3/dist-packages/qiskit/transpiler/preset_passmanagers/level0.py",
line 23, in <module>
from qiskit.transpiler.passes import Unroller
File
"/usr/lib/python3/dist-packages/qiskit/transpiler/passes/__init__.py",
line 116, in <module>
from .routing import BasicSwap
File
"/usr/lib/python3/dist-packages/qiskit/transpiler/passes/routing/__init__.py",
line 19, in <module>
from .stochastic_swap import StochasticSwap
File
"/usr/lib/python3/dist-packages/qiskit/transpiler/passes/routing/stochastic_swap.py",
line 30, in <module>
from .cython.stochastic_swap.utils import nlayout_from_layout
ModuleNotFoundError: No module named
'qiskit.transpiler.passes.routing.cython.stochastic_swap.utils'
autopkgtest [01:17:01]: test autodep8-python3
-------------- 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/debian-science-maintainers/attachments/20221130/ebc1eed0/attachment.sig>
More information about the debian-science-maintainers
mailing list