-
Notifications
You must be signed in to change notification settings - Fork 70
Conversation
I have to disagree with this removal. |
@jyu00 Tests are failing due to the Deprecation Warning. Any suggestions on how we can get around this if we don't want to remove the tests? Also qobj was deprecated in 0.12 and it's time to remove it according to our deprecation policy. Should we make an exception here and how much more longer should we supporting this? |
@kt474 the rng code should be updated, but it lives in the
@rathishcholarajan Deprecation warnings are converted to errors in qiskit-terra's
Our deprecation policy says 3 months is the minimum. It also says that for significant features, the period should be at least double that. Given the impact of Qobj removal, I'd say 9-12 months, or until QASM3 is fully supported (so we can encourage people to move to using QASM3). |
I would say create your own base test class in this package and don't use terra's at all. I want to get rid of this shared test class antipattern as it only causes headaches like this, see Qiskit/qiskit#6862. Test code should be self contained, explicit and as flat as possible because you want it to be easy to debug and figure out what it's doing when something fails. Having to look at a parent test class definition in an upstream dependency to figure out how a test works is just going to continually cause issues. |
While I normally support being conservative with the deprecation policy and opting for longer deprecations than shorter ones I don't think it applies here in this case. The |
I was debating about this. On the one hand this is our opportunity to make all kinds of breaking changes. On the other I worry that users would not want to move to |
Thanks @mtreinish and @jyu00! I agree that we should remove deprecated functionality before initial release of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kt474 Thanks!
Summary
Passing a qobj to
backend.run
is deprecated - removing from these test casesDetails and comments