From f6adfd631ae9a6129badc9ea8c19ec738dddb746 Mon Sep 17 00:00:00 2001 From: Joshua Timmons Date: Tue, 2 Jun 2026 19:06:10 -0400 Subject: [PATCH] ci: fix Actions deprecation/notice warnings; bump dev version to 0.10.1 - run-on-arch-action@v2 -> @v3: v2 runs on the deprecated Node.js 20; v3 runs on node24 with the same inputs (the emulated aarch64 test step). - setup-python 3.8 -> 3.13 on the build jobs: the 3.8 framework Python ships an ancient pip (21.1.1) that emitted the "new release of pip" notice and the "Cache entry deserialization failed" warnings. We build abi3 wheels, so the build Python version doesn't change the 3.8+ wheel floor (still cp38-abi3). - windows-latest -> windows-2025: removes the runner-redirect notice and pins the image explicitly. - Bump Cargo.toml dev-default version to 0.10.1 (the release version still comes from the git tag at build time). pyo3 0.24 (already on main) verified at runtime: cp38-abi3 wheel builds and scripts/smoke_test.py passes unchanged. --- .github/workflows/release.yml | 15 +++++++-------- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d20bef5..adc7e83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 with: - python-version: "3.8" + python-version: "3.13" - name: Set version from release tag if: github.event_name == 'release' shell: bash @@ -74,11 +74,10 @@ jobs: pytest - name: pytest if: ${{ !startsWith(matrix.platform.target, 'x86') && matrix.platform.target != 'ppc64' }} - uses: uraimo/run-on-arch-action@v2 + uses: uraimo/run-on-arch-action@v3 with: arch: ${{ matrix.platform.target }} - # run-on-arch-action@v2 ships no ubuntu24.04 image; ubuntu22.04 has - # the aarch64 image needed to run the emulated test step. + # ubuntu22.04 provides the aarch64 image used to run the emulated tests. distro: ubuntu22.04 githubToken: ${{ github.token }} install: | @@ -107,7 +106,7 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 with: - python-version: "3.8" + python-version: "3.13" - name: Set version from release tag if: github.event_name == 'release' shell: bash @@ -143,7 +142,7 @@ jobs: ' - name: pytest if: ${{ !startsWith(matrix.platform.target, 'x86') }} - uses: uraimo/run-on-arch-action@v2 + uses: uraimo/run-on-arch-action@v3 with: arch: ${{ matrix.platform.target }} distro: alpine_latest @@ -167,7 +166,7 @@ jobs: # 32-bit CPython 3.13, and it's a legacy target with ~no users. Those # install from the sdist. platform: - - runner: windows-latest + - runner: windows-2025 target: x64 python_arch: x64 - runner: windows-11-arm @@ -224,7 +223,7 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 with: - python-version: "3.8" + python-version: "3.13" - name: Set version from release tag if: github.event_name == 'release' shell: bash diff --git a/Cargo.lock b/Cargo.lock index f49cd0f..bd8a79d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -196,7 +196,7 @@ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "seqfold" -version = "0.10.0" +version = "0.10.1" dependencies = [ "pyo3", "rayon", diff --git a/Cargo.toml b/Cargo.toml index 4c39669..822ccf8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "seqfold" # Dev default only. Releases take the version from the GitHub Release tag, which # the CI injects here before building (see DEVELOPMENT.md). pyproject.toml reads # this via `dynamic = ["version"]`. -version = "0.10.0" +version = "0.10.1" edition = "2021" description = "Predict the minimum free energy structure of nucleic acids" license = "MIT"