qiskit-community/qiskit-jku-provider

JKU provider not compatible with terra 0.8

Closed this issue · 7 comments

Informations

  • Qiskit-JKU-Provider version: master
  • Python version:
  • Operating system: osx

What is the current behavior?

from qiskit_jku_provider import JKUProvider

gives

ImportError: cannot import name 'QISKitError' from 'qiskit' (/miniconda3/envs/testing/lib/python3.7/site-packages/qiskit_terra-0.8.0-py3.7-macosx-10.7-x86_64.egg/qiskit/__init__.py)

Steps to reproduce the problem

What is the expected behavior?

Suggested solutions

this is not fixed.

@yehuda-naveh and @mtreinish I think we need change QISKitError to QiskitError and then make a new pip release.

This is the

/anaconda3/envs/QiskitDevenv/lib/python3.7/site-packages/qiskit_jku_provider/jkusimulatorerror.py in
10 """
11
---> 12 from qiskit import QISKitError
13
14

ImportError: cannot import name 'QISKitError' from 'qiskit' (/anaconda3/envs/QiskitDevenv/lib/python3.7/site-packages/qiskit/init.py)

@gadial let's go carefully over all potential incompatibilities with 0.8, then put the new pip

Did we check the pip version

We'll make a new pip. I'd like @gadial to go over all potential incompatibilities with 0.8, and then the pip

I updated some of the code so we'll have no deprecation warnings (or failing tests) and uploaded a new pip for Windows/Linux/Mac