Skip to content

Commit 57136a3

Browse files
authored
Build wheel for python 3.12 and drop unsupported Pypy 3.7 and Pypy 3.9 (#85)
1 parent ac6235b commit 57136a3

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
- uses: actions/checkout@v2
2323
- uses: actions/setup-python@v4
2424
with:
25-
python-version: '3.11'
25+
python-version: '3.12'
2626
architecture: 'x64'
2727
- name: Build wheels
2828
uses: messense/maturin-action@v1
2929
with:
3030
target: x86_64
3131
manylinux: auto
32-
args: --release --out dist/ --interpreter python3.11
32+
args: --release --out dist/ --interpreter python3.12
3333
- name: Install built wheel
3434
run: |
3535
pip install canonicaljson-rs --no-index --find-links dist/ --force-reinstall

.github/workflows/build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,67 +22,67 @@ jobs:
2222
target: x86_64
2323
manylinux: auto
2424
python-architecture: x64
25-
interpreter: 3.7 3.8 3.9 3.10 3.11
25+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
2626
- os: windows
2727
ls: dir
2828
target: i686
2929
manylinux: auto
3030
python-architecture: x86
31-
interpreter: 3.7 3.8 3.9 3.10 3.11
31+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
3232
- os: macos
3333
target: x86_64
3434
manylinux: auto
3535
python-architecture: x64
36-
interpreter: 3.7 3.8 3.9 3.10 3.11 pypy3.7 pypy3.8 pypy3.9
36+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10
3737
- os: macos
3838
target: aarch64
3939
manylinux: auto
4040
python-architecture: x64
41-
interpreter: 3.7 3.8 3.9 3.10 3.11
41+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
4242
# Build all manylinux targets on 2_24
4343
# https://github.com/pypa/manylinux#readme
4444
# https://github.com/PyO3/maturin-action/blob/135c746/src/index.ts#L33
4545
- os: ubuntu
4646
target: x86_64
4747
manylinux: 2_24
4848
python-architecture: x64
49-
interpreter: 3.7 3.8 3.9 3.10 3.11 pypy3.7 pypy3.8 pypy3.9
49+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10
5050
- os: ubuntu
5151
target: aarch64
5252
manylinux: 2_24
5353
python-architecture: x64
54-
interpreter: 3.7 3.8 3.9 3.10 3.11 pypy3.7 pypy3.8 pypy3.9
54+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10
5555
- os: ubuntu
5656
target: i686
5757
manylinux: 2_24
5858
python-architecture: x64
59-
interpreter: 3.7 3.8 3.9 3.10 3.11 pypy3.7 pypy3.8 pypy3.9
59+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10
6060
- os: ubuntu
6161
target: armv7
6262
manylinux: 2_24
6363
python-architecture: x64
64-
interpreter: 3.7 3.8 3.9 3.10 3.11
64+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
6565
- os: ubuntu
6666
target: ppc64le
6767
manylinux: 2_24
6868
python-architecture: x64
69-
interpreter: 3.7 3.8 3.9 3.10 3.11
69+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
7070
- os: ubuntu
7171
target: s390x
7272
manylinux: 2_24
7373
python-architecture: x64
74-
interpreter: 3.7 3.8 3.9 3.10 3.11
74+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
7575
# musllinux - https://musl.libc.org/about.html
7676
- os: ubuntu
7777
target: x86_64
7878
manylinux: musllinux_1_1 # /!\ value used in steps conditions below.
7979
python-architecture: x64
80-
interpreter: 3.7 3.8 3.9 3.10 3.11 pypy3.7 pypy3.8 pypy3.9
80+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10
8181
- os: ubuntu
8282
target: aarch64
8383
manylinux: musllinux_1_1
8484
python-architecture: x64
85-
interpreter: 3.7 3.8 3.9 3.10 3.11 pypy3.7 pypy3.8 pypy3.9
85+
interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10
8686

8787
runs-on: ${{ matrix.os }}-latest
8888
steps:

0 commit comments

Comments
 (0)