Qiskit / qiskit-serverless

A programming model for leveraging quantum and classical resources
https://qiskit.github.io/qiskit-serverless/
Apache License 2.0
67 stars 27 forks source link

Client verify process fails for Qiskit fake provider module #1225

Closed karlaspuldaro closed 7 months ago

karlaspuldaro commented 7 months ago

Steps to reproduce the problem

See new PR failures (eg. Client verify process test log on PR #1223).

What is the current behavior?

For

qiskit==1.0.0
qiskit-ibm-provider==0.9.0

Error message:

lint: commands[1]> pylint -rn quantum_serverless tests
************* Module tests.library.test_transpiler
tests/library/test_transpiler.py:18:0: E0611: No name 'FakeAlmadenV2' in module 'qiskit.providers.fake_provider' (no-name-in-module)
tests/library/test_transpiler.py:18:0: E0611: No name 'FakeBrooklynV2' in module 'qiskit.providers.fake_provider' (no-name-in-module)

What is the expected behavior?

No errors.

karlaspuldaro commented 7 months ago

Looks like the fake classes we are using have been deprecated and removed in Qiskit 1.0.

Tansito commented 7 months ago

Hey @karlaspuldaro I think @david-alber is working on that in #1227

david-alber commented 7 months ago

@karlaspuldaro @Tansito yes this is related to issue #1224 and the PR #1227 intends to fix it. I am on it :).

karlaspuldaro commented 7 months ago

@Tansito @david-alber No worries, thx for the heads up. I thought #1224 was only targeting the doc failures. I'm going to close #1226.

karlaspuldaro commented 7 months ago

Fixed by #1227