From ffce77b13ddb883a5df480fb805611df756061c8 Mon Sep 17 00:00:00 2001 From: Mike Hunhoff Date: Mon, 24 Nov 2025 19:53:39 -0700 Subject: [PATCH] ci: deprecate macos-13 runner and use Python v3.13 for testing (#2777) --- .github/workflows/build.yml | 4 ++-- .github/workflows/tests.yml | 18 ++++++++---------- CHANGELOG.md | 2 ++ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d12318ee..4a0da8c4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,8 +46,8 @@ jobs: # artifact_name: capa.exe # asset_name: windows-arm64 # python_version: '3.12' - - os: macos-13 - # use older macOS for assumed better portability + - os: macos-15-intel + # macos-15-intel is the lowest native intel build artifact_name: capa asset_name: macos python_version: '3.10' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c0bf6b5f..4c828152 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,10 +42,10 @@ jobs: - name: Checkout capa uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 # use latest available python to take advantage of best performance - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 with: - python-version: "3.12" + python-version: "3.13" - name: Install dependencies run: | pip install -r requirements.txt @@ -70,10 +70,10 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: submodules: recursive - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 with: - python-version: "3.12" + python-version: "3.13" - name: Install capa run: | pip install -r requirements.txt @@ -88,13 +88,11 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, windows-2022, macos-13] + os: [ubuntu-22.04, ubuntu-22.04-arm, windows-2022, macos-15-intel, macos-14] # across all operating systems - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.13"] include: # on Ubuntu run these as well - - os: ubuntu-22.04 - python-version: "3.10" - os: ubuntu-22.04 python-version: "3.11" - os: ubuntu-22.04 @@ -131,7 +129,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.13"] steps: - name: Checkout capa with submodules # do only run if BN_SERIAL is available, have to do this in every step, see https://github.com/orgs/community/discussions/26726#discussioncomment-3253118 @@ -173,7 +171,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.13"] java-version: ["17"] ghidra-version: ["11.0.1"] public-version: ["PUBLIC_20240130"] # for ghidra releases diff --git a/CHANGELOG.md b/CHANGELOG.md index e44d3a8a..10a7f9c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ ### Development +- ci: deprecate macos-13 runner and use Python v3.13 for testing @mike-hunhoff #2777 + ### Raw diffs - [capa v9.3.1...master](https://github.com/mandiant/capa/compare/v9.3.1...master) - [capa-rules v9.3.1...master](https://github.com/mandiant/capa-rules/compare/v9.3.1...master)