Skip to content

Commit

Permalink
feat: Add support for python 3.12 (#131)
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Peschke <[email protected]>
  • Loading branch information
lukapeschke authored Nov 14, 2023
1 parent 1bc61ae commit 7f0bbce
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python python3.10
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: build (fast)
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: build (release)
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: build (release)
Expand Down Expand Up @@ -60,6 +60,11 @@ jobs:
with:
name: "wheels-linux-python-3.11"
path: wheels-linux
- name: Download Linux 3.12 wheels
uses: actions/download-artifact@v3
with:
name: "wheels-linux-python-3.12"
path: wheels-linux

- name: Download MacOS 3.10 wheels
uses: actions/download-artifact@v3
Expand All @@ -71,6 +76,11 @@ jobs:
with:
name: "wheels-macos-python-3.11"
path: wheels-macos
- name: Download MacOS 3.12 wheels
uses: actions/download-artifact@v3
with:
name: "wheels-macos-python-3.12"
path: wheels-macos

- name: Publish to PyPI
uses: messense/maturin-action@v1
Expand Down

0 comments on commit 7f0bbce

Please sign in to comment.