From 6fb32eeff28f04e8acd4ee498da1e61aa1d11f55 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Thu, 13 Mar 2025 12:05:45 -0700 Subject: [PATCH] fix python bindings building on linux (#5795) * updates Signed-off-by: Jess Frazelle * updates; Signed-off-by: Jess Frazelle --------- Signed-off-by: Jess Frazelle --- .github/workflows/kcl-python-bindings.yml | 2 +- rust/Cargo.lock | 24 +++++++++++------------ rust/Cargo.toml | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/kcl-python-bindings.yml b/.github/workflows/kcl-python-bindings.yml index 0872d5d46..55967e294 100644 --- a/.github/workflows/kcl-python-bindings.yml +++ b/.github/workflows/kcl-python-bindings.yml @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 'pypy3.10' + python-version: 3.x - name: Build wheels uses: PyO3/maturin-action@v1 with: diff --git a/rust/Cargo.lock b/rust/Cargo.lock index ffc87080e..4b07b381f 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -2751,9 +2751,9 @@ dependencies = [ [[package]] name = "pyo3" -version = "0.22.6" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f402062616ab18202ae8319da13fa4279883a2b8a9d9f83f20dbade813ce1884" +checksum = "7f1c6c3591120564d64db2261bec5f910ae454f01def849b9c22835a84695e86" dependencies = [ "cfg-if", "indoc", @@ -2770,9 +2770,9 @@ dependencies = [ [[package]] name = "pyo3-build-config" -version = "0.22.6" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b14b5775b5ff446dd1056212d778012cbe8a0fbffd368029fd9e25b514479c38" +checksum = "e9b6c2b34cf71427ea37c7001aefbaeb85886a074795e35f161f5aecc7620a7a" dependencies = [ "once_cell", "target-lexicon", @@ -2780,9 +2780,9 @@ dependencies = [ [[package]] name = "pyo3-ffi" -version = "0.22.6" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ab5bcf04a2cdcbb50c7d6105de943f543f9ed92af55818fd17b660390fc8636" +checksum = "5507651906a46432cdda02cd02dd0319f6064f1374c9147c45b978621d2c3a9c" dependencies = [ "libc", "pyo3-build-config", @@ -2790,9 +2790,9 @@ dependencies = [ [[package]] name = "pyo3-macros" -version = "0.22.6" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fd24d897903a9e6d80b968368a34e1525aeb719d568dba8b3d4bfa5dc67d453" +checksum = "b0d394b5b4fd8d97d48336bb0dd2aebabad39f1d294edd6bcd2cccf2eefe6f42" dependencies = [ "proc-macro2", "pyo3-macros-backend", @@ -2802,9 +2802,9 @@ dependencies = [ [[package]] name = "pyo3-macros-backend" -version = "0.22.6" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36c011a03ba1e50152b4b394b479826cad97e7a21eb52df179cd91ac411cbfbe" +checksum = "fd72da09cfa943b1080f621f024d2ef7e2773df7badd51aa30a2be1f8caa7c8e" dependencies = [ "heck", "proc-macro2", @@ -3728,9 +3728,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.16" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" +checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a" [[package]] name = "tempfile" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 7616acb74..18ae4d379 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -38,7 +38,7 @@ kittycad = { version = "0.3.28", default-features = false, features = ["js", "re kittycad-modeling-cmds = { version = "0.2.100", features = ["ts-rs", "websocket"] } lazy_static = "1.5.0" miette = "7.5.0" -pyo3 = { version = "0.22.6" } +pyo3 = { version = "0.24.0" } serde = { version = "1", features = ["derive"] } serde_json = { version = "1" } slog = "2.7.0"