Skip to content

Commit c0b7aaa

Browse files
committed
fix mysql client minimum version in CI
1 parent 1d551b6 commit c0b7aaa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
matrix:
164164
python-version: [ '3.8', '3.12']
165165
mysql-version: ['5.7', 'latest']
166-
mysqlclient-version: ['==1.4.0', '']
166+
mysqlclient-version: ['1.4.3', '']
167167
django-version:
168168
- '3.2' # LTS April 2024
169169
- '4.2' # LTS April 2026
@@ -180,7 +180,7 @@ jobs:
180180
- python-version: '3.12'
181181
mysql-version: '5.7'
182182
- python-version: '3.12'
183-
mysqlclient-version: '==1.4.0'
183+
mysqlclient-version: '1.4.3'
184184

185185
services:
186186
mysql:
@@ -218,7 +218,7 @@ jobs:
218218
poetry run pip install --upgrade pip
219219
poetry install -E all --with mysql
220220
poetry run pip install -U "Django~=${{ matrix.django-version }}"
221-
poetry run pip install -U mysqlclient"${{ matrix.mysqlclient-version }}"
221+
poetry run pip install -U mysqlclient=="${{ matrix.mysqlclient-version }}"
222222
- name: Run Full Unit Tests
223223
env:
224224
MYSQL_VERSION: ${{ matrix.mysql-version }}
@@ -232,7 +232,7 @@ jobs:
232232
strategy:
233233
matrix:
234234
python-version: [ '3.8', '3.12']
235-
mysqlclient-version: ['==1.4.0', '']
235+
mysqlclient-version: ['1.4.3', '']
236236
mariadb-version: ['10.2', 'latest']
237237
mariadb-healthcheck: ["mysqladmin ping", "healthcheck.sh --connect --innodb_initialized"]
238238
django-version:
@@ -251,7 +251,7 @@ jobs:
251251
- python-version: '3.12'
252252
mariadb-version: '10.2'
253253
- python-version: '3.12'
254-
mysqlclient-version: '==1.4.0'
254+
mysqlclient-version: '1.4.3'
255255
- mariadb-version: 'latest'
256256
mariadb-healthcheck: "mysqladmin ping"
257257
- mariadb-version: '10.2'
@@ -293,7 +293,7 @@ jobs:
293293
poetry run pip install --upgrade pip
294294
poetry install -E all --with mysql
295295
poetry run pip install -U "Django~=${{ matrix.django-version }}"
296-
poetry run pip install -U mysqlclient"${{ matrix.mysqlclient-version }}"
296+
poetry run pip install -U mysqlclient=="${{ matrix.mysqlclient-version }}"
297297
- name: Run Full Unit Tests
298298
run: |
299299
poetry run pytest

0 commit comments

Comments
 (0)