Skip to content

Commit e302962

Browse files
committed
fix: Python 3.13 source build support via .cargo/config.toml, bump to 0.1.2
1 parent a04f30c commit e302962

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

treeshap-py/.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[env]
2+
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = "1"

treeshap-py/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeshap-py"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition = "2021"
55
rust-version = "1.75"
66
publish = false

treeshap-py/pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "treeshap"
7-
version = "0.1.1"
7+
version = "0.1.2"
88
description = "Exact TreeSHAP in Rust — fast Shapley values for XGBoost, LightGBM, and ONNX tree ensembles"
99
license = {text = "MIT OR Apache-2.0"}
1010
requires-python = ">=3.8"
@@ -38,6 +38,3 @@ Changelog = "https://github.com/saswatsusmoy/treeshap-rs/releases"
3838
features = []
3939
python-source = "python"
4040
module-name = "treeshap._treeshap"
41-
42-
[tool.maturin.environment]
43-
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = "1"

treeshap-py/python/treeshap/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
from treeshap._treeshap import TreeEnsemble, ShapExplainer, ShapExplanation
1818

1919
__all__ = ["TreeEnsemble", "ShapExplainer", "ShapExplanation"]
20-
__version__ = "0.1.1"
20+
__version__ = "0.1.2"

0 commit comments

Comments
 (0)