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

fix: add explicit dependency on rigetti-pyo3's "time" feature #476

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

antalsz
Copy link
Contributor

@antalsz antalsz commented Jun 14, 2024

In rigetti/rigetti-pyo3#45 (and rigetti/rigetti-pyo3#46), I moved all references to the Python time types under the "time" feature. This was a bugfix, but I didn't realize it was also a breaking change – any library that relied on the time types implicitly being available would break, just as this one did! This adds the missing feature dependency, and I've also upgraded rigetti/rigetti-pyo3#46 to be a breaking change.

This commit also updates Cargo.lock to force the update to rigetti-pyo3, meaning that builds will fail without the substantive change.

Closes #475.

In rigetti/rigetti-pyo3#45 (and rigetti/rigetti-pyo3#46), I moved all
references to the Python time types under the "time" feature.  This
was a bugfix, but I didn't realize it was also a breaking change – any
library that relied on the time types implicitly being available would
break, just as this one did!  This adds the missing feature
dependency, and I've also upgraded rigetti/rigetti-pyo3#46 to be a
breaking change.

This commit also updates Cargo.lock to force the update to
rigetti-pyo3, meaning that builds will fail without the substantive
change.
@antalsz antalsz requested a review from MarquessV June 14, 2024 17:34
Copy link

github-actions bot commented Jun 14, 2024

PR Preview Action v1.4.7
🚀 Deployed preview to https://rigetti.github.io/qcs-sdk-rust/pr-preview/pr-476/
on branch qcs-sdk-python-docs at 2024-06-14 17:56 UTC

Updating the other dependencies brings in new licenses (Unicode-3.0), which is
probably fine but not something we need to figure out right now.
@antalsz antalsz merged commit 251aa23 into main Jun 14, 2024
2 checks passed
@antalsz antalsz deleted the 475-add-rigetti-pyo3-time-feature branch June 14, 2024 18:10
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.

error[E0277]: the trait bound Duration: rigetti_pyo3::PyTryFrom<pyo3::Py<PyDelta>> is not satisfied
2 participants