-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat!: implement Python wrappers for the full Rust API #230
Conversation
0ebbf3a
to
7053746
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks great!
- We should merge the
rigetti-pyo3:support-fieldless-enums-data-structs
branch first, right? - Do we still need to hand-write the
.pyi
files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a big PR, so I'll take another pass later, but looking good so far. I would make sure we use conventional commits to properly call out breaking changes. I called out one on an enum, but it looks like there are others related to the shift to Cow
From @jselig-rigetti:
Correct.
I think so. This issue is still open. The From @MarquessV:
I've revised commit messages to include the |
7053746
to
1ae1298
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the version bump following upstream PR, this meets the bar to merge. Noting, of course, that we're about to break just about every function in the Python bindings once @MarquessV 's Program
changes land.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Resolves #208.
This does not include tests for the new Python stuff, but no clippy lints are triggered. There are changes made to the Rust crate in order to make this work, but everything should just work as before.