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

Convert more of src/x509/ocsp_req.rs to new pyo3 APIs #10743

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

facutuesca
Copy link
Contributor

Part of #10676

This fixes all except one of the migration warnings for src/x509/ocsp_req.rs. The remaining warning is:

error[E0277]: the trait bound `(&[u8], &[u8], pyo3::Bound<'_, pyo3::types::PyLong>, &pyo3::PyAny): pyo3::FromPyObject<'_>` is not satisfied
    --> src/x509/ocsp_req.rs:199:14
     |
199  |             .extract()?;
     |              ^^^^^^^ the trait `pyo3::FromPyObject<'_>` is not implemented for `(&[u8], &[u8], pyo3::Bound<'_, pyo3::types::PyLong>, &pyo3::PyAny)`, which is required by `(&[u8], &[u8], pyo3::Bound<'_, pyo3::types::PyLong>, &pyo3::PyAny): pyo3::conversion::FromPyObjectBound<'_, '_>`
     |

cc @alex @reaperhulk

@alex alex enabled auto-merge (squash) April 5, 2024 15:29
@alex alex merged commit 22bd720 into pyca:main Apr 5, 2024
58 checks passed
@facutuesca facutuesca deleted the ocsp-req-pyo3 branch April 5, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants