Skip to content

Commit

Permalink
Add Python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed Oct 12, 2023
1 parent eb6476e commit 8e3a5fc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
types: [published]

env:
MATURIN_VERSION: 1.2.3
PY_ALL: 3.8 3.9 3.10 3.11 pypy3.8 pypy3.9 pypy3.10
MATURIN_VERSION: 1.3.0
PY_ALL: 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 pypy3.10

jobs:
sdist:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
- os: ubuntu
platform: linux
- os: macos
interpreter: 3.8 3.9 3.10 3.11 pypy3.9 pypy3.10
interpreter: 3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10
- os: ubuntu
platform: linux
target: aarch64
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
wheel-win:
runs-on: windows-latest
env:
PY_ALL: 3.8 3.9 3.10 3.11 C:\hostedtoolcache\windows\PyPy\3.9.17\x86\python3.exe C:\hostedtoolcache\windows\PyPy\3.10.12\x86\python3.exe
PY_ALL: 3.8 3.9 3.10 3.11 3.12 C:\hostedtoolcache\windows\PyPy\3.9.17\x86\python3.exe C:\hostedtoolcache\windows\PyPy\3.10.12\x86\python3.exe
steps:
- uses: actions/checkout@v3
- uses: pyo3/maturin-action@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ on:
pull_request:

env:
MATURIN_VERSION: 1.2.3
MATURIN_VERSION: 1.3.0

jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
Expand All @@ -39,7 +39,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
Expand All @@ -62,7 +62,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python",
Expand Down Expand Up @@ -44,7 +45,7 @@ Funding = "https://github.com/sponsors/gi0baro"
Source = "https://github.com/emmett-framework/crypto"

[build-system]
requires = ["maturin>=1.1.0,<1.3.0"]
requires = ["maturin>=1.1.0,<1.4.0"]
build-backend = "maturin"

[tool.maturin]
Expand Down

0 comments on commit 8e3a5fc

Please sign in to comment.