Move Packages from base to utils

Description

Following :

  • 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.

Checklist

Lucidchart Diagrams

Issue Matrix

hide

Activity

Kian-Tat Lim January 29, 2022 at 10:50 PM

A few minor comments, otherwise looks good.

Tim Jenness January 28, 2022 at 10:14 PM

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.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Reviewers

Kian-Tat Lim

Story Points

RubinTeam

Components

Checklist

Created January 26, 2022 at 5:35 PM
Updated July 25, 2024 at 10:55 PM
Resolved January 31, 2022 at 7:39 PM