Skip to content

Commit

Permalink
Add support for Python 3.11 (#58)
Browse files Browse the repository at this point in the history
* Add builds for Python 3.11
* Update cython
* Regenerate _openjpeg.c from _openjpeg.pyx
* Update numpy version for python 3.11
  • Loading branch information
jmsmkn authored Feb 19, 2023
1 parent 09368f6 commit 1abe107
Show file tree
Hide file tree
Showing 6 changed files with 549 additions and 320 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pytest-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
arch: ['x64', 'x86']

steps:
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
Expand Down
23 changes: 21 additions & 2 deletions .github/workflows/release-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.10'
python-version: '3.11'

- name: Build sdist
run: |
Expand Down Expand Up @@ -50,6 +50,9 @@ jobs:
- os: windows-latest
python: 310
platform_id: win32
- os: windows-latest
python: 311
platform_id: win32

# Windows 64 bit
- os: windows-latest
Expand All @@ -64,6 +67,9 @@ jobs:
- os: windows-latest
python: 310
platform_id: win_amd64
- os: windows-latest
python: 311
platform_id: win_amd64

# Linux 64 bit manylinux2010
- os: ubuntu-latest
Expand Down Expand Up @@ -96,6 +102,10 @@ jobs:
python: 310
platform_id: manylinux_x86_64
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 311
platform_id: manylinux_x86_64
manylinux_image: manylinux2014

# Linux aarch64
- os: ubuntu-latest
Expand All @@ -110,6 +120,9 @@ jobs:
- os: ubuntu-latest
python: 310
platform_id: manylinux_aarch64
- os: ubuntu-latest
python: 311
platform_id: manylinux_aarch64

# MacOS x86_64
- os: macos-latest
Expand All @@ -124,6 +137,9 @@ jobs:
- os: macos-latest
python: 310
platform_id: macosx_x86_64
- os: macos-latest
python: 311
platform_id: macosx_x86_64

# MacOS arm64
- os: macos-latest
Expand All @@ -135,6 +151,9 @@ jobs:
- os: macos-latest
python: 310
platform_id: macosx_arm64
- os: macos-latest
python: 311
platform_id: macosx_arm64

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -183,7 +202,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down
Loading

0 comments on commit 1abe107

Please sign in to comment.