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

Move Packages from base to utils

    XMLWordPrintable

    Details

    • Story Points:
      2
    • Team:
      Architecture
    • Urgent?:
      No

      Description

      Following RFC-820:

      • Move Packages class to lsst.utils.packages
      • Retain stub in base that will forward to utils as a runtime dependency (base can't explicitly depend on utils).
      • Modify pipe_base, ctrl_mpexec and ctrl_bps to use the new location.

        Attachments

          Issue Links

            Activity

            Hide
            tjenness Tim Jenness added a comment -

            Kian-Tat Lim I migrated the entire history of packages.py over to utils. It should be clear which commits are my new commits. I made it so that old pickle and yaml files can be read by the new code so there shouldn't really be any reason to keep lsst.base.packages around except for the usual deprecation period.

            Changes to pipe_base, daf_butler, ctrl_mpexec, and ctrl_bps are trivial.

            In obs_base I did some minor cleanups of the packages formatter to also allow json format.

            Show
            tjenness Tim Jenness added a comment - Kian-Tat Lim I migrated the entire history of packages.py over to utils. It should be clear which commits are my new commits. I made it so that old pickle and yaml files can be read by the new code so there shouldn't really be any reason to keep lsst.base.packages around except for the usual deprecation period. Changes to pipe_base, daf_butler, ctrl_mpexec, and ctrl_bps are trivial. In obs_base I did some minor cleanups of the packages formatter to also allow json format.
            Hide
            ktl Kian-Tat Lim added a comment -

            A few minor comments, otherwise looks good.

            Show
            ktl Kian-Tat Lim added a comment - A few minor comments, otherwise looks good.

              People

              Assignee:
              tjenness Tim Jenness
              Reporter:
              tjenness Tim Jenness
              Reviewers:
              Kian-Tat Lim
              Watchers:
              Kian-Tat Lim, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.