Bug#1025181: qiskit-ibmq-provider: (autopkgtest) needs update for python3.11: module 'asyncio' has no attribute 'coroutine'

Paul Gevers elbrus at debian.org
Wed Nov 30 19:59:45 GMT 2022


Source: qiskit-ibmq-provider
Version: 0.4.6-4
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-ibmq-provider 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-ibmq-provider   from testing    0.4.6-4
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-ibmq-provider/28796435/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/providers/ibmq/api/rest/validation.py:35: 
RemovedInMarshmallow4Warning: The 'missing' argument to fields is 
deprecated. Use 'load_default' instead.
   _status = String(required=False, missing=None)
Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "/usr/lib/python3/dist-packages/qiskit/__init__.py", line 58, in 
<module>
     from qiskit.providers.ibmq import IBMQ
   File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/__init__.py", line 
20, in <module>
     from .ibmqfactory import IBMQFactory
   File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/ibmqfactory.py", 
line 21, in <module>
     from .accountprovider import AccountProvider
   File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/accountprovider.py", 
line 26, in <module>
     from .api.clients import AccountClient
   File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/api/clients/__init__.py", 
line 18, in <module>
     from .account import AccountClient
   File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/api/clients/account.py", 
line 35, in <module>
     from .websocket import WebsocketClient
   File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/api/clients/websocket.py", 
line 113, in <module>
     class WebsocketClient(BaseClient):
   File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/api/clients/websocket.py", 
line 126, in WebsocketClient
     @asyncio.coroutine
      ^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you 
mean: 'coroutines'?
autopkgtest [01:16:47]: 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/670426bd/attachment-0001.sig>


More information about the debian-science-maintainers mailing list