Skip to content

Commit a3c581e

Browse files
committed
ci: Add 3.11 builds + parallelize
1 parent eeeb69a commit a3c581e

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66
build:
7-
name: Build on ${{ matrix.os }}
7+
name: ${{ matrix.pyver }} on ${{ matrix.os }}
88
runs-on: ${{ matrix.os }}
99
permissions:
1010
contents: read
1111
strategy:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-20.04, macos-11, windows-2019]
15+
pyver: [cp37, cp38, cp39, cp310, cp311]
1516
version: [2.28.1]
1617
steps:
1718
- uses: actions/checkout@v3
@@ -25,9 +26,9 @@ jobs:
2526
path: dist
2627
if-no-files-found: error
2728
- name: Build and test wheels
28-
uses: pypa/cibuildwheel@v2.8.1
29+
uses: pypa/cibuildwheel@v2.9.0
2930
env:
30-
CIBW_BUILD: cp3{7,8,9,10}-*
31+
CIBW_BUILD: ${{ matrix.pyver }}-*
3132
CIBW_ENVIRONMENT: VERSION=${{ matrix.version }}
3233
CIBW_ENVIRONMENT_WINDOWS: >
3334
VERSION=${{ matrix.version }}

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[next]
2+
3+
* Add Python 3.11 build.
4+
15
[2.4.0] - 2022-08-07
26

37
* typing: Complete typing.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Installation
6767
============
6868

6969
The bindings are tested with mbedTLS 2.28.1 for Python 3.7,
70-
3.8, 3.9, and 3.10 on Linux, macOS, and Windows.
70+
3.8, 3.9, 3.10, and 3.11 on Linux, macOS, and Windows.
7171

7272
`manylinux`_ wheels are available for 64-bit Linux systems. Install
7373
with ``pip install python-mbedtls``.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 79
3-
target-version = ['py37', 'py38', 'py39', 'py310']
3+
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
44

55
[tool.cibuildwheel]
66
skip = "*-manylinux_i686 *-musllinux_* *-win32"

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ def readme():
206206
"Programming Language :: Python :: 3.8",
207207
"Programming Language :: Python :: 3.9",
208208
"Programming Language :: Python :: 3.10",
209+
"Programming Language :: Python :: 3.11",
209210
"License :: OSI Approved :: MIT License",
210211
"Topic :: Security :: Cryptography",
211212
],

0 commit comments

Comments
 (0)