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

chore: update to pyo3 0.23.2 and tket-json-rs 0.7.1 #709

Merged
merged 2 commits into from
Nov 29, 2024
Merged

Conversation

ss2165
Copy link
Member

@ss2165 ss2165 commented Nov 29, 2024

No description provided.

@ss2165 ss2165 requested a review from a team as a code owner November 29, 2024 16:01
@ss2165 ss2165 requested review from doug-q and johnchildren and removed request for doug-q November 29, 2024 16:01
@ss2165 ss2165 requested a review from cqc-alec November 29, 2024 16:02
@hugrbot
Copy link
Collaborator

hugrbot commented Nov 29, 2024

This PR contains breaking changes to the public Rust API.
Please deprecate the old API instead (if possible), or mark the PR with a ! to indicate a breaking change.

cargo-semver-checks summary

Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.79%. Comparing base (7d3e5f5) to head (45c689d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #709      +/-   ##
==========================================
- Coverage   82.85%   82.79%   -0.07%     
==========================================
  Files          62       62              
  Lines        7140     7115      -25     
  Branches     6887     6862      -25     
==========================================
- Hits         5916     5891      -25     
  Misses        861      861              
  Partials      363      363              
Flag Coverage Δ
python 82.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -77,21 +78,24 @@ fn validate_serial_circ(circ: &SerialCircuit) {
for command in &circ.commands {
for arg in &command.args {
assert!(
circ.qubits.contains(arg) || circ.bits.contains(arg),
circ.qubits.contains(&register::Qubit::from(arg.clone()))
Copy link
Member Author

Choose a reason for hiding this comment

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

added clones but figure it is ok in tests

Copy link
Collaborator

@cqc-alec cqc-alec left a comment

Choose a reason for hiding this comment

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

Do you know why the coverage check is failing?

@ss2165 ss2165 added this pull request to the merge queue Nov 29, 2024
Merged via the queue into main with commit b17736d Nov 29, 2024
15 of 17 checks passed
@ss2165 ss2165 deleted the ss/json-0.71 branch November 29, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants