Skip to content

Commit 3bf3103

Browse files
authored
Add support for Python 3.11 (#656)
1 parent 71b8582 commit 3bf3103

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.github/workflows/create.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
if: matrix.os == 'macos-latest' || matrix.os == 'windows-latest' || matrix.os == 'ubuntu-latest'
4141
uses: actions/setup-python@v4
4242
with:
43-
python-version: '3.10'
43+
python-version: '3.11'
4444

4545
- name: Setup java
4646
# There's no need to setup java on ubuntu-latest, as build is done into a manylinux
@@ -57,7 +57,7 @@ jobs:
5757
env:
5858
CIBW_ARCHS: '${{ matrix.cibw_archs }}'
5959
run: |
60-
python -m pip install cibuildwheel==2.6.0
60+
python -m pip install cibuildwheel~=2.12.3
6161
python -m cibuildwheel --output-dir dist
6262
6363
- name: Install cibuildwheel & build wheels (Linux, macOS Intel)
@@ -66,8 +66,8 @@ jobs:
6666
CIBW_ARCHS: '${{ matrix.cibw_archs }}'
6767
run: |
6868
source .ci/utils.sh
69-
ensure_python_version 3.10
70-
python -m pip install cibuildwheel==2.6.0
69+
ensure_python_version 3.11
70+
python -m pip install cibuildwheel~=2.12.3
7171
python -m cibuildwheel --output-dir dist
7272
7373
- name: upload wheels
@@ -87,7 +87,7 @@ jobs:
8787
- name: Setup Python
8888
uses: actions/setup-python@v4
8989
with:
90-
python-version: '3.10'
90+
python-version: '3.11'
9191

9292
- name: Build sdist
9393
run: |
@@ -109,7 +109,7 @@ jobs:
109109
strategy:
110110
matrix:
111111
os: ['ubuntu-latest', 'macos-latest', 'windows-latest', 'kivy-ubuntu-arm64']
112-
python: ['3.7', '3.8', '3.9', '3.10', 'pypy3.7', 'pypy3.8', 'pypy3.9']
112+
python: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy3.7', 'pypy3.8', 'pypy3.9']
113113
include:
114114
# We may would like to introduce tests also on windows-latest on x86 (win32 wheels)?
115115
- os: ubuntu-latest

.github/workflows/push-x86.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
- '3.8'
1212
- '3.9'
1313
- '3.10'
14+
- '3.11'
1415
container:
1516
image: i386/python:${{ matrix.python }}-buster
1617
steps:

.github/workflows/push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
- '3.8'
1212
- '3.9'
1313
- '3.10'
14+
- '3.11'
1415
- 'pypy-3.7'
1516
- 'pypy-3.8'
1617
- 'pypy-3.9'

setup_sdist.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
'Programming Language :: Python :: 3.8',
5353
'Programming Language :: Python :: 3.9',
5454
'Programming Language :: Python :: 3.10',
55+
'Programming Language :: Python :: 3.11',
5556
'Topic :: Software Development :: Libraries :: Application Frameworks'
5657
]
5758
}

0 commit comments

Comments
 (0)