Skip to content

Update MySQL and MariaDB to supported versions - #1032

Merged
Nothing4You merged 3 commits into
aio-libs:mainfrom
Nothing4You:bump-db-versions-in-tests
Sep 21, 2025
Merged

Nothing4You merged 3 commits into
aio-libs:mainfrom
Nothing4You:bump-db-versions-in-tests

Conversation

@Nothing4You

Copy link
Copy Markdown
Collaborator

What do these changes do?

  • Drop support for EoL MySQL 5.7, replaced by 8.4 and 9.4
  • Drop support for EoL MariaDB 10.4, 10.5, 10.9, 10.10, replaced by 11.4, 11.8, 12.0

Are there changes in behavior for the user?

Only tests have been changed for now.

Related issue number

N/A

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

@Nothing4You
Nothing4You force-pushed the bump-db-versions-in-tests branch 2 times, most recently from 2e495bd to f18615a Compare September 21, 2025 13:22
- Drop support for EoL MySQL 5.7, replaced by 8.4 and 9.4
- Drop support for EoL MariaDB 10.4, 10.5, 10.9, 10.10, replaced by 11.4, 11.8, 12.0
MariaDB 11.0.1 removed the 5.5.5 version hack that used to skip this test for MariaDB.

Port of PyMySQL/PyMySQL@b4ed688 from PyMySQL/PyMySQL#1165
@Nothing4You
Nothing4You force-pushed the bump-db-versions-in-tests branch from f18615a to 51cda51 Compare September 21, 2025 13:47
@codecov

codecov Bot commented Sep 21, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.74%. Comparing base (e3dee68) to head (51cda51).
⚠️ Report is 47 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1032      +/-   ##
==========================================
+ Coverage   93.67%   93.74%   +0.06%     
==========================================
  Files          36       36              
  Lines        5537     5532       -5     
  Branches      384      383       -1     
==========================================
- Hits         5187     5186       -1     
+ Misses        262      259       -3     
+ Partials       88       87       -1     
Flag Coverage Δ
CI-GHA 93.34% <85.71%> (+0.06%) ⬆️
DB-mariadb-10.10 ?
DB-mariadb-10.11 90.34% <28.57%> (+0.02%) ⬆️
DB-mariadb-10.4 ?
DB-mariadb-10.5 ?
DB-mariadb-10.6 90.34% <28.57%> (+0.02%) ⬆️
DB-mariadb-10.9 ?
DB-mariadb-11.4 90.49% <42.85%> (?)
DB-mariadb-11.8 90.49% <42.85%> (?)
DB-mariadb-12.0 90.49% <42.85%> (?)
DB-mysql-5.7 ?
DB-mysql-8.0 92.48% <85.71%> (+0.04%) ⬆️
DB-mysql-8.4 91.61% <85.71%> (?)
DB-mysql-9.4 91.61% <85.71%> (?)
OS-Linux 93.34% <85.71%> (+0.06%) ⬆️
Py-3.10.18 93.31% <85.71%> (+0.06%) ⬆️
Py-3.11.13 93.31% <85.71%> (+0.06%) ⬆️
Py-3.12.11 93.31% <85.71%> (+0.06%) ⬆️
Py-3.13.7 93.31% <85.71%> (+0.06%) ⬆️
Py-3.9.23 93.12% <85.71%> (+0.06%) ⬆️
VM-ubuntu-latest 93.34% <85.71%> (+0.06%) ⬆️
ubuntu-latest_3.10_mariadb-10.10 ?
ubuntu-latest_3.10_mariadb-10.11 90.31% <28.57%> (+0.02%) ⬆️
ubuntu-latest_3.10_mariadb-10.4 ?
ubuntu-latest_3.10_mariadb-10.5 ?
ubuntu-latest_3.10_mariadb-10.6 90.31% <28.57%> (+0.02%) ⬆️
ubuntu-latest_3.10_mariadb-10.9 ?
ubuntu-latest_3.10_mariadb-11.4 90.45% <42.85%> (?)
ubuntu-latest_3.10_mariadb-11.8 90.45% <42.85%> (?)
ubuntu-latest_3.10_mariadb-12.0 90.45% <42.85%> (?)
ubuntu-latest_3.10_mysql-5.7 ?
ubuntu-latest_3.10_mysql-8.0 92.44% <85.71%> (+0.04%) ⬆️
ubuntu-latest_3.10_mysql-8.4 91.57% <85.71%> (?)
ubuntu-latest_3.10_mysql-9.4 91.57% <85.71%> (?)
ubuntu-latest_3.11_mariadb-10.10 ?
ubuntu-latest_3.11_mariadb-10.11 90.31% <28.57%> (+0.02%) ⬆️
ubuntu-latest_3.11_mariadb-10.4 ?
ubuntu-latest_3.11_mariadb-10.5 ?
ubuntu-latest_3.11_mariadb-10.6 90.31% <28.57%> (+0.02%) ⬆️
ubuntu-latest_3.11_mariadb-10.9 ?
ubuntu-latest_3.11_mariadb-11.4 90.45% <42.85%> (?)
ubuntu-latest_3.11_mariadb-11.8 90.45% <42.85%> (?)
ubuntu-latest_3.11_mariadb-12.0 90.45% <42.85%> (?)
ubuntu-latest_3.11_mysql-5.7 ?
ubuntu-latest_3.11_mysql-8.0 92.44% <85.71%> (+0.04%) ⬆️
ubuntu-latest_3.11_mysql-8.4 91.57% <85.71%> (?)
ubuntu-latest_3.11_mysql-9.4 91.57% <85.71%> (?)
ubuntu-latest_3.12_mariadb-10.10 ?
ubuntu-latest_3.12_mariadb-10.11 90.31% <28.57%> (+0.02%) ⬆️
ubuntu-latest_3.12_mariadb-10.4 ?
ubuntu-latest_3.12_mariadb-10.5 ?
ubuntu-latest_3.12_mariadb-10.6 90.31% <28.57%> (+0.02%) ⬆️
ubuntu-latest_3.12_mariadb-10.9 ?
ubuntu-latest_3.12_mariadb-11.4 90.45% <42.85%> (?)
ubuntu-latest_3.12_mariadb-11.8 90.45% <42.85%> (?)
ubuntu-latest_3.12_mariadb-12.0 90.45% <42.85%> (?)
ubuntu-latest_3.12_mysql-5.7 ?
ubuntu-latest_3.12_mysql-8.0 92.44% <85.71%> (+0.04%) ⬆️
ubuntu-latest_3.12_mysql-8.4 91.57% <85.71%> (?)
ubuntu-latest_3.12_mysql-9.4 91.57% <85.71%> (?)
ubuntu-latest_3.13_mariadb-10.10 ?
ubuntu-latest_3.13_mariadb-10.11 90.31% <28.57%> (+0.02%) ⬆️
ubuntu-latest_3.13_mariadb-10.4 ?
ubuntu-latest_3.13_mariadb-10.5 ?
ubuntu-latest_3.13_mariadb-10.6 90.31% <28.57%> (+0.02%) ⬆️
ubuntu-latest_3.13_mariadb-10.9 ?
ubuntu-latest_3.13_mariadb-11.4 90.45% <42.85%> (?)
ubuntu-latest_3.13_mariadb-11.8 90.45% <42.85%> (?)
ubuntu-latest_3.13_mariadb-12.0 90.45% <42.85%> (?)
ubuntu-latest_3.13_mysql-5.7 ?
ubuntu-latest_3.13_mysql-8.0 92.44% <85.71%> (+0.04%) ⬆️
ubuntu-latest_3.13_mysql-8.4 91.57% <85.71%> (?)
ubuntu-latest_3.13_mysql-9.4 91.57% <85.71%> (?)
ubuntu-latest_3.9_mariadb-10.10 ?
ubuntu-latest_3.9_mariadb-10.11 90.13% <28.57%> (+0.02%) ⬆️
ubuntu-latest_3.9_mariadb-10.4 ?
ubuntu-latest_3.9_mariadb-10.5 ?
ubuntu-latest_3.9_mariadb-10.6 90.13% <28.57%> (+0.02%) ⬆️
ubuntu-latest_3.9_mariadb-10.9 ?
ubuntu-latest_3.9_mariadb-11.4 90.28% <42.85%> (?)
ubuntu-latest_3.9_mariadb-11.8 90.28% <42.85%> (?)
ubuntu-latest_3.9_mariadb-12.0 90.28% <42.85%> (?)
ubuntu-latest_3.9_mysql-5.7 ?
ubuntu-latest_3.9_mysql-8.0 92.25% <85.71%> (+0.04%) ⬆️
ubuntu-latest_3.9_mysql-8.4 91.38% <85.71%> (?)
ubuntu-latest_3.9_mysql-9.4 91.38% <85.71%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Nothing4You
Nothing4You merged commit 6aae548 into aio-libs:main Sep 21, 2025
55 checks passed
@Nothing4You
Nothing4You deleted the bump-db-versions-in-tests branch September 21, 2025 13:54
@Nothing4You Nothing4You added this to the 0.3 milestone Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant