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 EngineTimeSlot #4608

Merged
merged 5 commits into from
Nov 1, 2021
Merged

Conversation

dstrain115
Copy link
Collaborator

@dstrain115 dstrain115 commented Nov 1, 2021

  • It looks like this wrapper got created but never used.
  • It does not provide much value over the proto values directly,
    so I am just going to delete it.
  • This also fixes the typing which incorrectly says that the
    schedule is returned as a EngineTimeSlot, but it is actually a
    QuantumTimeSlot.

While technically a breaking change, it would be quite surprising
if anyone is dependent on this wrapper class, as it has never been used
anywhere.

BREAKING CHANGE=Removed EngineTimeSlot without deprecation, (minimal to no usage).

- It looks like this wrapper got created but never used.
- It does not provide much value over the proto values directly,
so I am just going to delete it.
- This also fixes the typing which incorrectly says that the
schedule is returned as a EngineTimeSlot, but it is actually a
QuantumTimeSlot.

While technically a breaking change, it would be quite surprising
if anyone is dependent on this wrapper class, as it has never been used
anywhere.
@dstrain115 dstrain115 requested review from cduck, vtomole, wcourtney and a team as code owners November 1, 2021 07:44
@google-cla google-cla bot added the cla: yes Makes googlebot stop complaining. label Nov 1, 2021
@CirqBot CirqBot added the size: L 250< lines changed <1000 label Nov 1, 2021
@MichaelBroughton MichaelBroughton self-assigned this Nov 1, 2021
Copy link
Collaborator

@MichaelBroughton MichaelBroughton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine to me (in my travels with engine I never used this). If we want to go ahead and cut this without deprecating, would you mind adding the breaking_change label and a description of the break at the bottom of your PR description ?

cc: @mpharrigan

Copy link
Collaborator

@wcourtney wcourtney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mpharrigan
Copy link
Collaborator

hello from cc land. Looks fine, although I agree this should be labeled with breaking change

@MichaelBroughton MichaelBroughton added BREAKING CHANGE For pull requests that are important to mention in release notes. automerge Tells CirqBot to sync and merge this PR. (If it's running.) labels Nov 1, 2021
@CirqBot
Copy link
Collaborator

CirqBot commented Nov 1, 2021

Automerge cancelled: A status check is failing.

@CirqBot CirqBot removed the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Nov 1, 2021
@MichaelBroughton MichaelBroughton added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Nov 1, 2021
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Nov 1, 2021
@CirqBot CirqBot merged commit 4985a51 into quantumlib:master Nov 1, 2021
@CirqBot CirqBot removed automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. labels Nov 1, 2021
@mpharrigan
Copy link
Collaborator

this actually broke a utility in recirq 🤦

@mpharrigan
Copy link
Collaborator

quantumlib/ReCirq#140

rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
- It looks like this wrapper got created but never used.
- It does not provide much value over the proto values directly,
so I am just going to delete it.
- This also fixes the typing which incorrectly says that the
schedule is returned as a EngineTimeSlot, but it is actually a
QuantumTimeSlot.

While technically a breaking change, it would be quite surprising
if anyone is dependent on this wrapper class, as it has never been used
anywhere.

BREAKING CHANGE=Removed EngineTimeSlot without deprecation, (minimal to no usage).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BREAKING CHANGE For pull requests that are important to mention in release notes. cla: yes Makes googlebot stop complaining. size: L 250< lines changed <1000
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants