Skip to content

Commit

Permalink
Small pyo3 bump to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimahriman committed Dec 6, 2024
1 parent 52327b4 commit 04c25a4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 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 python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ bytes = { workspace = true }
env_logger = "0.10"
hdfs-native = { path = "../rust" }
log = { workspace = true }
pyo3 = { version = "0.20", features = ["extension-module", "abi3", "abi3-py38"] }
pyo3 = { version = "0.21", features = ["extension-module", "abi3", "abi3-py38"] }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["rt-multi-thread"] }
2 changes: 1 addition & 1 deletion python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ impl RawClient {

/// A Python module implemented in Rust.
#[pymodule]
fn _internal(_py: Python, m: &PyModule) -> PyResult<()> {
fn _internal(m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_class::<RawClient>()?;
m.add_class::<PyWriteOptions>()?;
Ok(())
Expand Down

0 comments on commit 04c25a4

Please sign in to comment.