Skip to content

Commit 1abe107

Browse files
authored
Add support for Python 3.11 (#58)
* Add builds for Python 3.11 * Update cython * Regenerate _openjpeg.c from _openjpeg.pyx * Update numpy version for python 3.11
1 parent 09368f6 commit 1abe107

File tree

6 files changed

+549
-320
lines changed

6 files changed

+549
-320
lines changed

.github/workflows/pytest-builds.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ['3.7', '3.8', '3.9', '3.10']
15+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
1616
arch: ['x64', 'x86']
1717

1818
steps:
@@ -48,7 +48,7 @@ jobs:
4848
strategy:
4949
fail-fast: false
5050
matrix:
51-
python-version: ['3.7', '3.8', '3.9', '3.10']
51+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
5252

5353
steps:
5454
- uses: actions/checkout@v3
@@ -82,7 +82,7 @@ jobs:
8282
strategy:
8383
fail-fast: false
8484
matrix:
85-
python-version: ['3.7', '3.8', '3.9', '3.10']
85+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
8686

8787
steps:
8888
- uses: actions/checkout@v3

.github/workflows/release-wheels.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/setup-python@v4
1818
name: Install Python
1919
with:
20-
python-version: '3.10'
20+
python-version: '3.11'
2121

2222
- name: Build sdist
2323
run: |
@@ -50,6 +50,9 @@ jobs:
5050
- os: windows-latest
5151
python: 310
5252
platform_id: win32
53+
- os: windows-latest
54+
python: 311
55+
platform_id: win32
5356

5457
# Windows 64 bit
5558
- os: windows-latest
@@ -64,6 +67,9 @@ jobs:
6467
- os: windows-latest
6568
python: 310
6669
platform_id: win_amd64
70+
- os: windows-latest
71+
python: 311
72+
platform_id: win_amd64
6773

6874
# Linux 64 bit manylinux2010
6975
- os: ubuntu-latest
@@ -96,6 +102,10 @@ jobs:
96102
python: 310
97103
platform_id: manylinux_x86_64
98104
manylinux_image: manylinux2014
105+
- os: ubuntu-latest
106+
python: 311
107+
platform_id: manylinux_x86_64
108+
manylinux_image: manylinux2014
99109

100110
# Linux aarch64
101111
- os: ubuntu-latest
@@ -110,6 +120,9 @@ jobs:
110120
- os: ubuntu-latest
111121
python: 310
112122
platform_id: manylinux_aarch64
123+
- os: ubuntu-latest
124+
python: 311
125+
platform_id: manylinux_aarch64
113126

114127
# MacOS x86_64
115128
- os: macos-latest
@@ -124,6 +137,9 @@ jobs:
124137
- os: macos-latest
125138
python: 310
126139
platform_id: macosx_x86_64
140+
- os: macos-latest
141+
python: 311
142+
platform_id: macosx_x86_64
127143

128144
# MacOS arm64
129145
- os: macos-latest
@@ -135,6 +151,9 @@ jobs:
135151
- os: macos-latest
136152
python: 310
137153
platform_id: macosx_arm64
154+
- os: macos-latest
155+
python: 311
156+
platform_id: macosx_arm64
138157

139158
steps:
140159
- uses: actions/checkout@v3
@@ -183,7 +202,7 @@ jobs:
183202
strategy:
184203
fail-fast: false
185204
matrix:
186-
python-version: ['3.7', '3.8', '3.9', '3.10']
205+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
187206

188207
steps:
189208
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)