Skip to content

Commit

Permalink
biscuit-python: bump pyo3 to 0.23.1
Browse files Browse the repository at this point in the history
This is mostly just following the upgrade guide here: https://pyo3.rs/v0.22.0/migration.html

I chose to not go directly to 0.23.1 because (selfishly) we're on 0.22.6 and
don't want to wait on our upgrade.  Normally these python bindings would be
independent of what other modules in our codebase are doing, but in this case
I'm trying to build a single rust package with biscuit-python + bindings to our
own layer on top of biscuits, so they need to use the same pyo3 version.

Test Plan:
  • Loading branch information
adamh-oai committed Nov 24, 2024
1 parent 81698fd commit 706af0c
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 107 deletions.
113 changes: 34 additions & 79 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ crate-type = ["cdylib"]

[dependencies]
biscuit-auth = { version = "5.0.0", features = ["pem"] }
pyo3 = { version = "0.18.3", features = ["extension-module", "chrono"]}
pyo3 = { version = "0.22.6", features = ["extension-module", "chrono"] }
hex = "0.4"
base64 = "0.13.0"
chrono = "0.4"
Loading

0 comments on commit 706af0c

Please sign in to comment.