Skip to content

Commit 6fdf8c0

Browse files
authored
Support for Python 3.12 and update GH actions (#466)
* support Python 3.12 * bump github actions
1 parent ff07682 commit 6fdf8c0

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

.github/workflows/explosionbot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
env:
1616
GITHUB_CONTEXT: ${{ toJson(github) }}
1717
run: echo "$GITHUB_CONTEXT"
18-
- uses: actions/checkout@v3
19-
- uses: actions/setup-python@v4
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-python@v5
2020
- name: Install and run explosion-bot
2121
run: |
2222
pip install git+https://${{ secrets.EXPLOSIONBOT_TOKEN }}@github.com/explosion/explosion-bot

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: true
2323
matrix:
2424
os: [ubuntu-latest, windows-latest, macos-latest]
25-
python_version: ["3.11"]
25+
python_version: ["3.12"]
2626
include:
2727
- os: windows-latest
2828
python_version: "3.7"
@@ -32,14 +32,16 @@ jobs:
3232
python_version: "3.9"
3333
- os: windows-latest
3434
python_version: "3.10"
35+
- os: macos-latest
36+
python_version: "3.11"
3537

3638
runs-on: ${{ matrix.os }}
3739

3840
steps:
39-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4042

4143
- name: Set up Python
42-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v5
4345
with:
4446
python-version: ${{ matrix.python_version }}
4547

.github/workflows/test_external.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
if: "github.repository_owner == 'explosion' && (contains(github.event.pull_request.labels.*.name, 'Test external') || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')"
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- name: Set up Python 3.9
26-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v5
2727
with:
2828
python-version: 3.9
2929
cache: "pip"

.github/workflows/validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
run:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010
- name: Set up Python 3.9
11-
uses: actions/setup-python@v4
11+
uses: actions/setup-python@v5
1212
with:
1313
python-version: 3.9
1414
cache: "pip" # caching pip dependencies

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers =
2121
Programming Language :: Python :: 3.9
2222
Programming Language :: Python :: 3.10
2323
Programming Language :: Python :: 3.11
24+
Programming Language :: Python :: 3.12
2425
Topic :: Scientific/Engineering
2526
project_urls =
2627
Release notes = https://github.com/explosion/spacy-llm/releases

0 commit comments

Comments
 (0)