Skip to content

Commit

Permalink
Release 5.11.8
Browse files Browse the repository at this point in the history
### Changelog:
- Fix(backend): Update PyO3 version and Rust modules.
- Fix(backend): Build Python 3.13 special wheels.
  • Loading branch information
onegreyonewhite committed Nov 12, 2024
1 parent 92be11a commit f5f98c5
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 283 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=61.2", "vstcompile~=3.0", "cython~=3.0.11", "setuptools-rust~=1.9"]
requires = ["setuptools>=61.2", "vstcompile~=3.0", "cython~=3.0.11", "setuptools-rust~=1.10.2"]
build-backend = "setuptools.build_meta"

[project]
Expand Down
3 changes: 2 additions & 1 deletion tox_build.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ setenv =
build: DONT_YARN=true
NOT_COMPRESS = 1
wheel: BUILD_OPTIMIZATION=true
py313: PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1
changedir = {envdir}
allowlist_externals =
rm
Expand All @@ -28,7 +29,7 @@ deps =
build~=1.0.3
wheel==0.41.3
setuptools>=61.2.0
setuptools-rust==1.9.0
setuptools-rust==1.10.2
-rrequirements-doc.txt
vstcompile~=3.0

Expand Down
2 changes: 1 addition & 1 deletion vstutils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# pylint: disable=django-not-available
__version__: str = '5.11.7'
__version__: str = '5.11.8'
150 changes: 13 additions & 137 deletions vstutils_tools/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 vstutils_tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2018"

[dependencies]
pyo3 = { version = "0.21.2", features = ["extension-module", "abi3"] }
pyo3 = { version = "0.22.6", features = ["extension-module", "abi3"] }

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion vstutils_tools/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn get_file_value(filename: &str, default: Option<&str>, raise_error: Option<boo

/// A Python module implemented in Rust.
#[pymodule]
fn _tools(_py: Python, m: &PyModule) -> PyResult<()> {
fn _tools(_py: Python, m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_function(wrap_pyfunction!(get_file_value, m)?)?;
Ok(())
}
Loading

0 comments on commit f5f98c5

Please sign in to comment.