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

Revert "Make BitArray.{slice_bits,slice_shots,__getitem__} raise IndexError when indices are not valid (backport #12755)" #12929

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

mtreinish
Copy link
Member

This commit reverts #12844, the original PR was making an API change as a bugfix (to make the api consistent with other similar APIs). However it is still a change in the defined stable interface of the class as documented and we shouldn't be changing that per the stability guidelines of the project. Especially in a patch version bugfix release. We can debate whether the change is acceptable for 1.2.0 independently but for a patch version it is definitely out of scope.

@mtreinish mtreinish added the Changelog: None Do not include in changelog label Aug 8, 2024
@mtreinish mtreinish added this to the 1.1.2 milestone Aug 8, 2024
@mtreinish mtreinish requested review from a team as code owners August 8, 2024 19:53
@qiskit-bot
Copy link
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core
  • @ajavadia
  • @levbishop
  • @t-imamichi

@mtreinish mtreinish mentioned this pull request Aug 8, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10308586130

Details

  • 3 of 4 (75.0%) changed or added relevant lines in 1 file are covered.
  • 18 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.01%) to 89.938%

Changes Missing Coverage Covered Lines Changed/Added Lines %
qiskit/primitives/containers/bit_array.py 3 4 75.0%
Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 6 92.23%
crates/qasm2/src/parse.rs 12 97.15%
Totals Coverage Status
Change from base Build 10296040200: -0.01%
Covered Lines: 61847
Relevant Lines: 68766

💛 - Coveralls

@kevinhartman kevinhartman added this pull request to the merge queue Aug 8, 2024
@mtreinish mtreinish removed this pull request from the merge queue due to a manual request Aug 8, 2024
@mtreinish mtreinish merged commit 7a7cb66 into stable/1.1 Aug 8, 2024
18 checks passed
@mtreinish mtreinish deleted the revert-12844-mergify/bp/stable/1.1/pr-12755 branch August 8, 2024 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None Do not include in changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants