Support free-threaded Python 3.14t
Declare the module GIL-free with #[pymodule(gil_used = false)] so importing textgrid no longer re-enables the GIL in free-threaded builds. Bump version to 2026.8.3.
This commit is contained in:
parent
49125c7a38
commit
9d2af4e58f
4 changed files with 4 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -1651,7 +1651,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "textgrid"
|
||||
version = "0.1.0"
|
||||
version = "2026.8.3"
|
||||
dependencies = [
|
||||
"bytemuck",
|
||||
"glfw",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "textgrid"
|
||||
version = "0.1.0"
|
||||
version = "2026.8.3"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
|||
|
||||
[project]
|
||||
name = "textgrid"
|
||||
version = "0.1.0"
|
||||
version = "2026.8.3"
|
||||
requires-python = ">=3.11"
|
||||
|
||||
[tool.maturin]
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ impl TextGrid {
|
|||
}
|
||||
}
|
||||
|
||||
#[pymodule]
|
||||
#[pymodule(gil_used = false)]
|
||||
fn textgrid(m: &Bound<'_, PyModule>) -> PyResult<()> {
|
||||
m.add_class::<TextGrid>()?;
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue