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

2022-12-25 Thread Stefano Rivera
I see this is fixed upstream in around 0.11, by
https://github.com/Qiskit/qiskit-ibmq-provider/pull/779

Given #1008627 and the deprecation upstream, should we just drop the
package, entirely?

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



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

2022-11-30 Thread Paul Gevers

Source: qiskit-ibmq-provider
Version: 0.4.6-4
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
User: debian-pyt...@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:


   passfail
python3-defaults   from testing3.10.6-3
qiskit-ibmq-provider   from testing0.4.6-4
all others from testingfrom 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 "", line 1, in 
  File "/usr/lib/python3/dist-packages/qiskit/__init__.py", line 58, in 


from qiskit.providers.ibmq import IBMQ
  File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/__init__.py", line 
20, in 

from .ibmqfactory import IBMQFactory
  File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/ibmqfactory.py", 
line 21, in 

from .accountprovider import AccountProvider
  File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/accountprovider.py", 
line 26, in 

from .api.clients import AccountClient
  File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/api/clients/__init__.py", 
line 18, in 

from .account import AccountClient
  File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/api/clients/account.py", 
line 35, in 

from .websocket import WebsocketClient
  File 
"/usr/lib/python3/dist-packages/qiskit/providers/ibmq/api/clients/websocket.py", 
line 113, in 

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



OpenPGP_signature
Description: OpenPGP digital signature