From 5840f0b57fd2b08be7b0d6203afb759e3658cd17 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 9 Sep 2024 10:05:38 +1200 Subject: [PATCH] Bump pyo3 from 0.21.2 to 0.22.2 with py-clone feature Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.21.2 to 0.22.2. - [Release notes](https://github.com/pyo3/pyo3/releases) - [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md) - [Commits](https://github.com/pyo3/pyo3/compare/v0.21.2...v0.22.2) --- Cargo.toml | 4 ++-- src/lib.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ae5ecdd..36d978a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,5 +16,5 @@ version = "0.9.2" features = ["parallel"] [dependencies.pyo3] -version = "0.21.2" -features = ["extension-module"] +version = "0.22.2" +features = ["extension-module", "py-clone"] diff --git a/src/lib.rs b/src/lib.rs index 22f060f..b0440d7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -64,6 +64,7 @@ impl LazVlr { } #[classmethod] + #[pyo3(signature = (point_format_id, num_extra_bytes, use_variable_size_chunks=false))] fn new_for_compression<'py>( _cls: &Bound<'py, PyType>, point_format_id: u8,