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

base fails to build standalone

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: base
    • Labels:
      None
    • Story Points:
      0.5
    • Team:
      Architecture
    • Urgent?:
      No

      Description

      After YAML support was added to base Packages in DM-25325 we started to get failures in standalone builds of base the first time scons was typed. It seems that the YAML constructor assumes that Packages full name is base.packages.Packages rather than lsst.base.packages.Packages. This causes the isinstance test to fail. Running the tests a second time fixes the problem for reasons we aren't entirely sure about.

      The fundamental problem seems to be that we are using namespace packages in base and do not have a __init__.py. Adding one fixes the problem.

        Attachments

          Issue Links

            Activity

            Hide
            ktl Kian-Tat Lim added a comment -

            Seems a shame that we have to do this, but it's OK as a workaround for now.

            Show
            ktl Kian-Tat Lim added a comment - Seems a shame that we have to do this, but it's OK as a workaround for now.

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.