MariaDB CREATE+READ connector
MariaDB RDBMS is enabled by Python's mariadb
package.
However, on Debian-based distros, this package requires APT package libmariadb-dev
to be installed ; if it is missing, or badly configured, or only available at a not-that-old version, pip install mariadb
installation fails.
So, if pyheimdall
would have a hard dependency on mariadb
, what many users would do would ressemble this :
-
pip install pyheimdall
mariadb
installation fails ; - understand
mariadb
red error message, then try ...apt-get install libmariadb-dev
- STFW for where to find a recent version of
libmariadb-dev
, find the answer, accept the risk to use its non-standard repo, then :curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash apt-get update apt-get upgrade apt-get install libmariadb-dev
-
Finally reinstall our package:
pip install pyheimdall
Honestly, this is such a PITA.
No non-tech user would endure such an "ordeal".
This means nobody sane would install pyheimdall
, and all this would be because of an optional feature, because not everyone is interested by MariaDB support.
Edited by Régis Witz