Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 0.26.0 deprecations #2027

Merged
merged 19 commits into from
Nov 25, 2024
Merged

Remove 0.26.0 deprecations #2027

merged 19 commits into from
Nov 25, 2024

Conversation

kt474
Copy link
Member

@kt474 kt474 commented Nov 8, 2024

Summary

Changes in this PR:

  • Passing in a backend as a string is no longer valid
  • If a backend is passed to sampler/estimator from within an open session context manager, the job will now run from within that session. If the backend passed in is different from the session backend, an error will be raised.
  • Service is no longer a valid parameter in Session/Batch
  • Refactored Session.from_id() because it used to use service.
  • Removed QiskitRuntimeService.global_service because this was only necessary when backends could be given as strings.
  • Update tests to support all the above changes

I can also split this PR into multiple if that makes it easier to review

Details and comments

Fixes #1681
Fixes #1727
Fixes #1886

@kt474 kt474 added the Changelog: Removal Include in the Removed section of the changelog label Nov 8, 2024
@kt474 kt474 added this to the 0.34.0 milestone Nov 8, 2024
@kt474 kt474 marked this pull request as ready for review November 14, 2024 18:28
@kt474 kt474 requested a review from ptristan3 November 18, 2024 16:14
@kt474 kt474 merged commit 639f307 into Qiskit:main Nov 25, 2024
19 checks passed
@kt474 kt474 deleted the 0.26-deprecations branch November 25, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Removal Include in the Removed section of the changelog
Projects
None yet
2 participants