Opened 4 weeks ago
Closed 4 weeks ago
#63586 closed defect (bug) (fixed)
Test confirming appropriate MariaDB requirements is currently failing
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Database | Keywords: | has-patch has-unit-tests |
Focuses: | tests | Cc: |
Description
As of June 17, 2025, the test_readme_mariadb_version()
test method is failing.
It appears that MariaDB has redesigned their documentation. The previous URL now redirects to a new one. Confirmed the old design in the Way Back Machine.
This change aside, this test would have started failing anyway on 24 June 2025 when the 10.5 release reaches end-of-life.
Attachments (1)
Change History (8)
This ticket was mentioned in PR #9004 on WordPress/wordpress-develop by @peterwilsoncc.
4 weeks ago
#2
- Keywords has-patch has-unit-tests added
Updates the MariaDB test to pull the data from the WikiData API rather than attempting to parse the HTML on the MariaDB home page.
Pulls in the software version from the datasource at https://www.wikidata.org/wiki/Q787177
Trac ticket: https://core.trac.wordpress.org/ticket/63586
@johnbillion commented on PR #9004:
4 weeks ago
#3
Toni Viemerö pointed out in Slack that there's an official API: https://downloads.mariadb.org/rest-api/mariadb/.
This ticket was mentioned in PR #9009 on WordPress/wordpress-develop by @skithund.
4 weeks ago
#4
Use data from MariaDB API and re-enable test.
This patch assumes that when a release is missing from said API, it'll be EOL.
@skithund commented on PR #9004:
4 weeks ago
#5
#9009 for MariaDB API
@peterwilsoncc commented on PR #9004:
4 weeks ago
#6
Thanks a much better idea, thanks folks.
In 60313: