Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-7133

Switch stack from mysqlpython to mysqlclient python package

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: mysqlclient
    • Labels:
      None
    • Team:
      Data Access and Database

      Description

      MySQL-python does not work on Python 3. There is a forked package at https://pypi.python.org/pypi/mysqlclient which does work on python 3. We need to switch our code to use the forked version. This requires:

      1. Create a new EUPS package for mysqlclient (probably called python_mysqlclient to avoid name classes. Alternatively we just reuse mysqlpython eups package and update the tar file to the fork.
      2. Make any necessary code changes. Has the namespace changed?

        Attachments

          Issue Links

            Activity

            Hide
            bvan Brian Van Klaveren added a comment -

            The python_mysqlclient repository is created.

            Show
            bvan Brian Van Klaveren added a comment - The python_mysqlclient repository is created.
            Hide
            tjenness Tim Jenness added a comment -

            It's here https://github.com/lsst/python_mysqlclient – does this mean we can start switching dependencies to python_mysqlclient from mysqlpython?

            Show
            tjenness Tim Jenness added a comment - It's here https://github.com/lsst/python_mysqlclient – does this mean we can start switching dependencies to python_mysqlclient from mysqlpython ?
            Hide
            bvan Brian Van Klaveren added a comment -

            Fritz Mueller and I are going to work on packaging mariadbclient and python_mysqlclient today, then it should be good to go.

            Show
            bvan Brian Van Klaveren added a comment - Fritz Mueller and I are going to work on packaging mariadbclient and python_mysqlclient today, then it should be good to go.
            Hide
            tjenness Tim Jenness added a comment -

            Packaging is done it seems. Are all the packages above it fixed on branches? When do you think you can merge?

            Show
            tjenness Tim Jenness added a comment - Packaging is done it seems. Are all the packages above it fixed on branches? When do you think you can merge?
            Hide
            tjenness Tim Jenness added a comment -

            Brian Van Klaveren it looks like obs_lsstSim also needs to have the table file updated.

            Show
            tjenness Tim Jenness added a comment - Brian Van Klaveren it looks like obs_lsstSim also needs to have the table file updated.
            Hide
            bvan Brian Van Klaveren added a comment -

            Merged SciSql and Qserv

            Show
            bvan Brian Van Klaveren added a comment - Merged SciSql and Qserv

              People

              Assignee:
              bvan Brian Van Klaveren
              Reporter:
              tjenness Tim Jenness
              Watchers:
              Angelo Fausti, Brian Van Klaveren, Fritz Mueller, Joshua Hoblitt, Steve Pietrowicz, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  CI Builds

                  No builds found.