Skip to content

Commit e762321

Browse files
authored
Test Kafka 0.8.2.2 using Python 3.10 in the meantime (dpkp#161)
* Test Kafka 0.8.2.2 using Python 3.11 in the meantime * Override PYTHON_LATEST conditionally in python-package.yml * Update python-package.yml * add python annotation to kafka version test matrix * Update python-package.yml * try python 3.10
1 parent 38e159a commit e762321

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
KAFKA_VERSION: ${{ env.KAFKA_LATEST }}
111111

112112
test-kafka:
113-
name: Tests for Kafka ${{ matrix.kafka-version }}
113+
name: Tests for Kafka ${{ matrix.kafka-version }} (Python ${{ matrix.python-version }})
114114
needs:
115115
- build-sdist
116116
runs-on: ubuntu-latest
@@ -127,10 +127,17 @@ jobs:
127127
- "2.4.0"
128128
- "2.5.0"
129129
- "2.6.0"
130+
python-version: ['3.12']
130131
experimental: [false]
131132
include:
132133
- kafka-version: '0.8.2.2'
133134
experimental: true
135+
python-version: "3.12"
136+
- kafka-version: '0.8.2.2'
137+
experimental: false
138+
python-version: "3.10"
139+
env:
140+
PYTHON_LATEST: ${{ matrix.python-version }}
134141
continue-on-error: ${{ matrix.experimental }}
135142
steps:
136143
- name: Checkout the source code
@@ -145,7 +152,7 @@ jobs:
145152
- name: Set up Python
146153
uses: actions/setup-python@v5
147154
with:
148-
python-version: ${{ env.PYTHON_LATEST }}
155+
python-version: ${{ matrix.python-version }}
149156
cache: pip
150157
cache-dependency-path: |
151158
requirements-dev.txt

0 commit comments

Comments
 (0)