Skip to content

Commit

Permalink
Add support for Python 3.11 (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 authored May 9, 2023
1 parent 71b8582 commit 3bf3103
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: matrix.os == 'macos-latest' || matrix.os == 'windows-latest' || matrix.os == 'ubuntu-latest'
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'

- name: Setup java
# There's no need to setup java on ubuntu-latest, as build is done into a manylinux
Expand All @@ -57,7 +57,7 @@ jobs:
env:
CIBW_ARCHS: '${{ matrix.cibw_archs }}'
run: |
python -m pip install cibuildwheel==2.6.0
python -m pip install cibuildwheel~=2.12.3
python -m cibuildwheel --output-dir dist
- name: Install cibuildwheel & build wheels (Linux, macOS Intel)
Expand All @@ -66,8 +66,8 @@ jobs:
CIBW_ARCHS: '${{ matrix.cibw_archs }}'
run: |
source .ci/utils.sh
ensure_python_version 3.10
python -m pip install cibuildwheel==2.6.0
ensure_python_version 3.11
python -m pip install cibuildwheel~=2.12.3
python -m cibuildwheel --output-dir dist
- name: upload wheels
Expand All @@ -87,7 +87,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'

- name: Build sdist
run: |
Expand All @@ -109,7 +109,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest', 'kivy-ubuntu-arm64']
python: ['3.7', '3.8', '3.9', '3.10', 'pypy3.7', 'pypy3.8', 'pypy3.9']
python: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy3.7', 'pypy3.8', 'pypy3.9']
include:
# We may would like to introduce tests also on windows-latest on x86 (win32 wheels)?
- os: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/push-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
container:
image: i386/python:${{ matrix.python }}-buster
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- 'pypy-3.7'
- 'pypy-3.8'
- 'pypy-3.9'
Expand Down
1 change: 1 addition & 0 deletions setup_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Libraries :: Application Frameworks'
]
}
Expand Down

0 comments on commit 3bf3103

Please sign in to comment.