From f3c2d10bae92cfca383444345cfcdb7968ff5977 Mon Sep 17 00:00:00 2001 From: ijl Date: Thu, 24 Oct 2024 13:13:43 +0000 Subject: [PATCH] cargo update, initial_delay, python3.14 CI --- .github/workflows/artifact.yaml | 16 +++++++++------- Cargo.lock | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/.github/workflows/artifact.yaml b/.github/workflows/artifact.yaml index dcce4e2e..df48762d 100644 --- a/.github/workflows/artifact.yaml +++ b/.github/workflows/artifact.yaml @@ -76,11 +76,12 @@ jobs: }, ] python: [ - { interpreter: 'python3.13', package: 'python3.13' }, - { interpreter: 'python3.12', package: 'python3.12' }, - { interpreter: 'python3.11', package: 'python3.11' }, - { interpreter: 'python3.10', package: 'python3.10' }, - { interpreter: 'python3.9', package: 'python3.9' }, + { interpreter: 'python3.14', package: 'python3.14', publish: false }, + { interpreter: 'python3.13', package: 'python3.13', publish: true }, + { interpreter: 'python3.12', package: 'python3.12', publish: true }, + { interpreter: 'python3.11', package: 'python3.11', publish: true }, + { interpreter: 'python3.10', package: 'python3.10', publish: true }, + { interpreter: 'python3.9', package: 'python3.9', publish: true }, ] env: PYTHON: "${{ matrix.python.interpreter }}" @@ -101,10 +102,11 @@ jobs: - uses: actions/checkout@v4 - name: setup-qemu-container - uses: sandervocke/setup-qemu-container@v1 + uses: sandervocke/setup-qemu-container@v1.2.0 with: container: registry.fedoraproject.org/fedora:42 arch: ${{ matrix.arch.tag }} + initial_delay: 2s podman_args: "-v .:/orjson -v /tmp:/tmp --workdir /orjson" - name: setup-shell-wrapper @@ -141,7 +143,7 @@ jobs: cp ${CARGO_TARGET_DIR}/wheels/orjson*.whl dist - name: Store wheels - if: "startsWith(github.ref, 'refs/tags/')" + if: "startsWith(github.ref, 'refs/tags/') && matrix.python.publish == true" uses: actions/upload-artifact@v4 with: name: orjson_manylinux_2_17_amd64_${{ matrix.python.interpreter }} diff --git a/Cargo.lock b/Cargo.lock index 87442287..01c440e9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -70,9 +70,9 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "encoding_rs" -version = "0.8.34" +version = "0.8.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" +checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" dependencies = [ "cfg-if", ] @@ -172,9 +172,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.88" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9" +checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" dependencies = [ "unicode-ident", ] @@ -221,18 +221,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.211" +version = "1.0.213" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ac55e59090389fb9f0dd9e0f3c09615afed1d19094284d0b200441f13550793" +checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.211" +version = "1.0.213" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54be4f245ce16bc58d57ef2716271d0d4519e0f6defa147f6e081005bcb278ff" +checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5" dependencies = [ "proc-macro2", "quote", @@ -277,9 +277,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "syn" -version = "2.0.82" +version = "2.0.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021" +checksum = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56" dependencies = [ "proc-macro2", "quote",