From 673ca8e4baa65a35d50d1de82fd935ae106437ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Tue, 9 Sep 2025 18:06:40 +0200 Subject: [PATCH 1/7] chore(deps): bump pyo3 requirement from 0.14 to 0.16 in all packages --- Cargo.lock | 81 +++++++++---------------- packages/api/Cargo.toml | 2 +- packages/compiler-cranelift/Cargo.toml | 2 +- packages/compiler-llvm/Cargo.toml | 2 +- packages/compiler-singlepass/Cargo.toml | 2 +- packages/engines/Cargo.toml | 2 +- 6 files changed, 33 insertions(+), 58 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c3592224..1d7e2e54 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "addr2line" @@ -426,26 +426,9 @@ dependencies = [ [[package]] name = "indoc" -version = "0.3.6" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47741a8bc60fb26eb8d6e0238bbb26d8575ff623fdc97b1a2c00c050b9684ed8" -dependencies = [ - "indoc-impl", - "proc-macro-hack", -] - -[[package]] -name = "indoc-impl" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce046d161f000fffde5f432a0d034d0341dc152643b2598ed5bfce44c4f3a8f0" -dependencies = [ - "proc-macro-hack", - "proc-macro2", - "quote", - "syn", - "unindent", -] +checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306" [[package]] name = "inkwell" @@ -687,25 +670,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "paste" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880" -dependencies = [ - "paste-impl", - "proc-macro-hack", -] - -[[package]] -name = "paste-impl" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6" -dependencies = [ - "proc-macro-hack", -] - [[package]] name = "pest" version = "2.1.3" @@ -788,44 +752,56 @@ dependencies = [ [[package]] name = "pyo3" -version = "0.14.5" +version = "0.16.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35100f9347670a566a67aa623369293703322bb9db77d99d7df7313b575ae0c8" +checksum = "0220c44442c9b239dd4357aa856ac468a4f5e1f0df19ddb89b2522952eb4c6ca" dependencies = [ "cfg-if 1.0.0", "indoc", "libc", "parking_lot", - "paste", - "pyo3-build-config 0.14.5", + "pyo3-build-config 0.16.6", + "pyo3-ffi", "pyo3-macros", "unindent", ] [[package]] name = "pyo3-build-config" -version = "0.14.5" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d12961738cacbd7f91b7c43bc25cfeeaa2698ad07a04b3be0aa88b950865738f" +checksum = "779239fc40b8e18bc8416d3a37d280ca9b9fb04bda54b98037bb6748595c2410" dependencies = [ "once_cell", ] [[package]] name = "pyo3-build-config" -version = "0.15.1" +version = "0.16.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbf9e4d128bfbddc898ad3409900080d8d5095c379632fbbfbb9c8cfb1fb852b" +checksum = "9c819d397859445928609d0ec5afc2da5204e0d0f73d6bf9e153b04e83c9cdc2" dependencies = [ "once_cell", + "target-lexicon", +] + +[[package]] +name = "pyo3-ffi" +version = "0.16.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca882703ab55f54702d7bfe1189b41b0af10272389f04cae38fe4cd56c65f75f" +dependencies = [ + "libc", + "pyo3-build-config 0.16.6", ] [[package]] name = "pyo3-macros" -version = "0.14.5" +version = "0.16.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0bc5215d704824dfddddc03f93cb572e1155c68b6761c37005e1c288808ea8" +checksum = "568749402955ad7be7bad9a09b8593851cd36e549ac90bfd44079cea500f3f21" dependencies = [ + "proc-macro2", "pyo3-macros-backend", "quote", "syn", @@ -833,12 +809,11 @@ dependencies = [ [[package]] name = "pyo3-macros-backend" -version = "0.14.5" +version = "0.16.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71623fc593224afaab918aa3afcaf86ed2f43d34f6afde7f3922608f253240df" +checksum = "611f64e82d98f447787e82b8e7b0ebc681e1eb78fc1252668b2c605ffb4e1eb8" dependencies = [ "proc-macro2", - "pyo3-build-config 0.14.5", "quote", "syn", ] @@ -1436,7 +1411,7 @@ version = "1.2.0" dependencies = [ "cfg-if 1.0.0", "pyo3", - "pyo3-build-config 0.15.1", + "pyo3-build-config 0.15.2", "wasmer 2.1.1", "wasmer-engines", "wasmer-types", diff --git a/packages/api/Cargo.toml b/packages/api/Cargo.toml index 5989316a..85c8d9bf 100644 --- a/packages/api/Cargo.toml +++ b/packages/api/Cargo.toml @@ -20,7 +20,7 @@ wasmer = { version = "2.1.1", default-features = false, features = ["wat", "univ wasmer-engines = { path = "../engines/" } wasmer-types = "2.1.1" wasmer-wasi = "2.1.1" -pyo3 = { version = "0.14", features = ["extension-module", "auto-initialize"] } +pyo3 = { version = "0.16", features = ["extension-module", "auto-initialize"] } wat = "1.0" wasmprinter = "0.2" cfg-if = "1.0" diff --git a/packages/compiler-cranelift/Cargo.toml b/packages/compiler-cranelift/Cargo.toml index 374aaf36..9cc78d77 100644 --- a/packages/compiler-cranelift/Cargo.toml +++ b/packages/compiler-cranelift/Cargo.toml @@ -17,4 +17,4 @@ crate-type = ["cdylib"] [dependencies] wasmer-engines = { path = "../engines/" } wasmer-compiler-cranelift = "2.1.1" -pyo3 = { version = "0.14", features = ["extension-module"] } +pyo3 = { version = "0.16", features = ["extension-module"] } diff --git a/packages/compiler-llvm/Cargo.toml b/packages/compiler-llvm/Cargo.toml index 458c2295..1f0b4882 100644 --- a/packages/compiler-llvm/Cargo.toml +++ b/packages/compiler-llvm/Cargo.toml @@ -17,4 +17,4 @@ crate-type = ["cdylib"] [dependencies] wasmer-engines = { path = "../engines/" } wasmer-compiler-llvm = "2.1.1" -pyo3 = { version = "0.14", features = ["extension-module"] } +pyo3 = { version = "0.16", features = ["extension-module"] } diff --git a/packages/compiler-singlepass/Cargo.toml b/packages/compiler-singlepass/Cargo.toml index b6c002cc..3af97f6b 100644 --- a/packages/compiler-singlepass/Cargo.toml +++ b/packages/compiler-singlepass/Cargo.toml @@ -17,4 +17,4 @@ crate-type = ["cdylib"] [dependencies] wasmer-engines = { path = "../engines/" } wasmer-compiler-singlepass = "2.1.1" -pyo3 = { version = "0.14", features = ["extension-module"] } +pyo3 = { version = "0.16", features = ["extension-module"] } diff --git a/packages/engines/Cargo.toml b/packages/engines/Cargo.toml index 1f005f3e..6e3ead6f 100644 --- a/packages/engines/Cargo.toml +++ b/packages/engines/Cargo.toml @@ -13,5 +13,5 @@ publish = false [dependencies] wasmer = { version = "2.1.1", default-features = false, features = ["wat", "universal", "dylib", "compiler"] } wasmer-compiler = "2.1.1" -pyo3 = { version = "0.14", features = ["extension-module"] } +pyo3 = { version = "0.16", features = ["extension-module"] } enumset = "1.0.6" From dd5e0e5fd20acef56e3fecaafdaa43f3ee3c59fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Tue, 9 Sep 2025 18:12:25 +0200 Subject: [PATCH 2/7] chore(deps): bump actions/upload-artifact from v2 to v4 --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 12d3ac1c..c26e6ad3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -168,7 +168,7 @@ jobs: ls -lhaGiR target/wheels/*.whl - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wheels-${{ matrix.python }}-${{ matrix.target.id }} path: target/wheels diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45b44045..e57c42f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -201,7 +201,7 @@ jobs: ls -lhaGiR target/wheels/*.whl - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wheels-${{ matrix.python }}-${{ matrix.target.id }} path: target/wheels From 0ec94966caeefa45aa60a72befe73767a81f6845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Tue, 9 Sep 2025 18:16:54 +0200 Subject: [PATCH 3/7] chore(deps): bump actions/checkout from v2 to v5.0.0 --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c26e6ad3..9f1ce80d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v5.0.0 - name: Install dependencies if: matrix.target.id == 'linux-amd64' @@ -184,7 +184,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v5.0.0 - name: Download the Artifacts uses: actions/download-artifact@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e57c42f3..2baad445 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,7 +54,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v5.0.0 - name: Install dependencies if: matrix.target.id == 'linux-amd64' @@ -218,7 +218,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v5.0.0 - name: Download the Artifacts uses: actions/download-artifact@v2 From b2f5e3d35067490eacfcdb8394d03e5622ea6ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Tue, 9 Sep 2025 18:17:31 +0200 Subject: [PATCH 4/7] chore(deps): bump Swatinem/rust-cache from v1 to v2.8.0 --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f1ce80d..34c89524 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,7 +61,7 @@ jobs: override: true target: ${{ matrix.target.target-name }} - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2.8.0 - name: Set current Python version shell: bash @@ -226,7 +226,7 @@ jobs: pyenv install --skip-existing "$(cat .python-version)" # Caching is disabled because it interferes with artifact creation - #- uses: Swatinem/rust-cache@v1 + #- uses: Swatinem/rust-cache@v2.8.0 - name: Set up utilities shell: bash diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2baad445..9b7ae1d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,7 +72,7 @@ jobs: target: ${{ matrix.target.target-name }} # Caching is disabled because it interferes with artifact creation - # - uses: Swatinem/rust-cache@v2 + # - uses: Swatinem/rust-cache@v2.8.0 # with: # shared-key: "rust-cache" @@ -253,7 +253,7 @@ jobs: pyenv install --skip-existing "$(cat .python-version)" # Caching is disabled because it interferes with artifact creation - #- uses: Swatinem/rust-cache@v1 + #- uses: Swatinem/rust-cache@v2.8.0 - name: Set up just shell: bash From 46b0df998a42b534b8dc527ee34f8ab840f007ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Tue, 9 Sep 2025 18:17:49 +0200 Subject: [PATCH 5/7] chore(deps): bump actions/download-artifact from v2 to v4.6.2 --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 34c89524..e52be81a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -187,7 +187,7 @@ jobs: uses: actions/checkout@v5.0.0 - name: Download the Artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4.6.2 with: path: artifacts diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b7ae1d9..d6c74afd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -221,7 +221,7 @@ jobs: uses: actions/checkout@v5.0.0 - name: Download the Artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4.6.2 with: path: artifacts From 4f658262f02b47820a5d8ee6fbec2914eda6e255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Tue, 9 Sep 2025 18:18:00 +0200 Subject: [PATCH 6/7] chore(deps): bump actions/setup-python from v4 to v6.0.0 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d6c74afd..8e964fa8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -83,7 +83,7 @@ jobs: - name: Set up Python ${{ matrix.python }} (amd64) if: matrix.target.id != 'linux-aarch64' - uses: actions/setup-python@v4 + uses: actions/setup-python@v6.0.0 with: python-version: ${{ matrix.python }} architecture: x64 @@ -237,7 +237,7 @@ jobs: - name: Set up Python ${{ matrix.python }} (amd64) if: matrix.target.id != 'linux-aarch64' - uses: actions/setup-python@v4 + uses: actions/setup-python@v6.0.0 with: python-version: 3.11 From d9c0e7af3f1c20bc4c9a94cbf488473d1d0cf7c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Tue, 9 Sep 2025 18:19:21 +0200 Subject: [PATCH 7/7] chore(deps): bump actions/upload-artifact from v3 to v4.6.2 --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e52be81a..74407926 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -168,7 +168,7 @@ jobs: ls -lhaGiR target/wheels/*.whl - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.6.2 with: name: wheels-${{ matrix.python }}-${{ matrix.target.id }} path: target/wheels diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8e964fa8..867a7f90 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -201,7 +201,7 @@ jobs: ls -lhaGiR target/wheels/*.whl - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.6.2 with: name: wheels-${{ matrix.python }}-${{ matrix.target.id }} path: target/wheels