Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 698054

Summary: dev-python/rdflib-4.2.2 - does it still support MySQL?
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=632578
Whiteboard:
Package list:
Runtime testing required: ---

Description Dennis Schridde 2019-10-19 20:49:03 UTC
While trying to find a solution for bug #632578, I tried to figure out where it's code supporting MySQL is to see if we can switch Python MySQL packages.

The last commit where rdflib/store/MySQL.py appears was its removal:
https://github.com/RDFLib/rdflib/commit/6b648548eba75d18209a304624ba6dd0f94855fe#diff-78a20baaffbdab9c0dcd8023f2149562

This commit was first released as version 3.0.0:
https://github.com/RDFLib/rdflib/blob/master/CHANGELOG.md#20100513-release-300

Apparently the MySQL code was moved to: https://code.google.com/archive/p/rdfextras/

With Google Code shutting down, it was apparently moved to GitHub: https://github.com/RDFLib/rdfextras

But with version 4 everything from that repository incl. SPARQL support was supposedly merged back into https://github.com/RDFLib/rdflib

So I looked what package dev-python/mysql-python actually provides:
# q list dev-python/mysql-python | grep __init__
[...]
/usr/lib64/python2.7/site-packages/MySQLdb/__init__.py
[...]

It appears that rdflib does not actually use that package:
https://github.com/RDFLib/rdflib/search?q=mysqldb

So my question: Does dev-python/rdflib-4.2.2 still support MySQL?