Skip to content

Commit b1cfa3a

Browse files
pyo3 0.19 (#8999)
* Bump pyo3 from 0.18.3 to 0.19.0 in /src/rust Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.18.3 to 0.19.0. - [Release notes](https://github.com/pyo3/pyo3/releases) - [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md) - [Commits](PyO3/pyo3@v0.18.3...v0.19.0) --- updated-dependencies: - dependency-name: pyo3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * pyo3 0.19 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 799fe35 commit b1cfa3a

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

src/rust/Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ rust-version = "1.56.0"
99

1010
[dependencies]
1111
once_cell = "1"
12-
pyo3 = { version = "0.18", features = ["abi3-py37"] }
12+
pyo3 = { version = "0.19", features = ["abi3-py37"] }
1313
asn1 = { version = "0.15.2", default-features = false }
1414
cryptography-cffi = { path = "cryptography-cffi" }
1515
cryptography-x509 = { path = "cryptography-x509" }

src/rust/cryptography-cffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88
rust-version = "1.56.0"
99

1010
[dependencies]
11-
pyo3 = { version = "0.18", features = ["abi3-py37"] }
11+
pyo3 = { version = "0.19", features = ["abi3-py37"] }
1212
openssl-sys = "0.9.88"
1313

1414
[build-dependencies]

src/rust/src/x509/crl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl CertificateRevocationList {
145145
revoked_certs
146146
});
147147

148-
if idx.is_instance_of::<pyo3::types::PySlice>()? {
148+
if idx.is_instance_of::<pyo3::types::PySlice>() {
149149
let indices = idx
150150
.downcast::<pyo3::types::PySlice>()?
151151
.indices(self.len().try_into().unwrap())?;

src/rust/src/x509/extensions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ fn encode_certificate_policies(
211211
let mut qualifiers = vec![];
212212
for py_qualifier in py_policy_qualifiers.iter()? {
213213
let py_qualifier = py_qualifier?;
214-
let qualifier = if py_qualifier.is_instance_of::<pyo3::types::PyString>()? {
214+
let qualifier = if py_qualifier.is_instance_of::<pyo3::types::PyString>() {
215215
let cps_uri = match asn1::IA5String::new(py_qualifier.extract()?) {
216216
Some(s) => s,
217217
None => {

0 commit comments

Comments
 (0)