From df70b032775cfe40365cbf3cfd32eea8507e2690 Mon Sep 17 00:00:00 2001 From: Bedis Nbiba Date: Sun, 26 Jan 2025 17:50:52 +0100 Subject: [PATCH] feat: support python 3.13 (#77) --- .github/workflows/checks.yml | 2 +- src/ffi.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 9bdb59d..c65a205 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -62,7 +62,7 @@ jobs: uses: actions/setup-python@v2 if: ${{ matrix.os == 'windows-latest' }} with: - python-version: '3.12' + python-version: '3.13' - name: Install NumPy if: ${{ matrix.os != 'macos-latest' }} diff --git a/src/ffi.ts b/src/ffi.ts index b4367cf..f7fc70c 100644 --- a/src/ffi.ts +++ b/src/ffi.ts @@ -3,7 +3,7 @@ import { postSetup } from "./util.ts"; const searchPath: string[] = []; -const SUPPORTED_VERSIONS = [[3, 12], [3, 11], [3, 10], [3, 9], [3, 8]]; +const SUPPORTED_VERSIONS = [[3, 13], [3, 12], [3, 11], [3, 10], [3, 9], [3, 8]]; const DENO_PYTHON_PATH = Deno.env.get("DENO_PYTHON_PATH"); if (DENO_PYTHON_PATH) {