File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ permissions:
1515
1616env :
1717 PACKAGE_DIR : treeshap-py
18+ PYO3_USE_ABI3_FORWARD_COMPATIBILITY : " 1"
1819
1920jobs :
2021 build :
4445
4546 - uses : actions/setup-python@v5
4647 with :
47- python-version : " 3.12"
48+ python-version : |
49+ 3.9
50+ 3.10
51+ 3.11
52+ 3.12
53+ 3.13
4854
4955 - name : Build wheels
5056 uses : PyO3/maturin-action@v1
@@ -78,19 +84,20 @@ jobs:
7884 path : ${{ env.PACKAGE_DIR }}/dist/*.tar.gz
7985
8086 test-wheel :
81- name : Test (${{ matrix.os }})
87+ name : Test (${{ matrix.os }}, py${{ matrix.python }} )
8288 needs : build
8389 strategy :
8490 fail-fast : false
8591 matrix :
8692 os : [ubuntu-latest, macos-latest, windows-latest]
93+ python : ["3.9", "3.12", "3.13"]
8794 runs-on : ${{ matrix.os }}
8895 steps :
8996 - uses : actions/checkout@v4
9097
9198 - uses : actions/setup-python@v5
9299 with :
93- python-version : " 3.12 "
100+ python-version : ${{ matrix.python }}
94101
95102 - uses : actions/download-artifact@v4
96103 with :
Original file line number Diff line number Diff line change 11[package ]
22name = " treeshap-py"
3- version = " 0.1.0 "
3+ version = " 0.1.1 "
44edition = " 2021"
55rust-version = " 1.75"
66publish = false
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "maturin"
44
55[project ]
66name = " treeshap"
7- version = " 0.1.0 "
7+ version = " 0.1.1 "
88description = " Exact TreeSHAP in Rust — fast Shapley values for XGBoost, LightGBM, and ONNX tree ensembles"
99license = {text = " MIT OR Apache-2.0" }
1010requires-python = " >=3.8"
@@ -38,3 +38,6 @@ Changelog = "https://github.com/saswatsusmoy/treeshap-rs/releases"
3838features = []
3939python-source = " python"
4040module-name = " treeshap._treeshap"
41+
42+ [tool .maturin .environment ]
43+ PYO3_USE_ABI3_FORWARD_COMPATIBILITY = " 1"
Original file line number Diff line number Diff line change 1717from treeshap ._treeshap import TreeEnsemble , ShapExplainer , ShapExplanation
1818
1919__all__ = ["TreeEnsemble" , "ShapExplainer" , "ShapExplanation" ]
20- __version__ = "0.1.0 "
20+ __version__ = "0.1.1 "
You can’t perform that action at this time.
0 commit comments