Skip to content

Commit 2ed3bc5

Browse files
committed
chore: upgrade pyo3 version
1 parent 38c5c5e commit 2ed3bc5

4 files changed

Lines changed: 25 additions & 27 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88

9+
## [0.2.1] - 2026-07-09
10+
11+
### Changed
12+
* Bump pyo3 to 0.26 to add support for Python 3.14
13+
14+
915
## [0.2.0] - 2025-01-02
1016

1117
### Changed

‎Cargo.lock‎

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

‎Cargo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "python-linux-keyutils"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -9,6 +9,6 @@ name = "python_linux_keyutils"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pyo3 = "0.22.3"
12+
pyo3 = "0.26"
1313
linux-keyutils = "0.2"
1414
zeroize = "1.8"

‎src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ fn get_secret<'py>(
209209
key_ring: Option<&KeyRingIdentifier>,
210210
) -> PyResult<Bound<'py, PyBytes>> {
211211
let secret = _get_secret(name, key_ring)?;
212-
Ok(PyBytes::new_bound(py, &secret.buffer[..secret.length]))
212+
Ok(PyBytes::new(py, &secret.buffer[..secret.length]))
213213
}
214214

215215
fn _invalidate_secret(

0 commit comments

Comments
 (0)