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

Switch stack from mysqlpython to mysqlclient python package

    XMLWordPrintable

Details

    • Improvement
    • Status: Done
    • Resolution: Done
    • None
    • mysqlclient
    • None
    • 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

            The python_mysqlclient repository is created.

            bvan Brian Van Klaveren added a comment - The python_mysqlclient repository is created.
            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?

            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 ?

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

            bvan Brian Van Klaveren added a comment - fritzm and I are going to work on packaging mariadbclient and python_mysqlclient today, then it should be good to go.
            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?

            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?
            tjenness Tim Jenness added a comment -

            bvan it looks like obs_lsstSim also needs to have the table file updated.

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

            Merged SciSql and Qserv

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

            People

              bvan Brian Van Klaveren
              tjenness Tim Jenness
              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:

                Jenkins

                  No builds found.