-p legacy is the only thing that uses mediawiki-utilities, and it exists solely to reproduce numbers from research predating the mwxml and mwtypes split. The package is a 2015 monolith that also contains mw.database and mw.api, so it declares requests and pymysql unconditionally: every wikiq install pulled a MySQL client and six other packages to support one flag, building them from an sdist that has no wheel. Move it to a `legacy` extra. mw.lib.persistence imports nothing from mw.database or mw.api, so nothing about -p legacy changes for people who install the extra, and everyone else stops paying for it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> (cherry picked from commit 66dcc6d8cea620a619fc19121b5c27a085b11991)
1.6 KiB
1.6 KiB