Skip to content

Commit 025e9da

Browse files
feat: python 3.12 support! (#50)
1 parent 3a5246b commit 025e9da

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
uses: actions/setup-python@v2
6363
if: ${{ matrix.os == 'windows-latest' }}
6464
with:
65-
python-version: '3.11'
65+
python-version: '3.12'
6666

6767
- name: Install NumPy
6868
run: python3 -m pip install numpy

ext/pip.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { kw, python, PythonError } from "../mod.ts";
22

3-
import { join } from "https://deno.land/std@0.198.0/path/mod.ts";
4-
import { ensureDir } from "https://deno.land/std@0.198.0/fs/mod.ts";
5-
import { green, yellow } from "https://deno.land/std@0.198.0/fmt/colors.ts";
3+
import { join } from "https://deno.land/std@0.203.0/path/mod.ts";
4+
import { ensureDir } from "https://deno.land/std@0.203.0/fs/mod.ts";
5+
import { green, yellow } from "https://deno.land/std@0.203.0/fmt/colors.ts";
66

7-
import type { CacheLocation } from "https://deno.land/x/plug@1.0.2/types.ts";
8-
import { ensureCacheLocation } from "https://deno.land/x/plug@1.0.2/download.ts";
9-
import { hash } from "https://deno.land/x/plug@1.0.2/util.ts";
7+
import type { CacheLocation } from "https://deno.land/x/plug@1.0.3/types.ts";
8+
import { ensureCacheLocation } from "https://deno.land/x/plug@1.0.3/download.ts";
9+
import { hash } from "https://deno.land/x/plug@1.0.3/util.ts";
1010

1111
const sys = python.import("sys");
1212
const runpy = python.import("runpy");

src/ffi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { postSetup } from "./util.ts";
33

44
const searchPath: string[] = [];
55

6-
const SUPPORTED_VERSIONS = [[3, 11], [3, 10], [3, 9], [3, 8]];
6+
const SUPPORTED_VERSIONS = [[3, 12], [3, 11], [3, 10], [3, 9], [3, 8]];
77
const DENO_PYTHON_PATH = Deno.env.get("DENO_PYTHON_PATH");
88

99
if (DENO_PYTHON_PATH) {

0 commit comments

Comments
 (0)