Details
-
Type:
RFC
-
Status: Implemented
-
Resolution: Done
-
Component/s: DM
-
Labels:None
Description
In discussing implementation of RFC-449, it was noticed that obs_lsstSim and obs_sdss both import mysqlclient in python. The only reason for this is to support a class which can select images from a database based on a query. If we can remove the dependency on the python_mysqlclient package, the need for GnuTLS as a dependency on MacOS will go away, meaning we will not need to change the install process in any way as the DM stack dependence on mariadb will disappear.
I believe it is a reasonable request for several reasons:
1. This code is not used in any active pipelines, as far as I know.
2. That code path is not tested under CI since the test is disabled if there is no database connection which is the case for all VMs running inside Jenkins.
3. The mechanism for doing just this sort of data discovery is changing when the Gen3 data abstraction system lands (in the next few months).
It might be nice to keep this a little longer to ensure that Gen3 Butler produces the same results, but I would tend to agree that the countervailing support costs are excessive for the benefit derived.