Skip to content

Commit

Permalink
Add testing with Python 3.11 to CI (#863)
Browse files Browse the repository at this point in the history
* Add Python 3.11 to Workflows

* test with 3.11 as well

* change 3.10 to 3.11

* update gssapi to 1.8.2 in requirements-ci.txt

* update cython in requirements-cython.txt

* Update cython to 0.29.32 ony
  • Loading branch information
wbarnha authored Nov 1, 2022
1 parent 7544add commit 70dea78
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 17 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Build wheels
env:
CIBW_ARCHS_LINUX: ${{matrix.arch}}
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-*
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-* cp311-*
CIBW_SKIP: '*-musllinux*'
CIBW_BEFORE_BUILD_LINUX: pip install -r requirements-cython.txt && yum install -y zlib-devel
# On windows and mac we should have z library preinstalled
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:

strategy:
matrix:
python: ["3.7", "3.8", "3.9", "3.10"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- python: "3.7"
aiokafka_whl: dist/aiokafka-*-cp37-cp37m-macosx_10_9_x86_64.whl
Expand All @@ -126,6 +126,8 @@ jobs:
aiokafka_whl: dist/aiokafka-*-cp39-cp39-macosx_10_9_x86_64.whl
- python: "3.10"
aiokafka_whl: dist/aiokafka-*-cp310-cp310-macosx_10_9_x86_64.whl
- python: "3.11"
aiokafka_whl: dist/aiokafka-*-cp311-cp311-macosx_10_9_x86_64.whl

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -160,7 +162,7 @@ jobs:

strategy:
matrix:
python: ["3.7", "3.8", "3.9", "3.10"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- python: "3.7"
aiokafka_whl: dist/aiokafka-*-cp37-cp37m-manylinux*_x86_64.whl
Expand All @@ -170,6 +172,8 @@ jobs:
aiokafka_whl: dist/aiokafka-*-cp39-cp39-manylinux*_x86_64.whl
- python: "3.10"
aiokafka_whl: dist/aiokafka-*-cp310-cp310-manylinux*_x86_64.whl
- python: "3.11"
aiokafka_whl: dist/aiokafka-*-cp311-cp311-manylinux*_x86_64.whl

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -217,6 +221,8 @@ jobs:
aiokafka_whl: dist/aiokafka-*-cp39-cp39-manylinux*_aarch64.whl
- pyver: cp310-cp310
aiokafka_whl: dist/aiokafka-*-cp310-cp310-manylinux*_aarch64.whl
- pyver: cp311-cp311
aiokafka_whl: dist/aiokafka-*-cp311-cp311-manylinux*_aarch64.whl

steps:
- uses: actions/checkout@v2
Expand Down
27 changes: 15 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ jobs:
strategy:
matrix:
include:
- python: "3.10"
- python: "3.11"
kafka: "2.8.1"
scala: "2.13"

Expand All @@ -229,39 +229,42 @@ jobs:
- python: "3.9"
kafka: "2.8.1"
scala: "2.13"
- python: "3.10"
kafka: "2.8.1"
scala: "2.13"

# Older brokers against latest python version
- python: "3.10"
- python: "3.11"
kafka: "0.9.0.1"
scala: "2.11"
- python: "3.10"
- python: "3.11"
kafka: "0.10.2.1"
scala: "2.11"
- python: "3.10"
- python: "3.11"
kafka: "0.11.0.3"
scala: "2.12"
- python: "3.10"
- python: "3.11"
kafka: "1.1.1"
scala: "2.12"
- python: "3.10"
- python: "3.11"
kafka: "2.1.1"
scala: "2.12"
- python: "3.10"
- python: "3.11"
kafka: "2.2.2"
scala: "2.12"
- python: "3.10"
- python: "3.11"
kafka: "2.3.1"
scala: "2.12"
- python: "3.10"
- python: "3.11"
kafka: "2.4.1"
scala: "2.12"
- python: "3.10"
- python: "3.11"
kafka: "2.5.1"
scala: "2.12"
- python: "3.10"
- python: "3.11"
kafka: "2.6.3"
scala: "2.12"
- python: "3.10"
- python: "3.11"
kafka: "2.7.2"
scala: "2.13"
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion requirements-ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ xxhash==2.0.2
python-snappy==0.6.1
docutils==0.17.1
Pygments==2.10.0
gssapi==1.7.3
gssapi==1.8.2
async-timeout==4.0.1
zstandard==0.16.0
2 changes: 1 addition & 1 deletion requirements-cython.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Cython==0.29.30
Cython==0.29.32
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def read_version():
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"Topic :: System :: Networking",
"Topic :: System :: Distributed Computing",
Expand Down

0 comments on commit 70dea78

Please sign in to comment.