Skip to content

Deprecate legacy provider interface#6337

Merged
mergify[bot] merged 9 commits into
Qiskit:mainfrom
mtreinish:deprecate-legacy-providers
Jun 9, 2021
Merged

Deprecate legacy provider interface#6337
mergify[bot] merged 9 commits into
Qiskit:mainfrom
mtreinish:deprecate-legacy-providers

Conversation

@mtreinish
Copy link
Copy Markdown
Member

Summary

In the 0.16.0 release we added a new versioned providers interface that
included a V1 version of the Backend, Job, and Provider classes. Since
then we've updated and unified almost all of the providers that exist to
use the current interface. Having everything use the new interface means
that we're now able to both evolve the interface in a controlled manner
uniformly and also deprecate the legacy interface to signal to any other
providers out there (especially those we don't maintain) that we'll only
be supporting the versioned interface moving forward.

Details and comments

In the 0.16.0 release we added a new versioned providers interface that
included a V1 version of the Backend, Job, and Provider classes. Since
then we've updated and unified almost all of the providers that exist to
use the current interface. Having everything use the new interface means
that we're now able to both evolve the interface in a controlled manner
uniformly and also deprecate the legacy interface to signal to any other
providers out there (especially those we don't maintain) that we'll only
be supporting the versioned interface moving forward.
@mtreinish mtreinish added the Changelog: Deprecated Add a "Deprecated" entry in the GitHub Release changelog. label Apr 30, 2021
@mtreinish mtreinish requested review from a team, chriseclectic and jyu00 as code owners April 30, 2021 16:17
@mtreinish mtreinish added this to the 0.18 milestone May 7, 2021
@mergify mergify Bot merged commit 876ec44 into Qiskit:main Jun 9, 2021
ElePT pushed a commit to ElePT/qiskit-ibm-provider that referenced this pull request Oct 9, 2023
* Deprecate legacy provider interface

In the 0.16.0 release we added a new versioned providers interface that
included a V1 version of the Backend, Job, and Provider classes. Since
then we've updated and unified almost all of the providers that exist to
use the current interface. Having everything use the new interface means
that we're now able to both evolve the interface in a controlled manner
uniformly and also deprecate the legacy interface to signal to any other
providers out there (especially those we don't maintain) that we'll only
be supporting the versioned interface moving forward.

* Fix lint

* Run black

* Add deprecation warning assertion on legacy backends tests

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: Deprecated Add a "Deprecated" entry in the GitHub Release changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants