Skip to content

Commit 13e85c8

Browse files
fix(ci): upgrade PyO3 0.23 → 0.28 to fix SIGILL in pyo3-build-config
pyo3-build-config 0.23.5 build script crashes with SIGILL on GitHub Actions runners. Upgrade to PyO3 0.28.2 which resolves the issue. Also remove unused numpy crate dependency.
1 parent 90bf0e6 commit 13e85c8

3 files changed

Lines changed: 14 additions & 130 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ name = "causal_impact_core"
88
crate-type = ["cdylib"]
99

1010
[dependencies]
11-
pyo3 = { version = "0.23", features = ["extension-module"] }
12-
numpy = "0.23"
11+
pyo3 = { version = "0.28", features = ["extension-module"] }
1312
rand = "0.8"
1413
rayon = "1.10"
1514
rand_distr = "0.4"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mod kalman;
66
mod sampler;
77
mod state_space;
88

9-
#[pyclass]
9+
#[pyclass(skip_from_py_object)]
1010
#[derive(Clone)]
1111
pub struct GibbsSamples {
1212
#[pyo3(get)]

0 commit comments

Comments
 (0)